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:
authorAlex Rønne Petersen <alexrp@xamarin.com>2015-01-30 17:45:43 +0300
committerAlex Rønne Petersen <alexrp@xamarin.com>2015-02-03 05:41:14 +0300
commit43a0088f3fb980b00506f9cd9cac65db69a929ca (patch)
tree1449a818d29973720b3c3a6f8b330c88dbfa4564 /mcs/tests/test-349.cs
parent1b41e15f91f188fd3dba4981cbd7609993f01e84 (diff)
Remove some leftover old 1.x, 2.x, 3.x profile ifdefs.
We no longer support these profiles so these code paths are dead.
Diffstat (limited to 'mcs/tests/test-349.cs')
-rw-r--r--mcs/tests/test-349.cs12
1 files changed, 1 insertions, 11 deletions
diff --git a/mcs/tests/test-349.cs b/mcs/tests/test-349.cs
index c19e0657245..0e3b29ffa48 100644
--- a/mcs/tests/test-349.cs
+++ b/mcs/tests/test-349.cs
@@ -54,17 +54,7 @@ class Test
if ((typeof (X2).Attributes & TypeAttributes.BeforeFieldInit) == 0)
return 2;
-#if NET_2_0
- ConstructorInfo mi = typeof(C).GetConstructors ()[0];
- MethodBody mb = mi.GetMethodBody();
-
- if (mb.GetILAsByteArray ().Length != 7) {
- Console.WriteLine("Optimization failed");
- return 3;
- }
-#endif
-
Console.WriteLine ("OK");
return 0;
}
-} \ No newline at end of file
+}