26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
851SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1178SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2792SetState(ref state, slot, newState); 2798SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 2972SetState(ref this.State, slot, state); 3317SetState(ref state, slot, NullableFlowState.NotNull); 3337SetState(ref state, slot, GetState(ref startingState, slot)); 3592SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4158SetState(ref this.State, slot, resultState); 5547SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5576SetState(ref state, slot, NullableFlowState.NotNull); 5604SetState(ref state, slot, NullableFlowState.MaybeNull); 5633SetState(ref state, childSlot, NullableFlowState.NotNull); 5712SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7366SetState(ref state, memberSlot, NullableFlowState.NotNull); 8595SetState(ref this.State, slot, NullableFlowState.NotNull); 8735SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 8752SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 8779SetState(ref this.State, targetFieldSlot, convertedType.State); 10976SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 11333SetState(ref this.State, slot, state); 11673SetState(ref this.State, slot, NullableFlowState.NotNull); 11879SetState(ref this.State, memberSlot, 12194SetState(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