1 instantiation of ExprList
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
238
public static ExprList CreateList(Expr op1, Expr op2) => new
ExprList
(op1, op2);
76 references to ExprList
Microsoft.CSharp (76)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (38)
226
return Visit(((
ExprList
)pExpr.OptionalArguments).OptionalElement);
253
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
254
if (list.OptionalNextListNode is
ExprList
next)
279
obj = GetExpression(((
ExprList
)pExpr.OptionalArguments).OptionalElement);
295
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
329
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
330
ExprList
list2 = (
ExprList
)list.OptionalNextListNode;
357
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
387
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
393
if (nextNode is
ExprList
nextList)
425
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
453
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
465
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
477
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
488
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
500
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
563
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
565
Expression arg2 = GetExpression(((
ExprList
)list.OptionalNextListNode).OptionalElement);
567
list = (
ExprList
)list.OptionalNextListNode;
570
if (list.OptionalNextListNode is
ExprList
next)
666
ExprList
list = (
ExprList
)pExpr.OptionalArguments;
796
ExprList
list = (
ExprList
)call.OptionalArguments;
898
if (list is
ExprList
pList)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (2)
913
if (pArg is
ExprList
list)
919
if (list.OptionalNextListNode is
ExprList
next)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
752
if (list is
ExprList
next)
768
if (list is
ExprList
nextList)
1320
if (list is
ExprList
next)
1634
if (list is
ExprList
next)
Microsoft\CSharp\RuntimeBinder\Semantics\EXPRExtensions.cs (1)
36
if (exprCur is
ExprList
list)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (7)
231
Debug.Assert((last as
ExprList
)?.OptionalNextListNode != null);
232
Debug.Assert((last as
ExprList
).OptionalNextListNode.Kind != ExpressionKind.List);
233
ExprList
list = (
ExprList
)last;
238
public static
ExprList
CreateList(Expr op1, Expr op2) => new ExprList(op1, op2);
240
public static
ExprList
CreateList(Expr op1, Expr op2, Expr op3) => CreateList(op1, CreateList(op2, op3));
242
public static
ExprList
CreateList(Expr op1, Expr op2, Expr op3, Expr op4) =>
Microsoft\CSharp\RuntimeBinder\Semantics\Nullable.cs (2)
31
Debug.Assert(pExpr != null && !(pExpr is
ExprList
));
47
Debug.Assert(args != null && !(args is
ExprList
));
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (5)
2346
ExprList
list = (
ExprList
)pCall.OptionalArguments;
2554
ExprList
args = ExprFactory.CreateList(arg1, arg2);
2587
ExprList
args = ExprFactory.CreateList(arg1, arg2);
2662
ExprList
args = ExprFactory.CreateList(exprVal1, exprVal2);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\EXPR.cs (1)
34
Debug.Assert(!(this is
ExprList
));
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\ExpressionIterator.cs (2)
75
private
ExprList
_pList;
85
else if (pExpr is
ExprList
pList)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\UserDefinedLogicalOperator.cs (2)
14
Debug.Assert((operatorCall?.OptionalArguments as
ExprList
)?.OptionalElement != null);
18
Expr leftChild = ((
ExprList
)operatorCall.OptionalArguments).OptionalElement;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (7)
237
if (args is
ExprList
)
548
ExprList
args = (
ExprList
)ascall.OptionalArguments;
557
ExprList
args = (
ExprList
)userLogOp.OperatorCall.OptionalArguments;
653
ExprList
args = (
ExprList
)udcall.OptionalArguments;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (5)
21
ExpressionKind.List => VisitLIST(pExpr as
ExprList
),
104
ExprList
list = (
ExprList
)pExpr;
114
if (!(nextNode is
ExprList
next))
310
protected virtual Expr VisitLIST(
ExprList
pExpr)