12 references to CreateDelegate
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\Binding\ReflectionServiceInvokerResolver.cs (1)
35
var invoker = (TDelegate)Delegate.
CreateDelegate
(typeof(TDelegate), handlerMethod);
Microsoft.Build.Tasks.Core (3)
ManifestUtil\CngLightup.cs (3)
208
Delegate openDelegate = Delegate.
CreateDelegate
(delegateType, signDataMethod);
266
Delegate openDelegate = Delegate.
CreateDelegate
(delegateType, verifyDataMethod);
406
return Delegate.
CreateDelegate
(delegateType, cryptMethod);
PresentationFramework (3)
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
449
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)
240
GetAt_0 = global::System.Delegate.
CreateDelegate
(GetAt_0_Type, typeof(Vftbl).GetMethod("Do_Abi_GetAt_0", BindingFlags.NonPublic | BindingFlags.Static).MakeGenericMethod(Marshaler<T>.AbiType)),
242
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)
64
return (Func<Export, object>)Delegate.
CreateDelegate
(typeof(Func<Export, object>), genericMethod);
76
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);