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:
authorMiguel de Icaza <miguel@gnome.org>2005-09-21 19:52:28 +0400
committerMiguel de Icaza <miguel@gnome.org>2005-09-21 19:52:28 +0400
commitf4415a2a1ed745161c613aabd6a6bd0ba78474cb (patch)
treee3e2d8a55ad28fa600b760920571d8e2e3e0574f /mcs/tests/test-294.cs
parentec9fda635c29a5525591a2f35456216d841415a1 (diff)
Revert changes as they break mscorlib compilation, see http://mono.ximian.com:8008/i386-head-mono/builds/79/build/0
svn path=/trunk/mcs/; revision=50380
Diffstat (limited to 'mcs/tests/test-294.cs')
-rw-r--r--mcs/tests/test-294.cs32
1 files changed, 8 insertions, 24 deletions
diff --git a/mcs/tests/test-294.cs b/mcs/tests/test-294.cs
index 74b68dbb2a6..0d672e77486 100644
--- a/mcs/tests/test-294.cs
+++ b/mcs/tests/test-294.cs
@@ -36,47 +36,31 @@ public class DerivedTest : Test
ObsoleteClass member;
[Obsolete]
- public DerivedTest(string a) : base(a, false)
+ public DerivedTest(string a) : base(a, false)
{
- Name = a;
- }
+ Name = a;
+ }
public string Method ()
{
return base.Name;
}
-
- [Obsolete]
- public void T2 () {}
public static void Main () {}
}
-//TODO: reanable after fix
-//[Obsolete]
-//class ObsoleteClass2: ObsoleteClass
-//{
-//}
-
+[Obsolete]
+class ObsoleteClass2: ObsoleteClass
+{
+}
class ObsoleteClass3
{
- public static readonly double XSmall = 0.6444444444444;
+ public static readonly double XSmall = 0.6444444444444;
[Obsolete ("E1")]
public readonly double X_Small = XSmall;
[Obsolete ("E2")]
public static readonly double X_Small2 = XSmall;
-}
-
-
-class ObsoleteClass4
-{
- [Obsolete]
- public void T ()
- {
- lock (typeof (ObsoleteClass4)) {}
-// lock (typeof (ObsoleteClass2)) {}
- }
} \ No newline at end of file