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