2 writes to state
System.Drawing.Primitives (2)
System\Drawing\Color.cs (2)
351
state
= StateKnownColorValid;
359
this.
state
= state;
9 references to state
System.Drawing.Primitives (9)
System\Drawing\Color.cs (9)
372
public bool IsKnownColor => (
state
& StateKnownColorValid) != 0;
374
public bool IsEmpty =>
state
== 0;
376
public bool IsNamedColor => ((
state
& StateNameValid) != 0) || IsKnownColor;
393
if ((
state
& StateNameValid) != 0)
417
if ((
state
& StateValueMask) != 0)
574
(
state
& StateValueMask) != 0 ? $"{nameof(Color)} [A={A}, R={R}, G={G}, B={B}]" :
579
&& left.
state
== right.
state
601
return HashCode.Combine(value.GetHashCode(),
state
.GetHashCode(), knownColor.GetHashCode());