26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
851
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1178
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2792
SetState
(ref state, slot, newState);
2798
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
2972
SetState
(ref this.State, slot, state);
3317
SetState
(ref state, slot, NullableFlowState.NotNull);
3337
SetState
(ref state, slot, GetState(ref startingState, slot));
3592
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4158
SetState
(ref this.State, slot, resultState);
5547
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5576
SetState
(ref state, slot, NullableFlowState.NotNull);
5604
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5633
SetState
(ref state, childSlot, NullableFlowState.NotNull);
5712
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7366
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
8595
SetState
(ref this.State, slot, NullableFlowState.NotNull);
8735
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8752
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8779
SetState
(ref this.State, targetFieldSlot, convertedType.State);
10976
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
11333
SetState
(ref this.State, slot, state);
11673
SetState
(ref this.State, slot, NullableFlowState.NotNull);
11879
SetState
(ref this.State, memberSlot,
12194
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