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:
authorBen Maurer <benm@mono-cvs.ximian.com>2004-04-30 02:05:39 +0400
committerBen Maurer <benm@mono-cvs.ximian.com>2004-04-30 02:05:39 +0400
commit5f19f39562d72509ec0cfa5fd92dbaa73a355648 (patch)
treea5b8962f0c797f5ba75b3a548a00671a3971d0ed /mcs/class/corlib/System.Security/SecurityElement.cs
parent645621c0571e30e39f4944cda0699883ceaa1f21 (diff)
...
svn path=/trunk/mcs/; revision=26350
Diffstat (limited to 'mcs/class/corlib/System.Security/SecurityElement.cs')
-rwxr-xr-xmcs/class/corlib/System.Security/SecurityElement.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/mcs/class/corlib/System.Security/SecurityElement.cs b/mcs/class/corlib/System.Security/SecurityElement.cs
index f4317c6abdd..04936653b00 100755
--- a/mcs/class/corlib/System.Security/SecurityElement.cs
+++ b/mcs/class/corlib/System.Security/SecurityElement.cs
@@ -56,11 +56,11 @@ namespace System.Security
// }
// note: this is actually an incorrect implementation of MS, as for example the &
// character is not a valid character in tag names.
- private static char [] invalid_tag_chars = new char [] { ' ', '<', '>' };
- private static char [] invalid_text_chars = new char [] { '<', '>' };
- private static char [] invalid_attr_name_chars = new char [] { ' ', '<', '>' };
- private static char [] invalid_attr_value_chars = new char [] { '"', '<', '>' };
- private static char [] invalid_chars = new char [] { '<', '>', '"', '\'', '&' };
+ private static readonly char [] invalid_tag_chars = new char [] { ' ', '<', '>' };
+ private static readonly char [] invalid_text_chars = new char [] { '<', '>' };
+ private static readonly char [] invalid_attr_name_chars = new char [] { ' ', '<', '>' };
+ private static readonly char [] invalid_attr_value_chars = new char [] { '"', '<', '>' };
+ private static readonly char [] invalid_chars = new char [] { '<', '>', '"', '\'', '&' };
public SecurityElement (string tag) : this (tag, null)
{