26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
878
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1205
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2831
SetState
(ref state, slot, newState);
2837
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3011
SetState
(ref this.State, slot, state);
3356
SetState
(ref state, slot, NullableFlowState.NotNull);
3376
SetState
(ref state, slot, GetState(ref startingState, slot));
3629
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4248
SetState
(ref this.State, slot, resultState);
5732
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5761
SetState
(ref state, slot, NullableFlowState.NotNull);
5789
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5818
SetState
(ref state, childSlot, NullableFlowState.NotNull);
5897
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7756
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9069
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9209
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9226
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9253
SetState
(ref this.State, targetFieldSlot, convertedType.State);
11639
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
11999
SetState
(ref this.State, slot, state);
12450
SetState
(ref this.State, slot, NullableFlowState.NotNull);
12656
SetState
(ref this.State, memberSlot,
12971
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