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