26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
855SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1182SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2807SetState(ref state, slot, newState); 2813SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 2987SetState(ref this.State, slot, state); 3333SetState(ref state, slot, NullableFlowState.NotNull); 3353SetState(ref state, slot, GetState(ref startingState, slot)); 3608SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4174SetState(ref this.State, slot, resultState); 5558SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5587SetState(ref state, slot, NullableFlowState.NotNull); 5615SetState(ref state, slot, NullableFlowState.MaybeNull); 5644SetState(ref state, childSlot, NullableFlowState.NotNull); 5723SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7493SetState(ref state, memberSlot, NullableFlowState.NotNull); 8728SetState(ref this.State, slot, NullableFlowState.NotNull); 8868SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 8885SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 8912SetState(ref this.State, targetFieldSlot, convertedType.State); 11154SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 11511SetState(ref this.State, slot, state); 11851SetState(ref this.State, slot, NullableFlowState.NotNull); 12057SetState(ref this.State, memberSlot, 12372SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
481SetState(ref State, outputSlot, NullableFlowState.NotNull); 577SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null