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

Brush

public abstract class Brush : MarshalByRefObject, ICloneable, IDisposable
Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.
using System.Runtime.CompilerServices; namespace System.Drawing { public abstract class Brush : MarshalByRefObject, ICloneable, IDisposable { protected Brush() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(1)] public abstract object Clone(); public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~Brush() { } protected internal void SetNativeBrush(IntPtr brush) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }