9 references to CreateDelegate
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Binding\ReflectionServiceInvokerResolver.cs (1)
35
var invoker = (TDelegate)Delegate.
CreateDelegate
(typeof(TDelegate), handlerMethod);
PresentationFramework (3)
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
444
get_Current_0 = global::System.Delegate.
CreateDelegate
(get_Current_0_Type, typeof(Vftbl).GetMethod("Do_Abi_get_Current_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(Marshaler<T>.AbiType)),
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
234
GetAt_0 = global::System.Delegate.
CreateDelegate
(GetAt_0_Type, typeof(Vftbl).GetMethod("Do_Abi_GetAt_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(Marshaler<T>.AbiType)),
236
IndexOf_2 = global::System.Delegate.
CreateDelegate
(IndexOf_2_Type, typeof(Vftbl).GetMethod("Do_Abi_IndexOf_2", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(Marshaler<T>.AbiType)),
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\ExportServices.cs (2)
61
return (Func<Export, object>)Delegate.
CreateDelegate
(typeof(Func<Export, object>), genericMethod);
70
return (Func<Export, Lazy<object, object>>)Delegate.
CreateDelegate
(typeof(Func<Export, Lazy<object, object>>), genericMethod);
System\ComponentModel\Composition\MetadataViewGenerator.cs (1)
118
MetadataViewFactory generatedMetadataViewFactory = (MetadataViewFactory)Delegate.
CreateDelegate
(
System.Configuration.ConfigurationManager (1)
System\Configuration\CallbackValidatorAttribute.cs (1)
32
_callbackMethod = (ValidatorCallback)Delegate.
CreateDelegate
(typeof(ValidatorCallback), methodInfo);
System.Net.HttpListener (1)
src\libraries\Common\src\System\Net\CookieParser.cs (1)
540
s_internalSetNameMethod = (Func<Cookie, string?, bool>)Delegate.
CreateDelegate
(typeof(Func<Cookie, string?, bool>), method);