diff options
author | Lawrence Pit <lawrence@mono-cvs.ximian.com> | 2002-04-28 13:12:58 +0400 |
---|---|---|
committer | Lawrence Pit <lawrence@mono-cvs.ximian.com> | 2002-04-28 13:12:58 +0400 |
commit | eed54e475f2ebd05024ffaf6a817a9fb72d0140b (patch) | |
tree | 715b394859d32708367f2fe653dac0292866d09a /mcs/class/corlib/System.Security/SecurityElement.cs | |
parent | b04682edc3f4489e82cf017b19924db080bb373f (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-x | mcs/class/corlib/System.Security/SecurityElement.cs | 4 |
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) |