3 implementations of IRuntimeMethodInfo
System.Private.CoreLib (3)
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
15
internal sealed partial class RuntimeConstructorInfo : ConstructorInfo,
IRuntimeMethodInfo
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
16
internal sealed partial class RuntimeMethodInfo : MethodInfo,
IRuntimeMethodInfo
src\System\RuntimeHandles.cs (1)
920
internal sealed class RuntimeMethodInfoStub :
IRuntimeMethodInfo
60 references to IRuntimeMethodInfo
System.Private.CoreLib (60)
src\System\Delegate.CoreCLR.cs (4)
166
IRuntimeMethodInfo
method = FindMethodHandle();
422
private bool BindToMethodInfo(object? target,
IRuntimeMethodInfo
method, RuntimeType methodType, DelegateBindingFlags flags)
516
internal
IRuntimeMethodInfo
FindMethodHandle()
519
IRuntimeMethodInfo
? methodInfo = null;
src\System\Diagnostics\StackFrameHelper.cs (1)
167
IRuntimeMethodInfo
? mhReal = RuntimeMethodHandle.GetTypicalMethodDefinition(new RuntimeMethodInfoStub(new RuntimeMethodHandleInternal(mh), this));
src\System\Exception.CoreCLR.cs (1)
69
IRuntimeMethodInfo
? methodInfo = null;
src\System\MulticastDelegate.CoreCLR.cs (1)
523
IRuntimeMethodInfo
method = FindMethodHandle();
src\System\Reflection\Emit\DynamicILGenerator.cs (1)
1011
IRuntimeMethodInfo
methodReal = method.GetMethodInfo();
src\System\Reflection\Emit\DynamicMethod.CoreCLR.cs (2)
19
internal
IRuntimeMethodInfo
? _methodHandle;
53
IRuntimeMethodInfo
? methodHandle = _methodHandle;
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (2)
132
int result = GetMemberRefOfMethodInfo(new QCallModule(ref thisModule), tr, ((
IRuntimeMethodInfo
)method).Value);
142
int result = GetMemberRefOfMethodInfo(new QCallModule(ref thisModule), tr, ((
IRuntimeMethodInfo
)method).Value);
src\System\Reflection\RuntimeAssembly.cs (1)
177
IRuntimeMethodInfo
? methodHandle = null;
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
69
RuntimeMethodHandleInternal
IRuntimeMethodInfo
.Value => new RuntimeMethodHandleInternal(m_handle);
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
72
RuntimeMethodHandleInternal
IRuntimeMethodInfo
.Value => new RuntimeMethodHandleInternal(m_handle);
src\System\Reflection\RuntimeModule.cs (1)
107
IRuntimeMethodInfo
methodHandle = moduleHandle.ResolveMethodHandle(tk, typeArgs, methodArgs).GetMethodInfo();
src\System\Reflection\RuntimeParameterInfo.cs (3)
14
internal static ParameterInfo[] GetParameters(
IRuntimeMethodInfo
method, MemberInfo member, Signature sig)
21
internal static ParameterInfo GetReturnParameter(
IRuntimeMethodInfo
method, MemberInfo member, Signature sig)
30
IRuntimeMethodInfo
methodHandle, MemberInfo member, Signature sig, out ParameterInfo? returnParameter, bool fetchReturnParameter)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
206
IRuntimeMethodInfo
methodInfo = method.GetMethodInfo() ??
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
222
InternalPrelink(((
IRuntimeMethodInfo
)rmi).Value);
src\System\RuntimeHandles.cs (34)
727
internal static
IRuntimeMethodInfo
? GetDeclaringMethodForGenericParameter(RuntimeType type)
731
IRuntimeMethodInfo
? method = null;
862
RuntimeMethodHandleInternal methodContextRaw = ((
IRuntimeMethodInfo
?)methodContext)?.Value ?? RuntimeMethodHandleInternal.EmptyHandle;
944
RuntimeMethodHandleInternal
IRuntimeMethodInfo
.Value => m_value;
969
internal static
IRuntimeMethodInfo
EnsureNonNullMethodInfo(
IRuntimeMethodInfo
method)
976
private readonly
IRuntimeMethodInfo
m_value;
978
internal RuntimeMethodHandle(
IRuntimeMethodInfo
method)
983
internal
IRuntimeMethodInfo
GetMethodInfo()
1069
internal static MethodAttributes GetAttributes(
IRuntimeMethodInfo
method)
1077
internal static extern MethodImplAttributes GetImplAttributes(
IRuntimeMethodInfo
method);
1082
internal static string ConstructInstantiation(
IRuntimeMethodInfo
method, TypeNameFormatFlags format)
1085
IRuntimeMethodInfo
methodInfo = EnsureNonNullMethodInfo(method);
1101
internal static RuntimeType GetDeclaringType(
IRuntimeMethodInfo
method)
1111
internal static int GetSlot(
IRuntimeMethodInfo
method)
1123
internal static int GetMethodDef(
IRuntimeMethodInfo
method)
1135
internal static string GetName(
IRuntimeMethodInfo
method)
1217
internal static RuntimeType[] GetMethodInstantiationInternal(
IRuntimeMethodInfo
method)
1232
internal static Type[] GetMethodInstantiationPublic(
IRuntimeMethodInfo
method)
1243
internal static bool HasMethodInstantiation(
IRuntimeMethodInfo
method)
1278
internal static bool IsGenericMethodDefinition(
IRuntimeMethodInfo
method)
1286
private static extern bool IsTypicalMethodDefinition(
IRuntimeMethodInfo
method);
1291
internal static
IRuntimeMethodInfo
GetTypicalMethodDefinition(
IRuntimeMethodInfo
method)
1305
internal static int GetGenericParameterCount(
IRuntimeMethodInfo
method) => GetGenericParameterCount(method.Value);
1310
internal static
IRuntimeMethodInfo
StripMethodInstantiation(
IRuntimeMethodInfo
method)
1312
IRuntimeMethodInfo
strippedMethod = method;
1332
internal static RuntimeMethodBody? GetMethodBody(
IRuntimeMethodInfo
method, RuntimeType declaringType)
1781
internal static
IRuntimeMethodInfo
GetDynamicMethod(RuntimeModule module, string name, byte[] sig, Resolver resolver)
1783
IRuntimeMethodInfo
? methodInfo = null;
1887
IRuntimeMethodInfo
retVal = new RuntimeMethodInfoStub(handle, RuntimeMethodHandle.GetLoaderAllocator(handle));
2052
IRuntimeMethodInfo
methodHandle,
2068
public Signature(
IRuntimeMethodInfo
methodHandle, RuntimeType declaringType)
src\System\RuntimeType.CoreCLR.cs (5)
1777
internal static MethodBase? GetMethodBase(
IRuntimeMethodInfo
methodHandle)
1782
internal static MethodBase? GetMethodBase(RuntimeType? reflectedType,
IRuntimeMethodInfo
methodHandle)
1831
IRuntimeMethodInfo
rmi = (
IRuntimeMethodInfo
)methodBases[i];
3254
IRuntimeMethodInfo
? declaringMethod = RuntimeTypeHandle.GetDeclaringMethodForGenericParameter(this);