2 writes to state
System.Drawing.Primitives (2)
System\Drawing\Color.cs (2)
352
state
= StateKnownColorValid;
360
this.
state
= state;
9 references to state
System.Drawing.Primitives (9)
System\Drawing\Color.cs (9)
373
public bool IsKnownColor => (
state
& StateKnownColorValid) != 0;
375
public bool IsEmpty =>
state
== 0;
377
public bool IsNamedColor => ((
state
& StateNameValid) != 0) || IsKnownColor;
394
if ((
state
& StateNameValid) != 0)
418
if ((
state
& StateValueMask) != 0)
579
(
state
& StateValueMask) != 0 ? $"{nameof(Color)} [A={A}, R={R}, G={G}, B={B}]" :
584
&& left.
state
== right.
state
610
return HashCode.Combine(value.GetHashCode(),
state
.GetHashCode(), knownColor.GetHashCode());