MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeDeclaration­Kind
Open sandboxFocus

DeclarationKind Class

Kinds of IDeclaration.

Inheritance
System.Object
DeclarationKind
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class DeclarationKind : Enum

Fields

Name Description
AssemblyReference

A reference assembly, implementing IAssembly. Note that the current assembly is represented by ICompilation that inherits IAssembly, but the DeclarationKind for the current compilation is Compilation and not AssemblyReference.

Attribute

IAttribute.

Compilation

ICompilation.

Constructor

IConstructor.

Event

IEvent.

Field

IField.

Finalizer

IMethod that is a finalizer (historically referred to as destructors).

Indexer

IIndexer.

ManagedResource

IManagedResource.

Method

IMethod.

NamedType

INamedType.

Namespace

INamespace.

None

Not a valid declaration represented by IDeclaration.

Operator

IMethod that is an operator.

Parameter

IParameter.

Property

IProperty.

TypeParameter

ITypeParameter.

value__