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