4 writes to OptionalElement
Microsoft.CSharp (4)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
917
list.
OptionalElement
= StripNamedArgument(list.OptionalElement);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2351
list.
OptionalElement
= pExprWrap;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\List.cs (1)
11
OptionalElement
= optionalElement;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (1)
107
list.
OptionalElement
= Visit(list.OptionalElement);
35 references to OptionalElement
Microsoft.CSharp (35)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (21)
226
return Visit(((ExprList)pExpr.OptionalArguments).
OptionalElement
);
256
methinfo = (ExprMethodInfo)next.
OptionalElement
;
279
obj = GetExpression(((ExprList)pExpr.OptionalArguments).
OptionalElement
);
297
Expression obj = GetExpression(list.
OptionalElement
);
331
e = GetExpression(list.
OptionalElement
);
332
t = ((ExprTypeOf)list2.
OptionalElement
).SourceType.AssociatedSystemType;
359
e = GetExpression(list.
OptionalElement
);
389
Expr instance = list.
OptionalElement
;
395
propinfo = nextList.
OptionalElement
as ExprPropertyInfo;
445
return Expression.Field(GetExpression(list.
OptionalElement
), f);
456
GetExpression(list.
OptionalElement
),
467
ConstructorInfo constructor = ((ExprMethodInfo)list.
OptionalElement
).ConstructorInfo;
480
list.
OptionalElement
.Object, ((ExprTypeOf)list.OptionalNextListNode).SourceType.AssociatedSystemType);
491
GetExpression(list.
OptionalElement
),
502
Expression arg1 = GetExpression(list.
OptionalElement
);
564
Expression arg1 = GetExpression(list.
OptionalElement
);
565
Expression arg2 = GetExpression(((ExprList)list.OptionalNextListNode).
OptionalElement
);
572
ExprConstant isLifted = (ExprConstant)next.
OptionalElement
;
667
Expression arg = GetExpression(list.
OptionalElement
);
799
((ExprTypeOf)list.
OptionalElement
).SourceType.AssociatedSystemType,
900
p = pList.
OptionalElement
;
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
917
list.OptionalElement = StripNamedArgument(list.
OptionalElement
);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
754
arg = next.
OptionalElement
;
770
arg = nextList.
OptionalElement
;
1322
arg = next.
OptionalElement
;
1636
arg = next.
OptionalElement
;
Microsoft\CSharp\RuntimeBinder\Semantics\EXPRExtensions.cs (1)
38
yield return list.
OptionalElement
;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2349
Expr pExpr = list.
OptionalElement
;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\ExpressionIterator.cs (1)
88
_pCurrent = pList.
OptionalElement
;
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 (3)
550
p1 = args.
OptionalElement
;
559
p1 = ((ExprWrap)args.
OptionalElement
).OptionalExpression;
656
p1 = args.
OptionalElement
;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (1)
107
list.OptionalElement = Visit(list.
OptionalElement
);