26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
879
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1206
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2832
SetState
(ref state, slot, newState);
2838
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3012
SetState
(ref this.State, slot, state);
3357
SetState
(ref state, slot, NullableFlowState.NotNull);
3377
SetState
(ref state, slot, GetState(ref startingState, slot));
3630
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4383
SetState
(ref this.State, slot, resultState);
5890
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5919
SetState
(ref state, slot, NullableFlowState.NotNull);
5947
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5976
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6055
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7913
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9237
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9377
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9394
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9421
SetState
(ref this.State, targetFieldSlot, convertedType.State);
11822
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
12183
SetState
(ref this.State, slot, state);
12634
SetState
(ref this.State, slot, NullableFlowState.NotNull);
12840
SetState
(ref this.State, memberSlot,
13155
SetState
(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
462
SetState
(ref State, outputSlot, NullableFlowState.NotNull);
514
SetState
(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null