<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview2-25401-01" />

System.Reflection.Metadata.Ecma335.MetadataTokens

public static class MetadataTokens
namespace System.Reflection.Metadata.Ecma335 { public static class MetadataTokens { public static readonly int TableCount; public static readonly int HeapCount; public static int GetRowNumber(this MetadataReader reader, EntityHandle handle); public static int GetHeapOffset(this MetadataReader reader, Handle handle); public static int GetToken(this MetadataReader reader, EntityHandle handle); public static int GetToken(this MetadataReader reader, Handle handle); public static int GetRowNumber(EntityHandle handle); public static int GetHeapOffset(Handle handle); public static int GetToken(Handle handle); public static int GetToken(EntityHandle handle); public static bool TryGetTableIndex(HandleKind type, out TableIndex index); public static bool TryGetHeapIndex(HandleKind type, out HeapIndex index); public static Handle Handle(int token); public static EntityHandle EntityHandle(int token); public static EntityHandle EntityHandle(TableIndex tableIndex, int rowNumber); public static EntityHandle Handle(TableIndex tableIndex, int rowNumber); public static MethodDefinitionHandle MethodDefinitionHandle(int rowNumber); public static MethodImplementationHandle MethodImplementationHandle(int rowNumber); public static MethodSpecificationHandle MethodSpecificationHandle(int rowNumber); public static TypeDefinitionHandle TypeDefinitionHandle(int rowNumber); public static ExportedTypeHandle ExportedTypeHandle(int rowNumber); public static TypeReferenceHandle TypeReferenceHandle(int rowNumber); public static TypeSpecificationHandle TypeSpecificationHandle(int rowNumber); public static InterfaceImplementationHandle InterfaceImplementationHandle(int rowNumber); public static MemberReferenceHandle MemberReferenceHandle(int rowNumber); public static FieldDefinitionHandle FieldDefinitionHandle(int rowNumber); public static EventDefinitionHandle EventDefinitionHandle(int rowNumber); public static PropertyDefinitionHandle PropertyDefinitionHandle(int rowNumber); public static StandaloneSignatureHandle StandaloneSignatureHandle(int rowNumber); public static ParameterHandle ParameterHandle(int rowNumber); public static GenericParameterHandle GenericParameterHandle(int rowNumber); public static GenericParameterConstraintHandle GenericParameterConstraintHandle(int rowNumber); public static ModuleReferenceHandle ModuleReferenceHandle(int rowNumber); public static AssemblyReferenceHandle AssemblyReferenceHandle(int rowNumber); public static CustomAttributeHandle CustomAttributeHandle(int rowNumber); public static DeclarativeSecurityAttributeHandle DeclarativeSecurityAttributeHandle(int rowNumber); public static ConstantHandle ConstantHandle(int rowNumber); public static ManifestResourceHandle ManifestResourceHandle(int rowNumber); public static AssemblyFileHandle AssemblyFileHandle(int rowNumber); public static DocumentHandle DocumentHandle(int rowNumber); public static MethodDebugInformationHandle MethodDebugInformationHandle(int rowNumber); public static LocalScopeHandle LocalScopeHandle(int rowNumber); public static LocalVariableHandle LocalVariableHandle(int rowNumber); public static LocalConstantHandle LocalConstantHandle(int rowNumber); public static ImportScopeHandle ImportScopeHandle(int rowNumber); public static CustomDebugInformationHandle CustomDebugInformationHandle(int rowNumber); public static UserStringHandle UserStringHandle(int offset); public static StringHandle StringHandle(int offset); public static BlobHandle BlobHandle(int offset); public static GuidHandle GuidHandle(int offset); public static DocumentNameBlobHandle DocumentNameBlobHandle(int offset); } }