Added.
[mono.git] / mcs / class / System.Drawing / System.Drawing / Brush.cs
1 //
2 // System.Drawing.Brush.cs
3 //
4 // Author:
5 //   Miguel de Icaza (miguel@ximian.com)
6 //
7 // (C) Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System;
11
12 namespace System.Drawing {
13
14         public abstract class Brush : MarshalByRefObject, ICloneable, IDisposable {
15
16                 abstract public object Clone ();
17
18                 public void Dispose ()
19                 {
20                         Dispose (true);
21                         System.GC.SuppressFinalize (this);
22                 }
23
24                 void Dispose (bool disposing)
25                 {
26                         // Nothing for now.
27                 }
28
29                 ~Brush ()
30                 {
31                         Dispose (false);
32                 }
33         }
34 }