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