24 references to SetState
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.cs (22)
909
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1063
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2623
SetState
(ref state, slot, newState);
2629
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
2752
SetState
(ref this.State, slot, state);
3032
SetState
(ref state, slot, GetState(ref startingState, slot));
3251
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
3614
SetState
(ref this.State, slot, resultState);
4954
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
4983
SetState
(ref state, slot, NullableFlowState.NotNull);
5011
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5040
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6442
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
7584
SetState
(ref this.State, slot, NullableFlowState.NotNull);
7718
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
7735
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
7762
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9914
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
10234
SetState
(ref this.State, slot, state);
10574
SetState
(ref this.State, slot, NullableFlowState.NotNull);
10782
SetState
(ref this.State, memberSlot,
11097
SetState
(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
443
SetState
(ref State, outputSlot, NullableFlowState.NotNull);
537
SetState
(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null