26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
861
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1188
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2813
SetState
(ref state, slot, newState);
2819
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
2993
SetState
(ref this.State, slot, state);
3339
SetState
(ref state, slot, NullableFlowState.NotNull);
3359
SetState
(ref state, slot, GetState(ref startingState, slot));
3614
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4234
SetState
(ref this.State, slot, resultState);
5681
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5710
SetState
(ref state, slot, NullableFlowState.NotNull);
5738
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5767
SetState
(ref state, childSlot, NullableFlowState.NotNull);
5846
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7664
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
8931
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9071
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9088
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9115
SetState
(ref this.State, targetFieldSlot, convertedType.State);
11505
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
11868
SetState
(ref this.State, slot, state);
12312
SetState
(ref this.State, slot, NullableFlowState.NotNull);
12518
SetState
(ref this.State, memberSlot,
12833
SetState
(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
481
SetState
(ref State, outputSlot, NullableFlowState.NotNull);
579
SetState
(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null