Open sandboxFocus

Enum DeclarationKind

Kinds of IDeclaration.

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum DeclarationKind

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.