30 references to SetState
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\NullableWalker_Patterns.cs (2)
466SetState(ref State, outputSlot, NullableFlowState.NotNull); 518SetState(ref this.State, outputSlot, NullableFlowState.NotNull); // Slice value is assumed to be never null
FlowAnalysis\NullableWalker.cs (28)
909SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1261SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2920SetState(ref state, slot, newState); 2926SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3100SetState(ref this.State, slot, state); 3445SetState(ref state, slot, NullableFlowState.NotNull); 3465SetState(ref state, slot, GetState(ref startingState, slot)); 3745SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4500SetState(ref this.State, slot, resultState); 4564SetState(ref this.State, iUnionValuePropertySlot, operandState); 6058SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 6087SetState(ref state, slot, NullableFlowState.NotNull); 6115SetState(ref state, slot, NullableFlowState.MaybeNull); 6144SetState(ref state, childSlot, NullableFlowState.NotNull); 6223SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 8143SetState(ref state, memberSlot, NullableFlowState.NotNull); 9483SetState(ref this.State, slot, NullableFlowState.NotNull); 9624SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9641SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9668SetState(ref this.State, targetFieldSlot, convertedType.State); 9700SetState(ref this.State, conversionOperandSlot, valueFieldType.State); 9720SetState(ref this.State, targetFieldSlot, convertedType.State); 9725SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 12440SetState(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull); 12800SetState(ref this.State, slot, state); 13249SetState(ref this.State, slot, NullableFlowState.NotNull); 13455SetState(ref this.State, memberSlot, 13770SetState(ref this.State, slot, NullableFlowState.NotNull);