1 instantiation of ExprWrap
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
198
public static ExprWrap CreateWrap(Expr expression) => new
ExprWrap
(expression);
12 references to ExprWrap
Microsoft.CSharp (12)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (3)
78
Debug.Assert(pExpr.OptionalRightChild is
ExprWrap
);
216
protected override Expr VisitWRAP(
ExprWrap
pExpr) => new ExpressionExpr(GetExpression(pExpr));
697
if (pExpr is
ExprWrap
wrap)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1623
private static
ExprWrap
WrapShortLivedExpression(Expr expr) => ExprFactory.CreateWrap(expr);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
198
public static
ExprWrap
CreateWrap(Expr expression) => new ExprWrap(expression);
200
public static ExprBinOp CreateSave(
ExprWrap
wrap)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2350
ExprWrap
pExprWrap = WrapShortLivedExpression(pExpr);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\LocalVariableSymbol.cs (1)
14
public
ExprWrap
wrap;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\UserDefinedLogicalOperator.cs (1)
20
FirstOperandToExamine = leftChild is
ExprWrap
wrap ? wrap.OptionalExpression : leftChild;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
559
p1 = ((
ExprWrap
)args.OptionalElement).OptionalExpression;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExprVisitorBase.cs (2)
31
ExpressionKind.Wrap => VisitWRAP(pExpr as
ExprWrap
),
412
protected virtual Expr VisitWRAP(
ExprWrap
pExpr)