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