5 types derived from DynamicExpression
System.Core (5)
Microsoft\Scripting\Ast\DynamicExpression.cs (5)
431
internal class DynamicExpressionN :
DynamicExpression
, IArgumentProvider {
474
internal class DynamicExpression1 :
DynamicExpression
, IArgumentProvider {
519
internal class DynamicExpression2 :
DynamicExpression
, IArgumentProvider {
567
internal class DynamicExpression3 :
DynamicExpression
, IArgumentProvider {
617
internal class DynamicExpression4 :
DynamicExpression
, IArgumentProvider {
186 references to DynamicExpression
System.Core (185)
Microsoft\Scripting\Actions\DynamicMetaObjectBinder.cs (1)
268
DynamicExpression
.Make(ReturnType, delegateType, this, new TrueReadOnlyCollection<Expression>(exprs)),
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
320
protected internal override Expression VisitDynamic(
DynamicExpression
node) {
Microsoft\Scripting\Ast\DynamicExpression.cs (172)
47
Debug.Assert(delegateType.GetMethod("Invoke").GetReturnType() == typeof(object) || GetType() != typeof(
DynamicExpression
));
52
internal static
DynamicExpression
Make(Type returnType, Type delegateType, CallSiteBinder binder, ReadOnlyCollection<Expression> arguments) {
60
internal static
DynamicExpression
Make(Type returnType, Type delegateType, CallSiteBinder binder, Expression arg0) {
68
internal static
DynamicExpression
Make(Type returnType, Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1) {
76
internal static
DynamicExpression
Make(Type returnType, Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2) {
84
internal static
DynamicExpression
Make(Type returnType, Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
149
internal virtual
DynamicExpression
Rewrite(Expression[] args) {
160
public
DynamicExpression
Update(IEnumerable<Expression> arguments) {
183
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
189
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
191
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
192
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
195
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
198
public static new
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, params Expression[] arguments) {
203
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
209
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
211
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
212
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
215
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
218
public static new
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, IEnumerable<Expression> arguments) {
223
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
229
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
231
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
232
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
235
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
238
public static new
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0) {
243
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
250
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
252
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
253
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
256
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
259
public static new
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1) {
264
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
272
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
274
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
275
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
278
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
281
public static new
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2) {
286
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
295
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
297
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
298
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
301
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
304
public static new
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
309
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
315
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
317
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
318
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
319
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
321
public static new
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, IEnumerable<Expression> arguments) {
326
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
332
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
334
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
335
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
336
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
338
public static new
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, params Expression[] arguments) {
343
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and one argument.
349
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
351
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
352
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
353
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
355
public static new
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0) {
360
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and two arguments.
367
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
369
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
370
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
371
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
373
public static new
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1) {
378
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and three arguments.
386
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
388
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
389
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
390
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
392
public static new
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2) {
397
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and four arguments.
406
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
408
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
409
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
410
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
412
public static new
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
453
internal override
DynamicExpression
Rewrite(Expression[] args) {
499
internal override
DynamicExpression
Rewrite(Expression[] args) {
547
internal override
DynamicExpression
Rewrite(Expression[] args) {
597
internal override
DynamicExpression
Rewrite(Expression[] args) {
649
internal override
DynamicExpression
Rewrite(Expression[] args) {
674
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
680
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
682
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
683
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
684
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
686
public static
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, params Expression[] arguments) {
691
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
697
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
699
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
700
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
701
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
703
public static
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, IEnumerable<Expression> arguments) {
713
return
DynamicExpression
.Make(method.GetReturnType(), delegateType, binder, args);
717
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and one argument.
723
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
725
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
726
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
727
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
729
public static
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0) {
741
return
DynamicExpression
.Make(method.GetReturnType(), delegateType, binder, arg0);
745
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and two arguments.
752
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
754
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
755
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
756
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
758
public static
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1) {
772
return
DynamicExpression
.Make(method.GetReturnType(), delegateType, binder, arg0, arg1);
776
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and three arguments.
784
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
786
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
787
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
788
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
790
public static
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2) {
806
return
DynamicExpression
.Make(method.GetReturnType(), delegateType, binder, arg0, arg1, arg2);
810
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and four arguments.
819
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
821
/// <see cref="
DynamicExpression
.DelegateType">DelegateType</see>,
822
/// <see cref="
DynamicExpression
.Binder">Binder</see>, and
823
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
825
public static
DynamicExpression
MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
843
return
DynamicExpression
.Make(method.GetReturnType(), delegateType, binder, arg0, arg1, arg2, arg3);
854
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
860
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
862
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
863
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
866
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
869
public static
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, params Expression[] arguments) {
874
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
880
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
882
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
883
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
886
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
889
public static
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0) {
906
return
DynamicExpression
.Make(returnType, delegateType, binder, arg0);
910
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
917
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
919
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
920
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
923
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
926
public static
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1) {
947
return
DynamicExpression
.Make(returnType, delegateType, binder, arg0, arg1);
951
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
959
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
961
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
962
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
965
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
968
public static
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2) {
993
return
DynamicExpression
.Make(returnType, delegateType, binder, arg0, arg1, arg2);
997
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
1006
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
1008
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
1009
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
1012
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
1015
public static
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
1044
return
DynamicExpression
.Make(returnType, delegateType, binder, arg0, arg1, arg2, arg3);
1048
/// Creates a <see cref="
DynamicExpression
" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
1054
/// A <see cref="
DynamicExpression
" /> that has <see cref="NodeType" /> equal to
1056
/// <see cref="
DynamicExpression
.Binder">Binder</see> and
1057
/// <see cref="
DynamicExpression
.Arguments">Arguments</see> set to the specified values.
1060
/// The <see cref="
DynamicExpression
.DelegateType">DelegateType</see> property of the
1063
public static
DynamicExpression
Dynamic(CallSiteBinder binder, Type returnType, IEnumerable<Expression> arguments) {
1072
private static
DynamicExpression
MakeDynamic(CallSiteBinder binder, Type returnType, ReadOnlyCollection<Expression> args) {
1087
case 1: return
DynamicExpression
.Make(returnType, delegateType, binder, args[0]);
1088
case 2: return
DynamicExpression
.Make(returnType, delegateType, binder, args[0], args[1]);
1089
case 3: return
DynamicExpression
.Make(returnType, delegateType, binder, args[0], args[1], args[2]);
1090
case 4: return
DynamicExpression
.Make(returnType, delegateType, binder, args[0], args[1], args[2], args[3]);
1091
default: return
DynamicExpression
.Make(returnType, delegateType, binder, args);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
144
private readonly
DynamicExpression
_node;
146
public DynamicExpressionProxy(
DynamicExpression
node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
218
protected internal override Expression VisitDynamic(
DynamicExpression
node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (4)
274
/// Visits the children of the <see cref="
DynamicExpression
" />.
279
protected internal virtual Expression VisitDynamic(
DynamicExpression
node) {
702
/// Visits the children of the <see cref="
DynamicExpression
" />.
707
protected internal override Expression VisitDynamic(
DynamicExpression
node) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (2)
485
var
node = (
DynamicExpression
)expr;
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
167
var
node = (
DynamicExpression
)expr;
System.Web.Entity (1)
System\Data\WebControls\OrderByBuilder.cs (1)
203
new Expression[] { expression, Expression.Quote(
DynamicExpression
.Lambda(memberExpression, parameter)) });