3 instantiations of MethodImplementationHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
369return new MethodImplementationHandle(rowId); 389return new MethodImplementationHandle(handle.RowId); 399return new MethodImplementationHandle(handle.RowId);
39 references to MethodImplementationHandle
ILCompiler.ReadyToRun (2)
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
385foreach (var methodImplHandle in typeDef.GetMethodImplementations())
Compiler\ReadyToRunVisibilityRootProvider.cs (1)
128foreach (var methodImplHandle in definition.GetMethodImplementations())
ILCompiler.TypeSystem (2)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaType.MethodImpls.cs (2)
24foreach (var methodImplHandle in _typeDefinition.GetMethodImplementations()) 68foreach (var methodImplHandle in _typeDefinition.GetMethodImplementations())
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)
3415MethodImplementationHandle 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)
1250public 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)
355public readonly struct MethodImplementationHandle : IEquatable<MethodImplementationHandle> 367internal static MethodImplementationHandle FromRowId(int rowId) 372public static implicit operator Handle(MethodImplementationHandle handle) 377public static implicit operator EntityHandle(MethodImplementationHandle handle) 382public static explicit operator MethodImplementationHandle(Handle handle) 392public static explicit operator MethodImplementationHandle(EntityHandle handle) 412public static bool operator ==(MethodImplementationHandle left, MethodImplementationHandle right) 419return obj is MethodImplementationHandle && ((MethodImplementationHandle)obj)._rowId == _rowId; 422public bool Equals(MethodImplementationHandle other) 432public static bool operator !=(MethodImplementationHandle left, MethodImplementationHandle right)
System\Reflection\Metadata\TypeSystem\MethodImplementation.cs (3)
13internal MethodImplementation(MetadataReader reader, MethodImplementationHandle handle) 19private MethodImplementationHandle Handle 21get { 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);