37 references to DelegateHelpers
System.Linq.Expressions (37)
System\Dynamic\DynamicMetaObjectBinder.cs (2)
11using DelegateHelpers = System.Linq.Expressions.Compiler.DelegateHelpers; 213Type delegateType = DelegateHelpers.MakeDeferredSiteDelegate(args, ReturnType);
System\Linq\Expressions\Compiler\TypeInfoExtensions.cs (3)
13public static Type MakeDelegateType(this DelegateHelpers.TypeInfo info, Type retType, params Expression[] args) 19public static Type MakeDelegateType(this DelegateHelpers.TypeInfo info, Type retType, IList<Expression> args) 31return info.DelegateType = DelegateHelpers.MakeNewDelegate(paramTypes);
System\Linq\Expressions\DynamicExpression.cs (24)
13using DelegateHelpers = System.Linq.Expressions.Compiler.DelegateHelpers; 1064DelegateHelpers.TypeInfo info = DelegateHelpers.GetNextTypeInfo( 1066DelegateHelpers.GetNextTypeInfo( 1068DelegateHelpers.NextTypeInfo(typeof(CallSite)) 1101DelegateHelpers.TypeInfo info = DelegateHelpers.GetNextTypeInfo( 1103DelegateHelpers.GetNextTypeInfo( 1105DelegateHelpers.GetNextTypeInfo( 1107DelegateHelpers.NextTypeInfo(typeof(CallSite)) 1143DelegateHelpers.TypeInfo info = DelegateHelpers.GetNextTypeInfo( 1145DelegateHelpers.GetNextTypeInfo( 1147DelegateHelpers.GetNextTypeInfo( 1149DelegateHelpers.GetNextTypeInfo( 1151DelegateHelpers.NextTypeInfo(typeof(CallSite)) 1190DelegateHelpers.TypeInfo info = DelegateHelpers.GetNextTypeInfo( 1192DelegateHelpers.GetNextTypeInfo( 1194DelegateHelpers.GetNextTypeInfo( 1196DelegateHelpers.GetNextTypeInfo( 1198DelegateHelpers.GetNextTypeInfo( 1200DelegateHelpers.NextTypeInfo(typeof(CallSite)) 1253Type delegateType = DelegateHelpers.MakeCallSiteDelegate(arguments, returnType);
System\Linq\Expressions\LambdaExpression.cs (6)
876Type delegateType = Compiler.DelegateHelpers.MakeDelegateType(typeArgs); 1039Type result = Compiler.DelegateHelpers.GetFuncType(typeArgs); 1061return (funcType = Compiler.DelegateHelpers.GetFuncType(typeArgs)) != null; 1086Type result = Compiler.DelegateHelpers.GetActionType(typeArgs); 1107return (actionType = Compiler.DelegateHelpers.GetActionType(typeArgs)) != null; 1129return Compiler.DelegateHelpers.MakeDelegateType(typeArgs);
System\Runtime\CompilerServices\CallSite.cs (2)
309if (target == System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(args.AddFirst(typeof(CallSite)))) 317if (target == System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(args.AddFirst(typeof(CallSite))))