Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/System.ComponentModel/ReadOnlyAttribute.cs')
-rwxr-xr-xmcs/class/System/System.ComponentModel/ReadOnlyAttribute.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/mcs/class/System/System.ComponentModel/ReadOnlyAttribute.cs b/mcs/class/System/System.ComponentModel/ReadOnlyAttribute.cs
deleted file mode 100755
index 4b332e16e7d..00000000000
--- a/mcs/class/System/System.ComponentModel/ReadOnlyAttribute.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// ReadOnlyAttribute.cs
-//
-// Author:
-// Chris J Breisch (cjbreisch@altavista.net)
-//
-// (C) 2002 Chris J Breisch
-//
-namespace System.ComponentModel {
- [AttributeUsage (AttributeTargets.All)]
- sealed public class ReadOnlyAttribute : Attribute {
- bool read_only;
-
- public static readonly ReadOnlyAttribute No;
- public static readonly ReadOnlyAttribute Yes;
- public static readonly ReadOnlyAttribute Default;
-
- static ReadOnlyAttribute ()
- {
- No = new ReadOnlyAttribute (false);
- Yes = new ReadOnlyAttribute (false);
- Default = new ReadOnlyAttribute (false);
- }
-
- public ReadOnlyAttribute (bool read_only)
- {
- this.read_only = read_only;
- }
-
- public bool IsReadOnly {
- get {
- return read_only;
- }
- }
- };
-}