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