Interface ITypeCodedIndexProvider
- Namespace
- AsmResolver.DotNet.Signatures
- Assembly
- AsmResolver.DotNet.dll
Provides members for obtaining coded indices into a metadata tables stream.
public interface ITypeCodedIndexProvider
Methods
GetTypeDefOrRefIndex(ITypeDefOrRef, object?)
Obtains a coded index to the provided type reference.
uint GetTypeDefOrRefIndex(ITypeDefOrRef type, object? diagnosticSource = null)
Parameters
type
ITypeDefOrRefThe type.
diagnosticSource
objectWhen available, the object that is reported in diagnostics when index encoding of the type fails.
Returns
- uint
The coded index.