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:
authorLawrence Pit <lawrence@mono-cvs.ximian.com>2002-04-28 13:12:58 +0400
committerLawrence Pit <lawrence@mono-cvs.ximian.com>2002-04-28 13:12:58 +0400
commiteed54e475f2ebd05024ffaf6a817a9fb72d0140b (patch)
tree715b394859d32708367f2fe653dac0292866d09a /mcs/class/corlib/System.Security/SecurityElement.cs
parentb04682edc3f4489e82cf017b19924db080bb373f (diff)
Socket permission stuff, not yet used by Socket itself.
svn path=/trunk/mcs/; revision=4101
Diffstat (limited to 'mcs/class/corlib/System.Security/SecurityElement.cs')
-rwxr-xr-xmcs/class/corlib/System.Security/SecurityElement.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/corlib/System.Security/SecurityElement.cs b/mcs/class/corlib/System.Security/SecurityElement.cs
index 5fa856b42fb..47bda9d0cc0 100755
--- a/mcs/class/corlib/System.Security/SecurityElement.cs
+++ b/mcs/class/corlib/System.Security/SecurityElement.cs
@@ -322,9 +322,9 @@ namespace System.Security
else {
s.Append (">").Append (text);
if (children != null) {
- for (int i = 0; i < children.Count; i++) {
+ foreach (SecurityElement child in children) {
s.Append (Environment.NewLine);
- ((SecurityElement) children [i]).ToXml (ref s, level + 1);
+ child.ToXml (ref s, level + 1);
}
}
s.Append (Environment.NewLine)