TokenType Enumeration |
Specifies the type of metadata token.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public enum TokenType
Member name | Value | Description | |
---|---|---|---|
Module | 0 | Module definition (ModuleDeclaration). | |
TypeRef | 16777216 | Type reference (TypeRefDeclaration). | |
TypeDef | 33554432 | Type definition (TypeDefDeclaration). | |
FieldDef | 67108864 | Field definition (FieldDefDeclaration). | |
MethodDef | 100663296 | Method definition (MethodDefDeclaration). | |
ParamDef | 134217728 | Parameter definition (ParameterDeclaration). | |
InterfaceImpl | 150994944 | Interface implementation (InterfaceImplementations). | |
MemberRef | 167772160 | References to fields or methods (FieldRefDeclaration, MethodRefDeclaration). | |
CustomAttribute | 201326592 | Custom attribute (CustomAttributeDeclaration). | |
Permission | 234881024 | Permission set (PermissionSetDeclaration). | |
Signature | 285212672 | Stand-alone signature (StandaloneSignatureDeclaration). | |
Event | 335544320 | Event definition (EventDeclaration). | |
Property | 385875968 | Property definition (PropertyDeclaration). | |
MethodSemantic | 402653184 | Method semantic (MethodSemanticDeclaration). | |
MethodImpl | 419430400 | Method implementation (MethodImplementationDeclaration). | |
ModuleRef | 436207616 | Module reference (ModuleRefDeclaration). | |
TypeSpec | 452984832 | Type specification (TypeSpecDeclaration). | |
Assembly | 536870912 | Assembly manifest (AssemblyManifestDeclaration). | |
AssemblyRef | 587202560 | Assembly reference (AssemblyRefDeclaration). | |
File | 637534208 | External file reference (ManifestFileDeclaration). | |
ExportedType | 654311424 | ||
ManifestResource | 671088640 | Resource declaration or reference (ManifestResourceDeclaration). | |
GenericParam | 704643072 | Generic parameter (GenericParameterDeclaration). | |
MethodSpec | 721420288 | Method specification (MethodSpecDeclaration). | |
GenericParamConstraint | 738197504 | Constraint on a generic parameter (GenericParameterDeclaration.Constraints. | |
String | 1879048192 | User string (LiteralString). | |
WeaklyReferencedDeclaration | 771751936 | Non-linked declaration (see AddWeaklyReferencedDeclaration(MetadataDeclaration). | |
Document | 805306368 | ||
MethodDebugInformation | 822083584 | ||
LocalScope | 838860800 | ||
LocalVariable | 855638016 | ||
LocalConstant | 872415232 | ||
ImportScope | 889192448 | ||
StateMachineMethod | 905969664 | ||
CustomDebugInformation | 922746880 | ||
_ExtendedTableCount | 939524096 | Number of token types that are represented as a table in MetadataDeclarationTables. | |
None | 149946368 | None. |