Base:
method
CreateDelegate
System.Reflection.MethodInfo.CreateDelegate(System.Type)
23 references to CreateDelegate
System (3)
regex\system\text\regularexpressions\compiledregexrunnerfactory.cs (3)
32runner.SetDelegates((NoParamDelegate) goMethod.CreateDelegate(typeof(NoParamDelegate)), 33(FindFirstCharDelegate) findFirstCharMethod.CreateDelegate(typeof(FindFirstCharDelegate)), 34(NoParamDelegate) initTrackCountMethod.CreateDelegate(typeof(NoParamDelegate)));
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
455return (InvokerDelegate)invoker.CreateDelegate(typeof(InvokerDelegate));
System.Configuration (2)
System\Configuration\TypeUtil.cs (2)
140var createInstanceDel = (Func<Type, object>)dm.CreateDelegate(typeof(Func<Type, object>)); 169var createDelegateDel = (Func<Type, MethodInfo, Delegate>)dm.CreateDelegate(typeof(Func<Type, MethodInfo, Delegate>));
System.Data.Entity (4)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (4)
140return (Action<object, object>)method.CreateDelegate(typeof(Action<object, object>)); 177return method.CreateDelegate(typeof(Func<object>)); 261return (Func<object, object>)method.CreateDelegate(typeof(Func<object, object>)); 391return (Action<object, object>)method.CreateDelegate(typeof(Action<object, object>));
System.Data.Linq (4)
Mapping\Accessors.cs (3)
39dget = mget.CreateDelegate(typeof(DGet<,>).MakeGenericType(objectType, fi.FieldType)); 55drset = mset.CreateDelegate(typeof(DRSet<,>).MakeGenericType(objectType, fi.FieldType)); 120drset = mset.CreateDelegate(typeof(DRSet<,>).MakeGenericType(objectType, pi.PropertyType));
SqlClient\Reader\ObjectReaderCompiler.cs (1)
206var fnMaterialize = (Delegate)dm.CreateDelegate(fnMatType);
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2365container.ReadFromContextDelegate = (Func<object, IQueryable>)readerMethod.CreateDelegate(typeof(Func<object, IQueryable>));
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
325resourceContainer.ReadFromContextDelegate = (Func<object, IQueryable>)readerMethod.CreateDelegate(typeof(Func<object, IQueryable>));
System\Data\Services\WebUtil.cs (1)
598return method.CreateDelegate(typeof(Func<>).MakeGenericType(targetType));
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
331return ((DynamicMethod) this.methods[name]).CreateDelegate(typDelegate);
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
254retVal = dynamicMethod.CreateDelegate(delegateType);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
172retVal = dynamicMethod.CreateDelegate(delegateType);
System.Web (2)
Util\FastDelegateCreator.cs (1)
54return (Func<object, IntPtr, TDelegate>)dynamicMethod.CreateDelegate(typeof(Func<object, IntPtr, TDelegate>));
Util\ReflectionUtil.cs (1)
53return (Action<T>)dynamicMethod.CreateDelegate(typeof(Action<T>));
System.Xml (1)
System\Xml\Xslt\XslCompiledTransform.cs (1)
324Delegate delExec = (dm != null) ? dm.CreateDelegate(typeof(ExecuteDelegate)) : Delegate.CreateDelegate(typeof(ExecuteDelegate), executeMethod);