26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
841
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1108
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2690
SetState
(ref state, slot, newState);
2696
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
2830
SetState
(ref this.State, slot, state);
3175
SetState
(ref state, slot, NullableFlowState.NotNull);
3195
SetState
(ref state, slot, GetState(ref startingState, slot));
3450
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4014
SetState
(ref this.State, slot, resultState);
5400
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5429
SetState
(ref state, slot, NullableFlowState.NotNull);
5457
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5486
SetState
(ref state, childSlot, NullableFlowState.NotNull);
5565
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7205
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
8432
SetState
(ref this.State, slot, NullableFlowState.NotNull);
8572
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8589
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8616
SetState
(ref this.State, targetFieldSlot, convertedType.State);
10795
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
11152
SetState
(ref this.State, slot, state);
11492
SetState
(ref this.State, slot, NullableFlowState.NotNull);
11698
SetState
(ref this.State, memberSlot,
12013
SetState
(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
481
SetState
(ref State, outputSlot, NullableFlowState.NotNull);
577
SetState
(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null