3 instantiations of MethodImplementationHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
368return new MethodImplementationHandle(rowId); 388return new MethodImplementationHandle(handle.RowId); 398return new MethodImplementationHandle(handle.RowId);
35 references to MethodImplementationHandle
Microsoft.CodeAnalysis (3)
MetadataReader\MetadataDecoder.cs (1)
1905foreach (var methodImpl in Module.GetMethodImplementationsOrThrow(implementingTypeDef))
MetadataReader\ModuleExtensions.cs (1)
121foreach (var methodImpl in module.GetMethodImplementationsOrThrow(typeDef))
MetadataReader\PEModule.cs (1)
3399MethodImplementationHandle methodImpl,
System.Reflection.Metadata (31)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (2)
1046public MethodImplementationHandle AddMethodImplementation( 1058return MethodImplementationHandle.FromRowId(_methodImplTable.Count);
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
350public static MethodImplementationHandle MethodImplementationHandle(int rowNumber) 352return Metadata.MethodImplementationHandle.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Internal\Tables.cs (3)
1604internal TypeDefinitionHandle GetClass(MethodImplementationHandle handle) 1610internal EntityHandle GetMethodBody(MethodImplementationHandle handle) 1616internal EntityHandle GetMethodDeclaration(MethodImplementationHandle handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1251public MethodImplementation GetMethodImplementation(MethodImplementationHandle handle)
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
447foreach (var methodImplHandle in new MethodImplementationHandleCollection(this, parentTypeDef))
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (6)
935public readonly struct MethodImplementationHandleCollection : IReadOnlyCollection<MethodImplementationHandle> 968IEnumerator<MethodImplementationHandle> IEnumerable<MethodImplementationHandle>.GetEnumerator() 978public struct Enumerator : IEnumerator<MethodImplementationHandle>, IEnumerator 995public MethodImplementationHandle Current 999return MethodImplementationHandle.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
354public readonly struct MethodImplementationHandle : IEquatable<MethodImplementationHandle> 366internal static MethodImplementationHandle FromRowId(int rowId) 371public static implicit operator Handle(MethodImplementationHandle handle) 376public static implicit operator EntityHandle(MethodImplementationHandle handle) 381public static explicit operator MethodImplementationHandle(Handle handle) 391public static explicit operator MethodImplementationHandle(EntityHandle handle) 411public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) 418return obj is MethodImplementationHandle && ((MethodImplementationHandle)obj)._rowId == _rowId; 421public bool Equals(MethodImplementationHandle other) 431public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right)
System\Reflection\Metadata\TypeSystem\MethodImplementation.cs (3)
15internal MethodImplementation(MetadataReader reader, MethodImplementationHandle handle) 24private MethodImplementationHandle Handle 26get { return MethodImplementationHandle.FromRowId(_rowId); }
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
44public static MethodImplementation GetMethodImplementation(this MethodImplementationHandle handle, MetadataReader reader) => reader.GetMethodImplementation(handle);