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();