Internal\Reflection\Augments\ReflectionAugments.cs (8)
266if (!(method is RuntimeMethodInfo runtimeMethodInfo))
300RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType, method, isStatic: false, ignoreCase: ignoreCase);
330RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType.GetRuntimeTypeInfo(), method, isStatic: true, ignoreCase: ignoreCase);
346private static RuntimeMethodInfo LookupMethodForCreateDelegate(RuntimeTypeInfo runtimeDelegateType, RuntimeTypeInfo containingType, string method, bool isStatic, bool ignoreCase)
363RuntimeMethodInfo invokeMethod = runtimeDelegateType.GetInvokeMethod();
377return (RuntimeMethodInfo)methodInfo; // This cast is safe since we already verified that containingType is runtime implemented.
390case RuntimeMethodInfo methodInfo:
511RuntimeMethodInfo invokeMethod = runtimeType.GetInvokeMethod();