3 instantiations of MethodHandle
System.Private.CoreLib (3)
Internal\Runtime\Dispatch.cs (1)
90new MethodHandle((int)token),
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\MdBinaryReaderGen.cs (1)
622handle = new MethodHandle((int)value);
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (1)
7415return new MethodHandle(this);
58 references to MethodHandle
System.Private.CoreLib (37)
Internal\Reflection\Core\Execution\ExecutionDomain.cs (1)
39MethodHandle nativeFormatMethodHandle = methodHandle.NativeFormatHandle;
Internal\Runtime\Augments\TypeLoaderCallbacks.cs (2)
23public abstract RuntimeMethodHandle GetRuntimeMethodHandleForComponents(RuntimeTypeHandle declaringTypeHandle, MethodHandle handle, RuntimeTypeHandle[] genericMethodArgs); 25public abstract unsafe IntPtr ResolveGenericVirtualMethodTarget(RuntimeTypeHandle targetTypeHandle, RuntimeTypeHandle declaringTypeHandle, MethodHandle methodHandle, bool isAsyncVariant, void* methodInstantiation, bool isMethodInstantiationDataRelative);
Internal\Runtime\CompilerServices\MethodNameAndSignature.cs (2)
15public MethodHandle Handle { get; } 17public MethodNameAndSignature(MetadataReader reader, MethodHandle handle)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\MdBinaryReaderGen.cs (1)
618public static uint Read(this NativeReader reader, uint offset, out MethodHandle handle)
src\runtime\src\coreclr\tools\Common\Internal\Metadata\NativeFormat\NativeFormatReaderGen.cs (16)
3251private readonly MethodHandle _handle; 3253internal Method(MetadataReader reader, MethodHandle handle) 3268public MethodHandle Handle => _handle; 3313if (obj is MethodHandle) 3314return _value == ((MethodHandle)obj)._value; 3321public bool Equals(MethodHandle handle) => _value == handle._value; 3327public static implicit operator Handle(MethodHandle handle) 3458public MethodHandle Method => _method; 3459private readonly MethodHandle _method; 4537public MethodHandle Method => _method; 4538private readonly MethodHandle _method; 6077private MethodHandle _current; 6083_current = default(MethodHandle); 6086public MethodHandle Current 7413public MethodHandle ToMethodHandle(MetadataReader reader) 7803public Method GetMethod(MethodHandle handle)
src\runtime\src\coreclr\tools\Common\Internal\Runtime\DispatchCell.cs (2)
69private MethodHandle _handle; 87public MethodHandle Handle
System\Reflection\Runtime\Assemblies\NativeFormat\NativeFormatRuntimeAssembly.cs (1)
80MethodHandle methodHandle = entrypointMethod.Method;
System\Reflection\Runtime\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (1)
62MethodHandle methodHandle = qualifiedMethod.Method;
System\Reflection\Runtime\General\MetadataReaderExtensions.NativeFormat.cs (2)
39public static int AsInt(this MethodHandle methodHandle) 126public static bool IsConstructor(this MethodHandle methodHandle, MetadataReader reader)
System\Reflection\Runtime\General\QHandles.NativeFormat.cs (2)
19public QMethodDefinition(MetadataReader reader, MethodHandle handle) 26public MethodHandle NativeFormatHandle { get { Debug.Assert(IsNativeFormatMetadataBased); return _handle.AsHandle().ToMethodHandle(NativeFormatReader); } }
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (3)
113public NativeFormatMethodCommon(MethodHandle methodHandle, NativeFormatRuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo) 226public MethodHandle MethodHandle 279private readonly MethodHandle _methodHandle;
System\Reflection\Runtime\PropertyInfos\NativeFormat\NativeFormatRuntimePropertyInfo.cs (1)
165MethodHandle methodHandle = methodSemantics.Method;
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeTypeInfo.CoreGetDeclared.cs (2)
29foreach (MethodHandle methodHandle in DeclaredMethodAndConstructorHandles) 44foreach (MethodHandle methodHandle in DeclaredMethodAndConstructorHandles)
System\RuntimeMethodHandle.cs (1)
139public MethodHandle Handle;
System.Private.Reflection.Execution (5)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (1)
687MethodHandle nativeFormatMethodHandle =
Internal\Reflection\Execution\MetadataReaderExtensions.cs (2)
18public static MethodHandle AsMethodHandle(this int i) 23return *(MethodHandle*)&i;
Internal\Reflection\Execution\ReflectionExecution.cs (2)
54public static bool TryGetMethodMetadataFromStartAddress(IntPtr methodStartAddress, out MetadataReader reader, out TypeDefinitionHandle typeHandle, out MethodHandle methodHandle) 58methodHandle = default(MethodHandle);
System.Private.StackTraceMetadata (5)
Internal\StackTraceMetadata\MethodNameFormatter.cs (3)
86public static (string, string, string, string) FormatMethodName(MetadataReader metadataReader, TypeDefinitionHandle enclosingTypeHandle, MethodHandle methodHandle) 123private void EmitMethodParameters(MethodHandle methodHandle) 521public static SigTypeContext FromMethod(MetadataReader metadataReader, TypeDefinitionHandle enclosingTypeHandle, MethodHandle methodHandle)
Internal\StackTraceMetadata\StackTraceMetadata.cs (2)
88out MethodHandle methodHandle)) 215out MethodHandle methodHandle))
System.Private.TypeLoader (11)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.cs (2)
52public override RuntimeMethodHandle GetRuntimeMethodHandleForComponents(RuntimeTypeHandle declaringTypeHandle, MethodHandle handle, RuntimeTypeHandle[] genericMethodArgs) 62public override unsafe IntPtr ResolveGenericVirtualMethodTarget(RuntimeTypeHandle targetTypeHandle, RuntimeTypeHandle declaringTypeHandle, MethodHandle methodHandle, bool isAsyncVariant, void* methodInstantiation, bool isMethodInstantiationDataRelative)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.GVMResolution.cs (1)
123internal unsafe IntPtr ResolveGenericVirtualMethodTarget(RuntimeTypeHandle targetTypeHandle, RuntimeTypeHandle declaringTypeHandle, MethodHandle methodHandle, bool isAsyncVariant, void* methodInstantiation, bool isMethodInstantiationDataRelative)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.LdTokenResultLookup.cs (5)
56private MethodHandle _handle; 59public RuntimeMethodHandleKey(RuntimeTypeHandle declaringType, MethodHandle handle, RuntimeTypeHandle[] genericArgs) 159public unsafe RuntimeMethodHandle GetRuntimeMethodHandleForComponents(RuntimeTypeHandle declaringTypeHandle, MethodHandle handle, RuntimeTypeHandle[] genericMethodArgs) 194if (TryGetRuntimeMethodHandleComponents(runtimeMethodHandle, out declaringTypeHandle, out MethodHandle methodHandle, out genericMethodArgs)) 204public unsafe bool TryGetRuntimeMethodHandleComponents(RuntimeMethodHandle runtimeMethodHandle, out RuntimeTypeHandle declaringTypeHandle, out MethodHandle handle, out RuntimeTypeHandle[] genericMethodArgs)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (3)
639MethodHandle methodHandle, 761private readonly MethodHandle _methodHandle; 777MethodHandle methodHandle,