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 | |
Compilation | |
Constructor | |
Event | |
Field | |
Finalizer | IMethod that is a finalizer (historically referred to as destructors). |
Indexer | |
ManagedResource | |
Method | |
NamedType | |
Namespace | |
None | Not a valid declaration represented by IDeclaration. |
Operator | IMethod that is an operator. |
Parameter | |
Property | |
Type | IType, but neither an INamedType nor an ITypeParameter. Note that IType is not an IDeclaration. |
TypeParameter |