26 references to SetState
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\NullableWalker.cs (24)
861SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1188SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2813SetState(ref state, slot, newState); 2819SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 2993SetState(ref this.State, slot, state); 3339SetState(ref state, slot, NullableFlowState.NotNull); 3359SetState(ref state, slot, GetState(ref startingState, slot)); 3614SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4234SetState(ref this.State, slot, resultState); 5681SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 5710SetState(ref state, slot, NullableFlowState.NotNull); 5738SetState(ref state, slot, NullableFlowState.MaybeNull); 5767SetState(ref state, childSlot, NullableFlowState.NotNull); 5846SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 7664SetState(ref state, memberSlot, NullableFlowState.NotNull); 8931SetState(ref this.State, slot, NullableFlowState.NotNull); 9071SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9088SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9115SetState(ref this.State, targetFieldSlot, convertedType.State); 11505SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 11868SetState(ref this.State, slot, state); 12312SetState(ref this.State, slot, NullableFlowState.NotNull); 12518SetState(ref this.State, memberSlot, 12833SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
481SetState(ref State, outputSlot, NullableFlowState.NotNull); 579SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null