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