8 instantiations of RuntimeMethodHandleInternal
System.Private.CoreLib (8)
src\System\Delegate.CoreCLR.cs (1)
82
RuntimeMethodHandleInternal method = new
RuntimeMethodHandleInternal
(GetInvokeMethod());
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
69
RuntimeMethodHandleInternal IRuntimeMethodInfo.Value => new
RuntimeMethodHandleInternal
(m_handle);
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (3)
72
RuntimeMethodHandleInternal IRuntimeMethodInfo.Value => new
RuntimeMethodHandleInternal
(m_handle);
322
public override bool IsCollectible => RuntimeMethodHandle.GetIsCollectible(new
RuntimeMethodHandleInternal
(m_handle)) != Interop.BOOL.FALSE;
435
RuntimeMethodHandle.GetStubIfNeeded(new
RuntimeMethodHandleInternal
(m_handle), m_declaringType, methodInstantionRuntimeType)) as MethodInfo;
src\System\RuntimeHandles.cs (3)
455
return new
RuntimeMethodHandleInternal
(GetMethodAt(typeHandle.AsMethodTable(), slot));
910
m_value = new
RuntimeMethodHandleInternal
(methodHandleValue);
995
var handle = new
RuntimeMethodHandleInternal
(value);
93 references to RuntimeMethodHandleInternal
System.Private.CoreLib (93)
src\System\Delegate.CoreCLR.cs (2)
82
RuntimeMethodHandleInternal
method = new RuntimeMethodHandleInternal(GetInvokeMethod());
433
private static partial bool BindToMethodInfo(ObjectHandleOnStack d, ObjectHandleOnStack target,
RuntimeMethodHandleInternal
method, QCallTypeHandle methodType, DelegateBindingFlags flags);
src\System\Diagnostics\StackFrame.CoreCLR.cs (2)
60
private static partial
RuntimeMethodHandleInternal
GetMethodDescFromNativeIP(IntPtr ip);
71
RuntimeMethodHandleInternal
method = GetMethodDescFromNativeIP(ip);
src\System\Reflection\Associates.cs (1)
66
RuntimeMethodHandleInternal
associateMethodHandle = ModuleHandle.ResolveMethodHandleInternal(RuntimeTypeHandle.GetModule(declaredType), tkMethod, genericArgumentHandles, default);
src\System\Reflection\Emit\DynamicILGenerator.cs (2)
637
internal
RuntimeMethodHandleInternal
m_methodHandle;
1008
RuntimeMethodHandleInternal
rmhi = methodReal.Value;
src\System\Reflection\Emit\DynamicMethod.CoreCLR.cs (1)
54
CompileMethod(methodHandle != null ? methodHandle.Value :
RuntimeMethodHandleInternal
.EmptyHandle);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
125
private static partial int GetMemberRefOfMethodInfo(QCallModule module, int tr,
RuntimeMethodHandleInternal
method);
src\System\Reflection\MethodBase.CoreCLR.cs (2)
40
private static partial
RuntimeMethodHandleInternal
GetCurrentMethod(StackCrawlMarkHandle stackMark);
47
RuntimeMethodHandleInternal
methodHandle = GetCurrentMethod(new StackCrawlMarkHandle(ref stackMark));
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (2)
57
RuntimeMethodHandleInternal
handle, RuntimeType declaringType, RuntimeTypeCache reflectedTypeCache,
69
RuntimeMethodHandleInternal
IRuntimeMethodInfo.Value => new RuntimeMethodHandleInternal(m_handle);
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (3)
56
RuntimeMethodHandleInternal
handle, RuntimeType declaringType,
72
RuntimeMethodHandleInternal
IRuntimeMethodInfo.Value => new RuntimeMethodHandleInternal(m_handle);
332
RuntimeMethodHandleInternal
baseMethodHandle = default;
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
197
internal static partial void CompileMethod(
RuntimeMethodHandleInternal
method);
200
private static unsafe partial void PrepareMethod(
RuntimeMethodHandleInternal
method, IntPtr* pInstantiation, int cInstantiation);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
227
private static partial void InternalPrelink(
RuntimeMethodHandleInternal
m);
src\System\RuntimeHandles.cs (61)
442
internal static
RuntimeMethodHandleInternal
GetMethodAt(RuntimeType type, int slot)
476
private
RuntimeMethodHandleInternal
_handle;
497
public
RuntimeMethodHandleInternal
Current => _handle;
512
private static extern
RuntimeMethodHandleInternal
GetFirstIntroducedMethod(RuntimeType type);
515
private static extern void GetNextIntroducedMethod(ref
RuntimeMethodHandleInternal
method);
611
private static partial
RuntimeMethodHandleInternal
GetInterfaceMethodImplementation(QCallTypeHandle handle, QCallTypeHandle interfaceHandle,
RuntimeMethodHandleInternal
interfaceMethodHandle);
613
internal
RuntimeMethodHandleInternal
GetInterfaceMethodImplementation(RuntimeTypeHandle interfaceHandle,
RuntimeMethodHandleInternal
interfaceMethodHandle)
837
private static partial Interop.BOOL SatisfiesConstraints(QCallTypeHandle paramType, QCallTypeHandle pTypeContext,
RuntimeMethodHandleInternal
pMethodContext, QCallTypeHandle toType);
841
RuntimeMethodHandleInternal
methodContextRaw = ((IRuntimeMethodInfo?)methodContext)?.Value ??
RuntimeMethodHandleInternal
.EmptyHandle;
882
internal static
RuntimeMethodHandleInternal
EmptyHandle => default;
901
public RuntimeMethodInfoStub(
RuntimeMethodHandleInternal
methodHandleValue, object keepalive)
927
public
RuntimeMethodHandleInternal
m_value;
929
RuntimeMethodHandleInternal
IRuntimeMethodInfo.Value => m_value;
934
RuntimeMethodHandleInternal
Value
995
var
handle = new RuntimeMethodHandleInternal(value);
1022
internal static partial IntPtr GetFunctionPointer(
RuntimeMethodHandleInternal
handle);
1032
internal static partial Interop.BOOL GetIsCollectible(
RuntimeMethodHandleInternal
handle);
1037
RuntimeMethodHandleInternal
attrCtor,
1042
internal static extern MethodAttributes GetAttributes(
RuntimeMethodHandleInternal
method);
1055
private static partial void ConstructInstantiation(
RuntimeMethodHandleInternal
method, TypeNameFormatFlags format, StringHandleOnStack retString);
1067
private static extern unsafe MethodTable* GetMethodTable(
RuntimeMethodHandleInternal
method);
1069
internal static unsafe RuntimeType GetDeclaringType(
RuntimeMethodHandleInternal
method)
1084
internal static extern int GetSlot(
RuntimeMethodHandleInternal
method);
1096
private static extern int GetMethodDef(
RuntimeMethodHandleInternal
method);
1107
internal static string GetName(
RuntimeMethodHandleInternal
method)
1118
private static extern void* GetUtf8NameInternal(
RuntimeMethodHandleInternal
method);
1123
internal static MdUtf8String GetUtf8Name(
RuntimeMethodHandleInternal
method)
1190
private static partial void GetMethodInstantiation(
RuntimeMethodHandleInternal
method, ObjectHandleOnStack types, Interop.BOOL fAsRuntimeTypeArray);
1200
internal static RuntimeType[] GetMethodInstantiationInternal(
RuntimeMethodHandleInternal
method)
1216
internal static extern bool HasMethodInstantiation(
RuntimeMethodHandleInternal
method);
1226
private static extern
RuntimeMethodHandleInternal
GetStubIfNeededInternal(
RuntimeMethodHandleInternal
method, RuntimeType declaringType);
1229
private static partial
RuntimeMethodHandleInternal
GetStubIfNeededSlow(
RuntimeMethodHandleInternal
method, QCallTypeHandle declaringTypeHandle, ObjectHandleOnStack methodInstantiation);
1231
internal static
RuntimeMethodHandleInternal
GetStubIfNeeded(
RuntimeMethodHandleInternal
method, RuntimeType declaringType, RuntimeType[]? methodInstantiation)
1235
RuntimeMethodHandleInternal
handle = GetStubIfNeededInternal(method, declaringType);
1243
static
RuntimeMethodHandleInternal
GetStubIfNeededWorker(
RuntimeMethodHandleInternal
method, RuntimeType declaringType, RuntimeType[]? methodInstantiation)
1248
internal static extern
RuntimeMethodHandleInternal
GetMethodFromCanonical(
RuntimeMethodHandleInternal
method, RuntimeType declaringType);
1251
internal static extern bool IsGenericMethodDefinition(
RuntimeMethodHandleInternal
method);
1264
private static partial void GetTypicalMethodDefinition(
RuntimeMethodHandleInternal
method, ObjectHandleOnStack outMethod);
1278
private static extern int GetGenericParameterCount(
RuntimeMethodHandleInternal
method);
1283
private static partial void StripMethodInstantiation(
RuntimeMethodHandleInternal
method, ObjectHandleOnStack outMethod);
1296
internal static extern bool IsDynamicMethod(
RuntimeMethodHandleInternal
method);
1299
internal static partial void Destroy(
RuntimeMethodHandleInternal
method);
1302
internal static extern Resolver GetResolver(
RuntimeMethodHandleInternal
method);
1305
private static partial void GetMethodBody(
RuntimeMethodHandleInternal
method, QCallTypeHandle declaringType, ObjectHandleOnStack result);
1316
internal static extern bool IsConstructor(
RuntimeMethodHandleInternal
method);
1319
private static extern LoaderAllocator GetLoaderAllocatorInternal(
RuntimeMethodHandleInternal
method);
1321
internal static LoaderAllocator GetLoaderAllocator(
RuntimeMethodHandleInternal
method)
1823
RuntimeMethodHandleInternal
handle = ResolveMethodHandleInternal(module, methodToken, typeInstantiationContextHandles, methodInstantiationContextHandles);
1830
internal static
RuntimeMethodHandleInternal
ResolveMethodHandleInternal(RuntimeModule module, int methodToken, ReadOnlySpan<IntPtr> typeInstantiationContext, ReadOnlySpan<IntPtr> methodInstantiationContext)
1851
private static partial
RuntimeMethodHandleInternal
ResolveMethod(QCallModule module,
1963
private
RuntimeMethodHandleInternal
_pMethod;
1971
RuntimeMethodHandleInternal
methodHandle);
1977
RuntimeMethodHandleInternal
methodHandle)
src\System\RuntimeType.CoreCLR.cs (13)
214
internal MethodBase AddMethod(RuntimeType declaringType,
RuntimeMethodHandleInternal
method, CacheType cacheType)
606
foreach (
RuntimeMethodHandleInternal
methodHandle in RuntimeTypeHandle.GetIntroducedMethods(declaringType))
635
RuntimeMethodHandleInternal
instantiatedHandle = RuntimeMethodHandle.GetStubIfNeeded(methodHandle, declaringType, null);
662
foreach (
RuntimeMethodHandleInternal
methodHandle in RuntimeTypeHandle.GetIntroducedMethods(declaringType))
737
RuntimeMethodHandleInternal
instantiatedHandle = RuntimeMethodHandle.GetStubIfNeeded(methodHandle, declaringType, null);
765
foreach (
RuntimeMethodHandleInternal
methodHandle in RuntimeTypeHandle.GetIntroducedMethods(declaringType))
792
RuntimeMethodHandleInternal
instantiatedHandle = RuntimeMethodHandle.GetStubIfNeeded(methodHandle, declaringType, null);
1654
internal MethodInfo GetGenericMethodInfo(
RuntimeMethodHandleInternal
genericMethod)
1743
internal MethodBase GetMethod(RuntimeType declaringType,
RuntimeMethodHandleInternal
method)
1749
internal MethodBase GetConstructor(RuntimeType declaringType,
RuntimeMethodHandleInternal
constructor)
1811
internal static MethodBase? GetMethodBase(RuntimeType? reflectedType,
RuntimeMethodHandleInternal
methodHandle)
2760
RuntimeMethodHandleInternal
ifaceRtMethodHandle = RuntimeTypeHandle.GetMethodAt(ifaceRtType, i);
2768
RuntimeMethodHandleInternal
classRtMethodHandle = TypeHandle.GetInterfaceMethodImplementation(ifaceRtTypeHandle, ifaceRtMethodHandle);