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:
authorKonstantin Triger <kostat@mono-cvs.ximian.com>2007-06-03 17:28:07 +0400
committerKonstantin Triger <kostat@mono-cvs.ximian.com>2007-06-03 17:28:07 +0400
commit0deee132c82d06407676d412df3d0ce9160cf766 (patch)
treeff2586bfbad13447a16bcd9a18a01dba8b0ccaeb
parentcb29c90695c789a1a84f1d8f82fb373e55456dd1 (diff)
fixing ifdefs
svn path=/trunk/mcs/; revision=78503
-rw-r--r--mcs/class/System/System.Diagnostics/TraceListener.cs5
-rw-r--r--mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System/System.Diagnostics/TraceListener.cs b/mcs/class/System/System.Diagnostics/TraceListener.cs
index bab828b89c2..e91e2e4166c 100644
--- a/mcs/class/System/System.Diagnostics/TraceListener.cs
+++ b/mcs/class/System/System.Diagnostics/TraceListener.cs
@@ -94,7 +94,6 @@ namespace System.Diagnostics {
private int indentSize = 4;
#if NET_2_0
- static readonly string [] empty_array = new string [0];
[ThreadStatic]
private StringDictionary attributes = new StringDictionary ();
[ThreadStatic]
@@ -104,6 +103,10 @@ namespace System.Diagnostics {
#endif
#endif
+#if NET_2_0
+ static readonly string [] empty_array = new string [0];
+#endif
+
private string name = null;
private bool needIndent = true;
diff --git a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
index 2078ec09d4c..bd05a9331a3 100644
--- a/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
+++ b/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs
@@ -31,9 +31,11 @@
using System.IO;
using System.Text;
+#if SECURITY_DEP
using Mono.Security;
using Mono.Security.Cryptography;
using MX = Mono.Security.X509;
+#endif
namespace System.Security.Cryptography.X509Certificates {