Table of Contents

Enum AnnotationTargets

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

What an annotation annotates: where in a module it may be written (Targets).

[Flags]
[JsonConverter(typeof(JsonStringEnumConverter<AnnotationTargets>))]
public enum AnnotationTargets

Fields

Line = 8

The line below it, whatever that line is ('@Ignore).

Member = 2

A member: written on the lines directly above a procedure's declaration ('@Description).

Module = 1

The module: written in its declarations section, or above a block's header ('@ModuleDescription, '@IgnoreModule).

None = 0

Nothing: an annotation of no target is legal nowhere.

Variable = 4

A variable or a constant of the module: written on the lines directly above its declaration.