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)
911SetState(ref this.State, memberSlot, type.Type.IsPossiblyNullableReferenceTypeTypeParameter() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull); 1263SetState(ref this.State, memberSlot, NullableFlowState.MaybeNull); 2915SetState(ref state, slot, newState); 2921SetState(ref tryState, slot, newState.Join(GetState(ref tryState, slot)), useNotNullsAsDefault: true); 3095SetState(ref this.State, slot, state); 3440SetState(ref state, slot, NullableFlowState.NotNull); 3460SetState(ref state, slot, GetState(ref startingState, slot)); 3740SetState(ref this.State, slot, GetDefaultState(ref this.State, slot)); 4502SetState(ref this.State, slot, resultState); 4582SetState(ref this.State, iUnionValuePropertySlot, state); 6076SetState(ref stateToUpdate, slot, NullableFlowState.NotNull); 6105SetState(ref state, slot, NullableFlowState.NotNull); 6133SetState(ref state, slot, NullableFlowState.MaybeNull); 6162SetState(ref state, childSlot, NullableFlowState.NotNull); 6241SetState(ref this.State, leftSlot, NullableFlowState.NotNull); 8168SetState(ref state, memberSlot, NullableFlowState.NotNull); 9508SetState(ref this.State, slot, NullableFlowState.NotNull); 9649SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9666SetState(ref this.State, targetFieldSlot, NullableFlowState.NotNull); 9693SetState(ref this.State, targetFieldSlot, convertedType.State); 9733SetState(ref this.State, conversionOperandSlot, valueFieldType.State); 9760SetState(ref this.State, targetFieldSlot, convertedType.State); 9765SetState(ref this.State, valueFieldSlot, GetState(ref this.State, conversionOperandSlot)); 12506SetState(ref this.StateWhenTrue, slotToSet, NullableFlowState.NotNull); 12866SetState(ref this.State, slot, state); 13315SetState(ref this.State, slot, NullableFlowState.NotNull); 13521SetState(ref this.State, memberSlot, 13836SetState(ref this.State, slot, NullableFlowState.NotNull);