diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2015-01-30 17:45:43 +0300 |
---|---|---|
committer | Alex Rønne Petersen <alexrp@xamarin.com> | 2015-02-03 05:41:14 +0300 |
commit | 43a0088f3fb980b00506f9cd9cac65db69a929ca (patch) | |
tree | 1449a818d29973720b3c3a6f8b330c88dbfa4564 /mcs/tests/test-349.cs | |
parent | 1b41e15f91f188fd3dba4981cbd7609993f01e84 (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.cs | 12 |
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 +} |