3 implementations of IRuntimeMethodInfo
System.Private.CoreLib (3)
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
15internal sealed partial class RuntimeConstructorInfo : ConstructorInfo, IRuntimeMethodInfo
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
16internal sealed partial class RuntimeMethodInfo : MethodInfo, IRuntimeMethodInfo
src\System\RuntimeHandles.cs (1)
955internal sealed class RuntimeMethodInfoStub : IRuntimeMethodInfo
63 references to IRuntimeMethodInfo
System.Private.CoreLib (63)
src\System\Delegate.CoreCLR.cs (4)
166IRuntimeMethodInfo method = FindMethodHandle(); 422private bool BindToMethodInfo(object? target, IRuntimeMethodInfo method, RuntimeType methodType, DelegateBindingFlags flags) 519internal IRuntimeMethodInfo FindMethodHandle() 522IRuntimeMethodInfo? methodInfo = null;
src\System\Diagnostics\StackFrameHelper.cs (1)
148IRuntimeMethodInfo? mhReal = RuntimeMethodHandle.GetTypicalMethodDefinition(new RuntimeMethodInfoStub(new RuntimeMethodHandleInternal(mh), this));
src\System\Exception.CoreCLR.cs (1)
69IRuntimeMethodInfo? methodInfo = null;
src\System\MulticastDelegate.CoreCLR.cs (1)
524IRuntimeMethodInfo method = FindMethodHandle();
src\System\Reflection\Emit\DynamicILGenerator.cs (1)
1032IRuntimeMethodInfo methodReal = method.GetMethodInfo();
src\System\Reflection\Emit\DynamicMethod.CoreCLR.cs (2)
19internal IRuntimeMethodInfo? _methodHandle; 53IRuntimeMethodInfo? methodHandle = _methodHandle;
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (2)
132int result = GetMemberRefOfMethodInfo(new QCallModule(ref thisModule), tr, ((IRuntimeMethodInfo)method).Value); 142int result = GetMemberRefOfMethodInfo(new QCallModule(ref thisModule), tr, ((IRuntimeMethodInfo)method).Value);
src\System\Reflection\RuntimeAssembly.cs (1)
169IRuntimeMethodInfo? methodHandle = null;
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
69RuntimeMethodHandleInternal IRuntimeMethodInfo.Value => new RuntimeMethodHandleInternal(m_handle);
src\System\Reflection\RuntimeCustomAttributeData.cs (3)
1513out RuntimeType attributeType, out IRuntimeMethodInfo? ctorWithParameters, out bool isVarArg)) 1627out IRuntimeMethodInfo? ctorWithParameters, 1872private static object CreateCustomAttributeInstance(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, ref IntPtr blob, IntPtr blobEnd, out int namedArgs)
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
72RuntimeMethodHandleInternal IRuntimeMethodInfo.Value => new RuntimeMethodHandleInternal(m_handle);
src\System\Reflection\RuntimeModule.cs (1)
107IRuntimeMethodInfo methodHandle = moduleHandle.ResolveMethodHandle(tk, typeArgs, methodArgs).GetMethodInfo();
src\System\Reflection\RuntimeParameterInfo.cs (3)
14internal static ParameterInfo[] GetParameters(IRuntimeMethodInfo method, MemberInfo member, Signature sig) 21internal static ParameterInfo GetReturnParameter(IRuntimeMethodInfo method, MemberInfo member, Signature sig) 30IRuntimeMethodInfo methodHandle, MemberInfo member, Signature sig, out ParameterInfo? returnParameter, bool fetchReturnParameter)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
208IRuntimeMethodInfo methodInfo = method.GetMethodInfo() ??
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
222InternalPrelink(((IRuntimeMethodInfo)rmi).Value);
src\System\RuntimeHandles.cs (34)
740internal static IRuntimeMethodInfo? GetDeclaringMethodForGenericParameter(RuntimeType type) 744IRuntimeMethodInfo? method = null; 897RuntimeMethodHandleInternal methodContextRaw = ((IRuntimeMethodInfo?)methodContext)?.Value ?? RuntimeMethodHandleInternal.EmptyHandle; 979RuntimeMethodHandleInternal IRuntimeMethodInfo.Value => m_value; 1004internal static IRuntimeMethodInfo EnsureNonNullMethodInfo(IRuntimeMethodInfo method) 1011private readonly IRuntimeMethodInfo m_value; 1013internal RuntimeMethodHandle(IRuntimeMethodInfo method) 1018internal IRuntimeMethodInfo GetMethodInfo() 1104internal static MethodAttributes GetAttributes(IRuntimeMethodInfo method) 1112internal static extern MethodImplAttributes GetImplAttributes(IRuntimeMethodInfo method); 1117internal static string ConstructInstantiation(IRuntimeMethodInfo method, TypeNameFormatFlags format) 1120IRuntimeMethodInfo methodInfo = EnsureNonNullMethodInfo(method); 1137internal static RuntimeType GetDeclaringType(IRuntimeMethodInfo method) 1147internal static int GetSlot(IRuntimeMethodInfo method) 1159internal static int GetMethodDef(IRuntimeMethodInfo method) 1171internal static string GetName(IRuntimeMethodInfo method) 1256internal static RuntimeType[] GetMethodInstantiationInternal(IRuntimeMethodInfo method) 1271internal static Type[]? GetMethodInstantiationPublic(IRuntimeMethodInfo method) 1282internal static bool HasMethodInstantiation(IRuntimeMethodInfo method) 1317internal static bool IsGenericMethodDefinition(IRuntimeMethodInfo method) 1325private static extern bool IsTypicalMethodDefinition(IRuntimeMethodInfo method); 1330internal static IRuntimeMethodInfo GetTypicalMethodDefinition(IRuntimeMethodInfo method) 1344internal static int GetGenericParameterCount(IRuntimeMethodInfo method) => GetGenericParameterCount(method.Value); 1349internal static IRuntimeMethodInfo StripMethodInstantiation(IRuntimeMethodInfo method) 1351IRuntimeMethodInfo strippedMethod = method; 1371internal static RuntimeMethodBody? GetMethodBody(IRuntimeMethodInfo method, RuntimeType declaringType) 1832internal static IRuntimeMethodInfo GetDynamicMethod(RuntimeModule module, string name, byte[] sig, Resolver resolver) 1834IRuntimeMethodInfo? methodInfo = null; 1939IRuntimeMethodInfo retVal = new RuntimeMethodInfoStub(handle, RuntimeMethodHandle.GetLoaderAllocator(handle)); 2109IRuntimeMethodInfo methodHandle, 2125public Signature(IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
src\System\RuntimeType.CoreCLR.cs (5)
1805internal static MethodBase? GetMethodBase(IRuntimeMethodInfo methodHandle) 1810internal static MethodBase? GetMethodBase(RuntimeType? reflectedType, IRuntimeMethodInfo methodHandle) 1859IRuntimeMethodInfo rmi = (IRuntimeMethodInfo)methodBases[i]; 3301IRuntimeMethodInfo? declaringMethod = RuntimeTypeHandle.GetDeclaringMethodForGenericParameter(this);