5 types derived from RuntimeMethodInfo
System.Private.CoreLib (5)
System\Reflection\Runtime\General\Dispensers.cs (2)
142internal sealed partial class RuntimeConstructedGenericMethodInfo : RuntimeMethodInfo 153internal sealed partial class RuntimeSyntheticMethodInfo : RuntimeMethodInfo
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (1)
20internal sealed partial class RuntimeConstructedGenericMethodInfo : RuntimeMethodInfo
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
19internal abstract class RuntimeNamedMethodInfo : RuntimeMethodInfo
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (1)
20internal sealed partial class RuntimeSyntheticMethodInfo : RuntimeMethodInfo, IRuntimeMemberInfoWithNoMetadataDefinition
39 references to RuntimeMethodInfo
System.Private.CoreLib (39)
Internal\Reflection\Augments\ReflectionAugments.cs (8)
265if (!(method is RuntimeMethodInfo runtimeMethodInfo)) 299RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType, method, isStatic: false, ignoreCase: ignoreCase); 329RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType.GetRuntimeTypeInfo(), method, isStatic: true, ignoreCase: ignoreCase); 345private static RuntimeMethodInfo LookupMethodForCreateDelegate(RuntimeTypeInfo runtimeDelegateType, RuntimeTypeInfo containingType, string method, bool isStatic, bool ignoreCase) 362RuntimeMethodInfo invokeMethod = runtimeDelegateType.GetInvokeMethod(); 376return (RuntimeMethodInfo)methodInfo; // This cast is safe since we already verified that containingType is runtime implemented. 389case RuntimeMethodInfo methodInfo: 479RuntimeMethodInfo invokeMethod = runtimeType.GetInvokeMethod();
Internal\Reflection\Core\Execution\ExecutionEnvironment.cs (1)
120return ((RuntimeMethodInfo)methodInfo).MethodInvoker;
System\Reflection\MethodInvoker.cs (2)
19internal MethodInvoker(RuntimeMethodInfo method) 34if (method is RuntimeMethodInfo rmi)
System\Reflection\Runtime\General\Dispensers.cs (2)
144internal static RuntimeMethodInfo GetRuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments) 155internal static RuntimeMethodInfo GetRuntimeSyntheticMethodInfo(SyntheticMethodId syntheticMethodId, string name, RuntimeArrayTypeInfo declaringType, RuntimeTypeInfo[] runtimeParameterTypes, RuntimeTypeInfo returnType, InvokerOptions options, CustomMethodInvokerAction action)
System\Reflection\Runtime\General\Helpers.cs (2)
118public static RuntimeMethodInfo GetInvokeMethod(this RuntimeTypeInfo delegateType) 129return (RuntimeMethodInfo)invokeMethod;
System\Reflection\Runtime\MethodInfos\RuntimeConstructedGenericMethodInfo.cs (2)
211internal sealed override RuntimeParameterInfo[] GetRuntimeParameters(RuntimeMethodInfo contextMethod, out RuntimeParameterInfo returnParameter) 216internal sealed override RuntimeMethodInfo WithReflectedTypeSetToDeclaringType
System\Reflection\Runtime\MethodInfos\RuntimeDummyMethodInfo.cs (3)
43internal sealed override RuntimeParameterInfo[] GetRuntimeParameters(RuntimeMethodInfo contextMethod, out RuntimeParameterInfo returnParameter) { throw NotImplemented.ByDesign; } 48protected internal sealed override string ComputeToString(RuntimeMethodInfo contextMethod) { throw NotImplemented.ByDesign; } 51internal sealed override RuntimeMethodInfo WithReflectedTypeSetToDeclaringType { get { throw NotImplemented.ByDesign; } }
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (5)
121return ((RuntimeMethodInfo)method).WithReflectedTypeSetToDeclaringType; 245internal abstract RuntimeMethodInfo WithReflectedTypeSetToDeclaringType { get; } 254internal abstract RuntimeParameterInfo[] GetRuntimeParameters(RuntimeMethodInfo contextMethod, out RuntimeParameterInfo returnParameter); 312RuntimeMethodInfo invokeMethod = runtimeDelegateType.GetInvokeMethod(); 445protected RuntimeMethodInfo WithDebugName()
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (6)
21protected internal abstract string ComputeToString(RuntimeMethodInfo contextMethod); 146RuntimeMethodInfo methodInfo = (RuntimeMethodInfo)RuntimeConstructedGenericMethodInfo.GetRuntimeConstructedGenericMethodInfo(this, genericTypeArguments); 230protected internal sealed override string ComputeToString(RuntimeMethodInfo contextMethod) 243internal sealed override RuntimeParameterInfo[] GetRuntimeParameters(RuntimeMethodInfo contextMethod, out RuntimeParameterInfo returnParameter) 264internal sealed override RuntimeMethodInfo WithReflectedTypeSetToDeclaringType
System\Reflection\Runtime\MethodInfos\RuntimeSyntheticMethodInfo.cs (2)
200internal sealed override RuntimeParameterInfo[] GetRuntimeParameters(RuntimeMethodInfo contextMethod, out RuntimeParameterInfo returnParameter) 212internal sealed override RuntimeMethodInfo WithReflectedTypeSetToDeclaringType
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (1)
82RuntimeMethodInfo accessor = (useGetter ? Getter : Setter);
System\Reflection\Runtime\TypeInfos\RuntimeArrayTypeInfo.cs (1)
164internal sealed override IEnumerable<RuntimeMethodInfo> SyntheticMethods
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.CoreGetDeclared.cs (2)
65Debug.Assert(object.ReferenceEquals(SyntheticMethods, Array.Empty<RuntimeMethodInfo>())); 75foreach (RuntimeMethodInfo syntheticMethod in SyntheticMethods)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
670internal virtual IEnumerable<RuntimeMethodInfo> SyntheticMethods 674return Array.Empty<RuntimeMethodInfo>();