Internal\Reflection\Augments\ReflectionAugments.cs (8)
251if (!(method is RuntimeMethodInfo runtimeMethodInfo))
285RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType, method, isStatic: false, ignoreCase: ignoreCase);
315RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType.GetRuntimeTypeInfo(), method, isStatic: true, ignoreCase: ignoreCase);
331private static RuntimeMethodInfo LookupMethodForCreateDelegate(RuntimeTypeInfo runtimeDelegateType, RuntimeTypeInfo containingType, string method, bool isStatic, bool ignoreCase)
348RuntimeMethodInfo invokeMethod = runtimeDelegateType.GetInvokeMethod();
362return (RuntimeMethodInfo)methodInfo; // This cast is safe since we already verified that containingType is runtime implemented.
375case RuntimeMethodInfo methodInfo:
496RuntimeMethodInfo invokeMethod = runtimeType.GetInvokeMethod();