<PackageReference Include="System.Drawing.Common" Version="9.0.6" />

SolidBrush

public sealed class SolidBrush : Brush
Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited.
using System.Runtime.CompilerServices; namespace System.Drawing { public sealed class SolidBrush : Brush { public Color Color { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public SolidBrush(Color color) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(1)] public override object Clone() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } protected override void Dispose(bool disposing) { } } }