1 write to HasValue
ILLink.RoslynAnalyzer (1)
DataFlow\LocalStateLattice.cs (1)
60public CapturedTargetValue(TValue value) => (HasValue, Value) = (true, value);
9 references to HasValue
ILLink.RoslynAnalyzer (9)
DataFlow\LocalDataFlowVisitor.cs (2)
916if (useStateCapturedTargetValues && capturedTargetValue.HasValue) 940state.Current.LocalState.CapturedTargetValues.Get(new CapturedTargetKey(operation)) is { HasValue: true } capturedValue)
DataFlow\LocalStateLattice.cs (7)
63HasValue == other.HasValue && 64(!HasValue || EqualityComparer<TValue>.Default.Equals(Value, other.Value)); 69public override int GetHashCode() => HasValue ? EqualityComparer<TValue>.Default.GetHashCode(Value) : 0; 72HasValue 90if (!left.HasValue) 92if (!right.HasValue)