56 references to SlotKind
Microsoft.CodeAnalysis.VisualBasic (56)
Analysis\FlowAnalysis\DataFlowPass.LocalState.vb (11)
44For slot = 0 To SlotKind.FirstAvailable - 1 47For slot = SlotKind.FirstAvailable To self.Assigned.Capacity - 1 66If other(SlotKind.Unreachable) Then 70If receiver(SlotKind.Unreachable) Then 86If id.ContainingSlot >= SlotKind.FirstAvailable AndAlso _state.Assigned(id.ContainingSlot) Then 117Return (slot = SlotKind.NotTracked) OrElse Assigned(SlotKind.Unreachable) OrElse Assigned(slot) 121If slot <> SlotKind.NotTracked Then 127If slot <> SlotKind.NotTracked Then 134Return Me.Assigned.Capacity <= 0 OrElse Not Me.IsAssigned(SlotKind.Unreachable) 140Return IsAssigned(SlotKind.FunctionValue)
Analysis\FlowAnalysis\DataFlowPass.SlotCollection.vb (3)
40Return If(Me._singleValue = SlotKind.Unreachable, 0, 1) 54Debug.Assert(value <> SlotKind.Unreachable) 63Debug.Assert(slot <> SlotKind.Unreachable)
Analysis\FlowAnalysis\DataFlowPass.vb (36)
96Protected nextVariableSlot As Integer = SlotKind.FirstAvailable 405Return SlotKind.NotTracked 409Return If((_variableSlot.TryGetValue(New VariableIdentifier(symbol, containingSlot), slot)), slot, SlotKind.NotTracked) 487If containingSlot = SlotKind.NotTracked Then 488Return SlotKind.NotTracked 504Return SlotKind.NotTracked 614If slot <= SlotKind.FunctionValue Then 626If childSlot <> SlotKind.NotTracked Then 652If slot <= SlotKind.FunctionValue Then 664If childSlot <> SlotKind.NotTracked Then 704If childSlot >= SlotKind.FirstAvailable Then 725state.Unassign(SlotKind.FunctionValue) 757If childSlot >= SlotKind.FirstAvailable Then 775If childSlot <> SlotKind.NotTracked AndAlso Not state.IsAssigned(childSlot) Then 783state.Assign(SlotKind.FunctionValue) 911Debug.Assert(slot <> SlotKind.Unreachable) 913If slot = SlotKind.NotTracked Then 916ElseIf slot = SlotKind.FunctionValue Then 971If slot >= SlotKind.FirstAvailable AndAlso Me.State.Reachable AndAlso Not Me.State.IsAssigned(slot) Then 1012unassignedSlot = SlotKind.NotTracked 1036unassignedSlot = SlotKind.NotTracked 1062unassignedSlot = SlotKind.NotTracked 1066unassignedSlot = SlotKind.NotTracked 1145Optional slot As Integer = SlotKind.NotTracked, 1148If slot < SlotKind.FirstAvailable Then 1238If Not _alreadyReported(SlotKind.FunctionValue) Then 1315_alreadyReported(SlotKind.FunctionValue) = True 1372SetSlotState(SlotKind.FunctionValue, assigned) 1540If slot >= SlotKind.FirstAvailable Then 1572result.Unassign(SlotKind.Unreachable) 1699Me.State.Assigned(SlotKind.FunctionValue) = False 1700Dim save_alreadyReportedFunctionValue = _alreadyReported(SlotKind.FunctionValue) 1701_alreadyReported(SlotKind.FunctionValue) = False 1706_alreadyReported(SlotKind.FunctionValue) = save_alreadyReportedFunctionValue 1707Me.State.Assigned(SlotKind.FunctionValue) = True 1991SetSlotState(SlotKind.FunctionValue, True)
Analysis\FlowAnalysis\DataFlowsInWalker.vb (1)
110Optional slot As Integer = SlotKind.NotTracked,
Analysis\FlowAnalysis\DataFlowsOutWalker.vb (3)
108If slot >= SlotKind.FirstAvailable Then 126If slot >= SlotKind.FirstAvailable Then 144Optional slot As Integer = SlotKind.NotTracked,
Analysis\FlowAnalysis\UnassignedVariablesWalker.vb (1)
39Optional slot As Integer = SlotKind.NotTracked,
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (1)
196For i = SlotKind.FirstAvailable To nextVariableSlot - 1