diff options
Diffstat (limited to 'mcs/class/System/System.IO/IODescriptionAttribute.cs')
-rw-r--r-- | mcs/class/System/System.IO/IODescriptionAttribute.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mcs/class/System/System.IO/IODescriptionAttribute.cs b/mcs/class/System/System.IO/IODescriptionAttribute.cs new file mode 100644 index 00000000000..10e22173cc7 --- /dev/null +++ b/mcs/class/System/System.IO/IODescriptionAttribute.cs @@ -0,0 +1,40 @@ +//
+// System.IO.IODescriptionAttribute.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) Tim Coleman, 2002
+//
+
+using System;
+using System.ComponentModel;
+
+namespace System.IO {
+ [AttributeUsage (AttributeTargets.All)]
+ public class IODescriptionAttribute : DescriptionAttribute {
+
+ #region Fields
+
+ string description;
+
+ #endregion // Fields
+
+ #region Constructors
+
+ public IODescriptionAttribute (string description)
+ : base (description)
+ {
+ }
+
+ #endregion // Constructors
+
+ #region Methods
+
+ public override string Description {
+ get { return DescriptionValue; }
+ }
+
+ #endregion // Methods
+ }
+}
|