<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-preview.2.26159.112" />

System.Reflection.Metadata.Ecma335.MetadataTokens

public static class MetadataTokens
public static readonly int HeapCount

Maximum number of tables that can be present in Ecma335 metadata.

public static readonly int TableCount

Maximum number of tables that can be present in Ecma335 metadata.

public static AssemblyFileHandle AssemblyFileHandle(int rowNumber)

public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber)

public static BlobHandle BlobHandle(int offset)

public static ConstantHandle ConstantHandle(int rowNumber)

public static CustomAttributeHandle CustomAttributeHandle(int rowNumber)

public static DocumentHandle DocumentHandle(int rowNumber)

public static EntityHandle EntityHandle(int token)

Creates an entity handle from a token value.

public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber)

Creates an EntityHandle from a token value.

public static EventDefinitionHandle EventDefinitionHandle(int rowNumber)

public static ExportedTypeHandle ExportedTypeHandle(int rowNumber)

public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber)

public static GenericParameterHandle GenericParameterHandle(int rowNumber)

public static int GetHeapOffset(this MetadataReader reader, Handle handle)

Gets the offset of metadata heap data that corresponds to the specified handle in the context of reader.

public static int GetHeapOffset(Handle handle)

Gets the offset of metadata heap data that corresponds to the specified handle.

public static int GetHeapOffset(BlobHandle handle)

Gets the offset of metadata heap data that corresponds to the specified handle.

public static int GetHeapOffset(GuidHandle handle)

Gets the offset of metadata heap data that corresponds to the specified handle.

public static int GetHeapOffset(UserStringHandle handle)

Gets the offset of metadata heap data that corresponds to the specified handle.

public static int GetHeapOffset(StringHandle handle)

Gets the offset of metadata heap data that corresponds to the specified handle.

public static int GetRowNumber(this MetadataReader reader, EntityHandle handle)

Gets the row number of a metadata table entry that corresponds to the specified handle in the context of reader.

public static int GetRowNumber(EntityHandle handle)

Gets the row number of a metadata table entry that corresponds to the specified handle.

public static int GetToken(this MetadataReader reader, EntityHandle handle)

Gets the metadata token of the specified handle in the context of reader.

public static int GetToken(this MetadataReader reader, Handle handle)

Gets the metadata token of the specified handle in the context of reader.

public static int GetToken(Handle handle)

Gets the metadata token of the specified handle.

public static int GetToken(EntityHandle handle)

Gets the metadata token of the specified handle.

public static GuidHandle GuidHandle(int offset)

public static Handle Handle(int token)

Creates a handle from a token value.

public static EntityHandle Handle(TableIndex tableIndex, int rowNumber)

Creates an EntityHandle from a token value.

public static ImportScopeHandle ImportScopeHandle(int rowNumber)

public static LocalConstantHandle LocalConstantHandle(int rowNumber)

public static LocalScopeHandle LocalScopeHandle(int rowNumber)

public static LocalVariableHandle LocalVariableHandle(int rowNumber)

public static ManifestResourceHandle ManifestResourceHandle(int rowNumber)

public static MemberReferenceHandle MemberReferenceHandle(int rowNumber)

public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber)

public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber)

public static ParameterHandle ParameterHandle(int rowNumber)

public static StringHandle StringHandle(int offset)

public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index)

Gets the HeapIndex of the heap corresponding to the specified HandleKind.

public static bool TryGetTableIndex(HandleKind type, out TableIndex index)

Gets the TableIndex of the table corresponding to the specified HandleKind.

public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber)

public static TypeReferenceHandle TypeReferenceHandle(int rowNumber)

public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber)

public static UserStringHandle UserStringHandle(int offset)