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