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