26 writes to State
Microsoft.CodeAnalysis.VisualBasic (26)
Analysis\FlowAnalysis\AbstractFlowPass.vb (17)
146Me.State = Nothing 154Me.State = _state 362IntersectWith(Me.State, previousState) 376If IntersectWith(oldState, Me.State) Then 430IntersectWith(Me.State, pending.State) 1395Me.IntersectWith(Me.State, trueState) 1425Me.IntersectWith(Me.State, trueState) 1460IntersectWith(Me.State, savedState) 1471IntersectWith(Me.State, savedState) 1476IntersectWith(Me.State, savedState) 1486IntersectWith(Me.State, savedState) 1490IntersectWith(Me.State, savedState) 1829Me.IntersectWith(Me.State, localState) 2021IntersectWith(endState, Me.State) 2043Me.UnionWith(pend.State, Me.State) 2051Me.UnionWith(endState, Me.State) 2501Me.IntersectWith(Me.State, _state)
Analysis\FlowAnalysis\AbstractRegionControlFlowPass.vb (1)
39Me.IntersectWith(finalState, Me.State)
Analysis\FlowAnalysis\DataFlowPass.vb (8)
517Me.Normalize(Me.State) 674Normalize(Me.State) 683SetSlotUnassigned(slot, Me.State) 740Normalize(Me.State) 793SetSlotAssigned(slot, Me.State) 968Normalize(Me.State) 1703Me.IntersectWith(finalState, Me.State) 1716Me.IntersectWith(finalState, Me.State)
67 references to State
Microsoft.CodeAnalysis.VisualBasic (67)
Analysis\FlowAnalysis\AbstractFlowPass.vb (28)
165SetConditionalState(Me.State, Me.State.Clone()) 364Me._loopHeadState(node) = Me.State.Clone() 769Me.SetConditionalState(Me.State, UnreachableState()) 772Me.SetConditionalState(UnreachableState(), Me.State) 1150savedState = Me.State.Clone() 1390trueState = Me.State 1421trueState = Me.State 1438Dim savedState As LocalState = Me.State.Clone() 1450Dim savedState As LocalState = Me.State.Clone() 1458Dim savedState As LocalState = Me.State.Clone() 1468Dim savedState As LocalState = Me.State.Clone() 1474savedState = Me.State.Clone() 1483Dim savedState As LocalState = Me.State.Clone() 1488savedState = Me.State.Clone() 1503Me._pendingBranches.Add(New PendingBranch(node, Me.State, Me._nesting)) 1512Me._pendingBranches.Add(New PendingBranch(node, Me.State, Me._nesting)) 1742Dim saved As LocalState = Me.State.Clone() 1784ResolveBreaks(Me.State, node.ExitLabel) 1808Dim savedState As LocalState = Me.State.Clone() 1821caseBlockStateBuilder.Add(Me.State.Clone()) 2011Dim initialState = Me.State.Clone() 2015Dim endState = Me.State 2409Me._pendingBranches.Add(New PendingBranch(node, Me.State, Me._nesting)) 2415Me._pendingBranches.Add(New PendingBranch(node, Me.State, Me._nesting)) 2490Me._pendingBranches.Add(New PendingBranch(node, Me.State, Me._nesting)) 2502Me._labels(label) = New LabelStateAndNesting(node, Me.State.Clone(), Me._nesting) 2607Dim savedState As LocalState = Me.State.Clone()
Analysis\FlowAnalysis\AbstractRegionControlFlowPass.vb (1)
34Dim finalState As LocalState = Me.State
Analysis\FlowAnalysis\AlwaysAssignedWalker.vb (1)
69_endOfRegionState = MyBase.State.Clone()
Analysis\FlowAnalysis\ControlFlowPass.vb (7)
33Return New LocalState(False, Me.State.Reported) 61Return walker.State.Alive 81If Not Me.State.Alive AndAlso Not Me.State.Reported Then 90Me.State.Reported = True 101Me.State.Reported = True 111Me.State.Reported = True
Analysis\FlowAnalysis\DataFlowPass.vb (21)
673If slot >= Me.State.Assigned.Capacity Then 739If slot >= Me.State.Assigned.Capacity Then 920Me.State.Assign(slot) 922Me.State.Unassign(slot) 967If slot >= Me.State.Assigned.Capacity Then 971If slot >= SlotKind.FirstAvailable AndAlso Me.State.Reachable AndAlso Not Me.State.IsAssigned(slot) Then 984If Me.State.Reachable AndAlso Not IsAssigned(fieldAccess, unassignedSlot) Then 1064Return Me.State.IsAssigned(unassignedSlot) 1218If Not Me.State.FunctionAssignedValue AndAlso Not _seenOnErrorOrResume Then 1340Dim written As Boolean = assigned OrElse Not Me.State.Reachable 1351Dim written As Boolean = assigned OrElse Not Me.State.Reachable 1535Me.State.Assign(slot) 1541If Me.State.Reachable Then 1551If Not Me.State.IsAssigned(slot) Then 1595Return Not Me.State.Reachable OrElse 1691Dim finalState As LocalState = Me.State 1693Me.State.Assigned(SlotKind.FunctionValue) = False 1701Me.State.Assigned(SlotKind.FunctionValue) = True 1711Dim finalState As LocalState = Me.State.Clone() 1944If Not Me.State.Reachable Then
Analysis\FlowAnalysis\DataFlowsInWalker.vb (2)
62Me.SetState(ResetState(Me.State)) 101If Not Me.State.IsAssigned(VariableSlot(firstLocal)) Then
Analysis\FlowAnalysis\DataFlowsOutWalker.vb (3)
72If Not Me.State.IsAssigned(slot) AndAlso variable.Kind <> SymbolKind.RangeVariable AndAlso 98If Me.State.Reachable Then 176If Me.State.Reachable Then
Analysis\FlowAnalysis\DefinitelyAssignedWalker.vb (1)
58Me.ProcessState(definitelyAssigned, Me.State, state2opt:=Nothing)
Analysis\FlowAnalysis\RegionReachableWalker.vb (3)
27endPointIsReachable = If(walker._regionEndPointIsReachable.HasValue, walker._regionEndPointIsReachable.Value, walker.State.Alive) 45_regionStartPointIsReachable = State.Alive 50_regionEndPointIsReachable = State.Alive