26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
855
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1182
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2807
SetState
(ref state, slot, newState);
2813
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
2987
SetState
(ref this.State, slot, state);
3333
SetState
(ref state, slot, NullableFlowState.NotNull);
3353
SetState
(ref state, slot, GetState(ref startingState, slot));
3608
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4228
SetState
(ref this.State, slot, resultState);
5612
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5641
SetState
(ref state, slot, NullableFlowState.NotNull);
5669
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5698
SetState
(ref state, childSlot, NullableFlowState.NotNull);
5777
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7566
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
8832
SetState
(ref this.State, slot, NullableFlowState.NotNull);
8972
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8989
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9016
SetState
(ref this.State, targetFieldSlot, convertedType.State);
11287
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
11644
SetState
(ref this.State, slot, state);
11984
SetState
(ref this.State, slot, NullableFlowState.NotNull);
12190
SetState
(ref this.State, memberSlot,
12505
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