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)
220
return (Func<object, TField>)getterMethod.
CreateDelegate
(typeof(Func<object, TField>));
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
244
retVal = _dynamicMethod.
CreateDelegate
(_delegateType);
Microsoft.AspNetCore.Routing (1)
Matching\ILEmitTrieFactory.cs (1)
43
return (Func<string, int, int, int>)method.
CreateDelegate
(typeof(Func<string, int, int, int>));
Microsoft.ML.Data (2)
Utils\ApiUtils.cs (2)
106
return mb.
CreateDelegate
(typeof(Peek<TRow, TValue>));
128
return mb.
CreateDelegate
(typeof(Peek<TRow, TValue>));
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (1)
1405
Return 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)
157
retVal = _dynamicMethod.
CreateDelegate
(_delegateType);
System.Private.Xml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
267
return ((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)
291
return (DelegateCreator)dynamicMethod.
CreateDelegate
(typeof(DelegateCreator));
309
return (DelegateCreator)dynamicMethod.
CreateDelegate
(typeof(DelegateCreator));
323
return (FactoryDelegate)dynamicMethod.
CreateDelegate
(typeof(FactoryDelegate));
338
return (FactoryDelegate)dynamicMethod.
CreateDelegate
(typeof(FactoryDelegate));
418
return (PropertyGetDelegate)dynamicMethod.
CreateDelegate
(typeof(PropertyGetDelegate));
440
return (PropertySetDelegate)dynamicMethod.
CreateDelegate
(typeof(PropertySetDelegate));