2 writes to knownColor
System.Drawing.Primitives (2)
System\Drawing\Color.cs (2)
353this.knownColor = unchecked((short)knownColor); 361this.knownColor = unchecked((short)knownColor);
8 references to knownColor
System.Drawing.Primitives (8)
System\Drawing\Color.cs (8)
378public bool IsSystemColor => IsKnownColor && IsKnownColorSystem((KnownColor)knownColor); 401string tablename = KnownColorNames.KnownColorToName((KnownColor)knownColor); 402Debug.Assert(tablename != null, $"Could not find known color '{(KnownColor)knownColor}' in the KnownColorTable"); 425return KnownColorTable.KnownColorToArgb((KnownColor)knownColor); 570public KnownColor ToKnownColor() => (KnownColor)knownColor; 580&& left.knownColor == right.knownColor 601return HashCode.Combine(value.GetHashCode(), state.GetHashCode(), knownColor.GetHashCode());