6 writes to State
Microsoft.CodeAnalysis.CSharp (6)
FlowAnalysis\AbstractFlowPass.cs (3)
406
this.
State
= state.Clone();
800
var changed = Join(ref state, ref pending.
State
);
1866
updatePendingBranchState(ref pend.
State
, ref stateMovedUpInFinally);
FlowAnalysis\AlwaysAssignedWalker.cs (2)
86
pending.
State
= pending.State.Reachable ? TopState() : UnreachableState();
138
Join(ref _endOfRegionState, ref branch.
State
);
FlowAnalysis\DataFlowsInWalker.cs (1)
87
pending.
State
= ResetState(pending.State);
13 references to State
Microsoft.CodeAnalysis.CSharp (13)
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (1)
122
this.State = pending.
State
;
FlowAnalysis\AbstractRegionControlFlowPass.cs (1)
44
this.State = returnBranch.
State
;
FlowAnalysis\AlwaysAssignedWalker.cs (1)
86
pending.State = pending.
State
.Reachable ? TopState() : UnreachableState();
FlowAnalysis\DataFlowsInWalker.cs (1)
87
pending.State = ResetState(pending.
State
);
FlowAnalysis\DefiniteAssignment.cs (2)
385
this.State = returnBranch.
State
;
2448
this.State = pending.
State
;
FlowAnalysis\NullableWalker.cs (7)
610
enforceMemberNotNull(syntaxOpt: pendingReturn.Branch.Syntax, pendingReturn.
State
);
614
EnforceParameterNotNullOnExit(returnStatement.Syntax, pendingReturn.
State
);
1066
enforceMemberNotNullWhen(returnStatement.Syntax, sense: value, pendingReturn.
State
);
1224
EnforceParameterNotNullWhenOnExit(returnStatement.Syntax, parameters, sense: value, stateWhen: pendingReturn.
State
);
1246
EnforceParameterNotNullWhenOnExit(returnStatement.Syntax, parameters, sense: value, stateWhen: pendingReturn.
State
);
3361
enforceMemberNotNull(syntax: pendingReturn.Branch?.Syntax, pendingReturn.
State
);
3366
EnforceParameterNotNullOnExit(returnStatement.Syntax, pendingReturn.
State
);