Base:
method
CreateDelegate
System.Reflection.MethodInfo.CreateDelegate(System.Type)
16 references to CreateDelegate
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (1)
220return (Func<object, TField>)getterMethod.CreateDelegate(typeof(Func<object, TField>));
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
244retVal = _dynamicMethod.CreateDelegate(_delegateType);
Microsoft.AspNetCore.Routing (1)
Matching\ILEmitTrieFactory.cs (1)
43return (Func<string, int, int, int>)method.CreateDelegate(typeof(Func<string, int, int, int>));
Microsoft.ML.Data (2)
Utils\ApiUtils.cs (2)
106return mb.CreateDelegate(typeof(Peek<TRow, TValue>)); 128return mb.CreateDelegate(typeof(Peek<TRow, TValue>));
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (1)
1405Return DirectCast(InvokerMethod.CreateDelegate(GetType(Func(Of CallSiteBinder, Object, Object(), Object))), Func(Of CallSiteBinder, Object, Object(), Object))
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
157retVal = _dynamicMethod.CreateDelegate(_delegateType);
System.Private.Xml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
267return ((DynamicMethod)_methods[name]!).CreateDelegate(typDelegate);
System\Xml\Xslt\XslCompiledTransform.cs (1)
231? dm.CreateDelegate(typeof(ExecuteDelegate))
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\ReflectionEmitMemberAccessor.cs (1)
397(T?)method?.CreateDelegate(typeof(T));
System.Xaml (6)
System\Xaml\Runtime\DynamicMethodRuntime.cs (6)
291return (DelegateCreator)dynamicMethod.CreateDelegate(typeof(DelegateCreator)); 309return (DelegateCreator)dynamicMethod.CreateDelegate(typeof(DelegateCreator)); 323return (FactoryDelegate)dynamicMethod.CreateDelegate(typeof(FactoryDelegate)); 338return (FactoryDelegate)dynamicMethod.CreateDelegate(typeof(FactoryDelegate)); 418return (PropertyGetDelegate)dynamicMethod.CreateDelegate(typeof(PropertyGetDelegate)); 440return (PropertySetDelegate)dynamicMethod.CreateDelegate(typeof(PropertySetDelegate));