24 references to SetState
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\NullableWalker.cs (22)
909SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1063SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2623SetState(ref state, slot, newState); 2629SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 2752SetState(ref this.State, slot, state); 3032SetState(ref state, slot, GetState(ref startingState, slot)); 3251SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 3614SetState(ref this.State, slot, resultState); 4954SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 4983SetState(ref state, slot, NullableFlowState.NotNull); 5011SetState(ref state, slot, NullableFlowState.MaybeNull); 5040SetState(ref state, childSlot, NullableFlowState.NotNull); 6442SetState(ref state, memberSlot, NullableFlowState.NotNull); 7584SetState(ref this.State, slot, NullableFlowState.NotNull); 7718SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 7735SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 7762SetState(ref this.State, targetFieldSlot, convertedType.State); 9914SetState(ref this.StateWhenTrue, containingSlot, NullableFlowState.NotNull); 10234SetState(ref this.State, slot, state); 10574SetState(ref this.State, slot, NullableFlowState.NotNull); 10782SetState(ref this.State, memberSlot, 11097SetState(ref this.State, slot, NullableFlowState.NotNull);
FlowAnalysis\NullableWalker_Patterns.cs (2)
443SetState(ref State, outputSlot, NullableFlowState.NotNull); 537SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null