30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker_Patterns.cs (2)
466
SetState
(ref State, outputSlot, NullableFlowState.NotNull);
518
SetState
(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null
FlowAnalysis\NullableWalker.cs (28)
911
SetState
(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull);
1263
SetState
(ref this.State, memberSlot, NullableFlowState.MaybeNull);
2915
SetState
(ref state, slot, newState);
2921
SetState
(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true);
3095
SetState
(ref this.State, slot, state);
3440
SetState
(ref state, slot, NullableFlowState.NotNull);
3460
SetState
(ref state, slot, GetState(ref startingState, slot));
3740
SetState
(ref this.State, slot, GetDefaultState(ref this.State, slot));
4502
SetState
(ref this.State, slot, resultState);
4582
SetState
(ref this.State, iUnionValuePropertySlot, state);
6076
SetState
(ref stateToUpdate, slot, NullableFlowState.NotNull);
6105
SetState
(ref state, slot, NullableFlowState.NotNull);
6133
SetState
(ref state, slot, NullableFlowState.MaybeNull);
6162
SetState
(ref state, childSlot, NullableFlowState.NotNull);
6241
SetState
(ref this.State, leftSlot, NullableFlowState.NotNull);
8168
SetState
(ref state, memberSlot, NullableFlowState.NotNull);
9508
SetState
(ref this.State, slot, NullableFlowState.NotNull);
9649
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9666
SetState
(ref this.State, targetFieldSlot, NullableFlowState.NotNull);
9693
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9733
SetState
(ref this.State, conversionOperandSlot, valueFieldType.State);
9760
SetState
(ref this.State, targetFieldSlot, convertedType.State);
9765
SetState
(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot));
12506
SetState
(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull);
12866
SetState
(ref this.State, slot, state);
13315
SetState
(ref this.State, slot, NullableFlowState.NotNull);
13521
SetState
(ref this.State, memberSlot,
13836
SetState
(ref this.State, slot, NullableFlowState.NotNull);