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:
authorZoltan Varga <vargaz@gmail.com>2015-01-13 23:29:38 +0300
committerZoltan Varga <vargaz@gmail.com>2015-01-13 23:29:38 +0300
commit0985d4aa4be4a9286db4e36cf75e3b18a31e5ff9 (patch)
tree46b65e83cd552237e592e85486afcca719d8a9c3 /mcs/class/Cscompmgd
parentf54652de26710952d4f80e25d87a87b346a86992 (diff)
[bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>.
Diffstat (limited to 'mcs/class/Cscompmgd')
-rw-r--r--mcs/class/Cscompmgd/Assembly/AssemblyInfo.cs2
-rw-r--r--mcs/class/Cscompmgd/Microsoft.CSharp/Compiler.cs2
-rw-r--r--mcs/class/Cscompmgd/Microsoft.CSharp/CompilerError.cs2
-rw-r--r--mcs/class/Cscompmgd/Microsoft.CSharp/ErrorLevel.cs2
4 files changed, 0 insertions, 8 deletions
diff --git a/mcs/class/Cscompmgd/Assembly/AssemblyInfo.cs b/mcs/class/Cscompmgd/Assembly/AssemblyInfo.cs
index 454b5aee2b4..1150e8257f8 100644
--- a/mcs/class/Cscompmgd/Assembly/AssemblyInfo.cs
+++ b/mcs/class/Cscompmgd/Assembly/AssemblyInfo.cs
@@ -33,9 +33,7 @@ using System.Reflection;
using System.Resources;
using System.Diagnostics;
using System.Runtime.CompilerServices;
-#if NET_2_0
using System.Runtime.ConstrainedExecution;
-#endif
using System.Runtime.InteropServices;
// General Information about the cscompmgd assembly
diff --git a/mcs/class/Cscompmgd/Microsoft.CSharp/Compiler.cs b/mcs/class/Cscompmgd/Microsoft.CSharp/Compiler.cs
index 75d36dabbca..5b75d9c8904 100644
--- a/mcs/class/Cscompmgd/Microsoft.CSharp/Compiler.cs
+++ b/mcs/class/Cscompmgd/Microsoft.CSharp/Compiler.cs
@@ -36,9 +36,7 @@ using System.Text.RegularExpressions;
namespace Microsoft.CSharp {
-#if NET_2_0
[System.Obsolete]
-#endif
public class Compiler {
private Compiler()
diff --git a/mcs/class/Cscompmgd/Microsoft.CSharp/CompilerError.cs b/mcs/class/Cscompmgd/Microsoft.CSharp/CompilerError.cs
index 13e25ab9b81..4eb32d21bea 100644
--- a/mcs/class/Cscompmgd/Microsoft.CSharp/CompilerError.cs
+++ b/mcs/class/Cscompmgd/Microsoft.CSharp/CompilerError.cs
@@ -32,9 +32,7 @@ using System.Text;
namespace Microsoft.CSharp {
-#if NET_2_0
[System.Obsolete]
-#endif
public class CompilerError {
public ErrorLevel ErrorLevel;
diff --git a/mcs/class/Cscompmgd/Microsoft.CSharp/ErrorLevel.cs b/mcs/class/Cscompmgd/Microsoft.CSharp/ErrorLevel.cs
index ccc61aeb990..791c2bc5b08 100644
--- a/mcs/class/Cscompmgd/Microsoft.CSharp/ErrorLevel.cs
+++ b/mcs/class/Cscompmgd/Microsoft.CSharp/ErrorLevel.cs
@@ -29,9 +29,7 @@
namespace Microsoft.CSharp {
-#if NET_2_0
[System.Obsolete]
-#endif
public enum ErrorLevel {
None,
Warning,