9 instantiations of LocalState
Microsoft.CodeAnalysis.CSharp (9)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
112return new LocalState(BitVector.Empty);
FlowAnalysis\DataFlowsInWalker.cs (1)
58return new LocalState(BitVector.Empty);
FlowAnalysis\DefiniteAssignment.cs (6)
189State = new LocalState(BitVector.Empty); 208State = new LocalState(BitVector.Empty); 230State = new LocalState(BitVector.Empty); 1804var topState = new LocalState(BitVector.Empty); 1884var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 2938return new LocalState(Assigned.Clone());
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
32new LocalState(BitVector.AllSet(variableBySlot.Count), normalizeToBottom: true),
34 references to LocalState
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AlwaysAssignedWalker.cs (2)
25private LocalState _endOfRegionState; 110protected override LocalState TopState()
FlowAnalysis\DataFlowsInWalker.cs (3)
56protected override LocalState TopState() 61private LocalState ResetState(LocalState state)
FlowAnalysis\DefiniteAssignment.cs (22)
37DefiniteAssignmentPass.LocalState, 390var savedState = this.State; 1042protected override void Normalize(ref LocalState state) 1688private bool FieldsAllSet(int containingSlot, LocalState state) 1725protected void SetSlotAssigned(int slot, ref LocalState state) 1761private void SetSlotUnassigned(int slot, ref LocalState state) 1794var state = NonMonotonicState.Value; 1802protected override LocalState TopState() 1804var topState = new LocalState(BitVector.Empty); 1882protected override LocalState ReachableBottomState() 1884var result = new LocalState(BitVector.AllSet(variableBySlot.Count)); 1982protected override LocalState UnreachableState() 1984LocalState result = this.State.Clone(); 1995var whenFail = StateWhenFalse; 2446LocalState stateAfterLambda = this.State; 2690protected override void VisitCatchBlock(BoundCatchBlock catchBlock, ref LocalState finallyState) 2830protected override string Dump(LocalState state) 2865protected override bool Meet(ref LocalState self, ref LocalState other) 2891protected override bool Join(ref LocalState self, ref LocalState other) 2936public LocalState Clone()
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (4)
21public LocalFunctionState(LocalState stateFromBottom, LocalState stateFromTop) 193ref LocalState stateAtReturn) 205var state = NonMonotonicState.Value;
FlowAnalysis\DefinitelyAssignedWalker.cs (2)
86private void ProcessState(HashSet<Symbol> definitelyAssigned, LocalState state1, LocalState state2opt)
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
327protected override void VisitFinallyBlock(BoundStatement finallyBlock, ref LocalState unsetInFinally)