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