PostSharp SDK6.7//Post­Sharp.​Sdk.​Code­Model Namespace/Token­Type Enumeration

TokenType Enumeration

Specifies the type of metadata token.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public enum TokenType
Members
  Member nameValueDescription
Module0 Module definition (ModuleDeclaration).
TypeRef16777216 Type reference (TypeRefDeclaration).
TypeDef33554432 Type definition (TypeDefDeclaration).
FieldDef67108864 Field definition (FieldDefDeclaration).
MethodDef100663296 Method definition (MethodDefDeclaration).
ParamDef134217728 Parameter definition (ParameterDeclaration).
InterfaceImpl150994944 Interface implementation (InterfaceImplementations).
MemberRef167772160 References to fields or methods (FieldRefDeclaration, MethodRefDeclaration).
CustomAttribute201326592 Custom attribute (CustomAttributeDeclaration).
Permission234881024 Permission set (PermissionSetDeclaration).
Signature285212672 Stand-alone signature (StandaloneSignatureDeclaration).
Event335544320 Event definition (EventDeclaration).
Property385875968 Property definition (PropertyDeclaration).
MethodSemantic402653184 Method semantic (MethodSemanticDeclaration).
MethodImpl419430400 Method implementation (MethodImplementationDeclaration).
ModuleRef436207616 Module reference (ModuleRefDeclaration).
TypeSpec452984832 Type specification (TypeSpecDeclaration).
Assembly536870912 Assembly manifest (AssemblyManifestDeclaration).
AssemblyRef587202560 Assembly reference (AssemblyRefDeclaration).
File637534208 External file reference (ManifestFileDeclaration).
ExportedType654311424
ManifestResource671088640 Resource declaration or reference (ManifestResourceDeclaration).
GenericParam704643072 Generic parameter (GenericParameterDeclaration).
MethodSpec721420288 Method specification (MethodSpecDeclaration).
GenericParamConstraint738197504 Constraint on a generic parameter (GenericParameterDeclaration.Constraints.
String1879048192 User string (LiteralString).
WeaklyReferencedDeclaration771751936 Non-linked declaration (see AddWeaklyReferencedDeclaration(MetadataDeclaration).
Document805306368
MethodDebugInformation822083584
LocalScope838860800
LocalVariable855638016
LocalConstant872415232
ImportScope889192448
StateMachineMethod905969664
CustomDebugInformation922746880
_ExtendedTableCount939524096 Number of token types that are represented as a table in MetadataDeclarationTables.
None149946368 None.
See Also