6 writes to _context
Microsoft.CodeAnalysis.CSharp (6)
CodeGen\Optimizer.cs (6)
466_context = context; 473_context = prevContext; 586_context = prevContext; 1331_context = ExprContext.Value; 1335_context = oldContext; 1534_context = prevContext;
18 references to _context
Microsoft.CodeAnalysis.CSharp (18)
CodeGen\Optimizer.cs (18)
464var prevContext = _context; 575var prevContext = _context; 595var context = _context == ExprContext.Sideeffects && !node.ConversionHasSideEffects() ? 604var context = _context == ExprContext.Sideeffects ? 695if (_context == ExprContext.Sideeffects) 718var origContext = _context; 855switch (_context) 929Debug.Assert(_context != ExprContext.AssignmentTarget, "assignment expression cannot be a target of another assignment"); 932if (node.IsRef || _context == ExprContext.Address) 939Debug.Assert(_context == ExprContext.Value || 940_context == ExprContext.Box || 941_context == ExprContext.Sideeffects, "assignment expression cannot be a target of another assignment"); 987(_context == ExprContext.Address || _context == ExprContext.Value)) 1330var oldContext = _context; 1358_context == ExprContext.AssignmentTarget || 1359_context == ExprContext.Address || 1501var prevContext = _context;