10 references to Sideeffects
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\Optimizer.cs (10)
478
case ExprContext.
Sideeffects
:
595
var context = _context == ExprContext.
Sideeffects
&& !node.ConversionHasSideEffects() ?
596
ExprContext.
Sideeffects
:
604
var context = _context == ExprContext.
Sideeffects
?
605
ExprContext.
Sideeffects
:
695
if (_context == ExprContext.
Sideeffects
)
727
var rewrittenSideeffect = this.VisitExpression(sideeffect, ExprContext.
Sideeffects
);
848
this.VisitExpression(node.Expression, ExprContext.
Sideeffects
));
877
case ExprContext.
Sideeffects
:
941
_context == ExprContext.
Sideeffects
, "assignment expression cannot be a target of another assignment");