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