26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
842
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1169
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2751
SetState
(ref state, slot, newState);
2757
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
2891
SetState
(ref this.State, slot, state);
3236
SetState
(ref state, slot, NullableFlowState.NotNull);
3256
SetState
(ref state, slot, GetState(ref startingState, slot));
3511
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4075
SetState
(ref this.State, slot, resultState);
5461
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
5490
SetState
(ref state, slot, NullableFlowState.NotNull);
5518
SetState
(ref state, slot, NullableFlowState.MaybeNull);
5547
SetState
(ref state, childSlot, NullableFlowState.NotNull);
5626
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
7266
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
8493
SetState
(ref this.State, slot, NullableFlowState.NotNull);
8633
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8650
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
8677
SetState
(ref this.State, targetFieldSlot, convertedType.State);
10856
SetState
(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull);
11213
SetState
(ref this.State, slot, state);
11553
SetState
(ref this.State, slot, NullableFlowState.NotNull);
11759
SetState
(ref this.State, memberSlot,
12074
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