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)
464
var prevContext =
_context
;
575
var prevContext =
_context
;
595
var context =
_context
== ExprContext.Sideeffects && !node.ConversionHasSideEffects() ?
604
var context =
_context
== ExprContext.Sideeffects ?
695
if (
_context
== ExprContext.Sideeffects)
718
var origContext =
_context
;
855
switch (
_context
)
929
Debug.Assert(
_context
!= ExprContext.AssignmentTarget, "assignment expression cannot be a target of another assignment");
932
if (node.IsRef ||
_context
== ExprContext.Address)
939
Debug.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))
1330
var oldContext =
_context
;
1358
_context
== ExprContext.AssignmentTarget ||
1359
_context
== ExprContext.Address ||
1501
var prevContext =
_context
;