Table of Contents

Enum AnnotationArgumentKind

Namespace
RDCore.SDK.Extensibility.Annotations
Assembly
RDCore.SDK.dll

What an annotation's parameter takes (Takes), which says how its argument is read and what completion offers for it.

[JsonConverter(typeof(JsonStringEnumConverter<AnnotationArgumentKind>))]
public enum AnnotationArgumentKind

Fields

DiagnosticCode = 3

The code of a diagnostic, written without quotes: '@Ignore RDC01001.

ErrorNumber = 5

A run-time error: the diagnostic code of a run-time error, written without quotes, whose digits are the error's number ('@ExpectedError VBR00013 is error 13), or a number or a constant expression (MS-VBAL §5.6.16.1) for an error the project raises itself ('@ExpectedError 13, '@ExpectedError vbObjectError + 513).

Identifier = 2

A name, written without quotes.

Literal = 4

Any literal (MS-VBAL §3.3).

Number = 1

A numeric literal.

Text = 0

A string literal: '@Description("Adds two numbers.").