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 1030unassignedSlot = SlotKind.NotTracked 1056unassignedSlot = SlotKind.NotTracked 1060unassignedSlot = SlotKind.NotTracked 1139Optional slot As Integer = SlotKind.NotTracked, 1142If slot < SlotKind.FirstAvailable Then 1232If Not _alreadyReported(SlotKind.FunctionValue) Then 1309_alreadyReported(SlotKind.FunctionValue) = True 1366SetSlotState(SlotKind.FunctionValue, assigned) 1534If slot >= SlotKind.FirstAvailable Then 1566result.Unassign(SlotKind.Unreachable) 1693Me.State.Assigned(SlotKind.FunctionValue) = False 1694Dim save_alreadyReportedFunctionValue = _alreadyReported(SlotKind.FunctionValue) 1695_alreadyReported(SlotKind.FunctionValue) = False 1700_alreadyReported(SlotKind.FunctionValue) = save_alreadyReportedFunctionValue 1701Me.State.Assigned(SlotKind.FunctionValue) = True 1985SetSlotState(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