50 references to XMLUtil
mscorlib (50)
system\appdomain.cs (1)
2862
IPermission ip = System.Security.Util.
XMLUtil
.CreatePermission( root, PermissionState.None, false );
system\security\builtinpermissionsets.cs (1)
334
if (System.Security.Util.
XMLUtil
.GetClassFromElement(firstPermission, /*ignoreTypeLoadFailures*/true) != null)
system\security\codeaccesspermission.cs (2)
170
XMLUtil
.AddClassAttribute( root, perm.GetType(), permname );
185
if (!
XMLUtil
.IsPermissionElement( perm, elem ))
system\security\permissions\environmentpermission.cs (1)
374
if (
XMLUtil
.IsUnrestricted(esd))
system\security\permissions\filedialogpermission.cs (1)
78
if (
XMLUtil
.IsUnrestricted(esd)) {
system\security\permissions\fileiopermission.cs (1)
841
if (
XMLUtil
.IsUnrestricted(esd))
system\security\permissions\hostprotectionpermission.cs (2)
268
esd.AddAttribute( "Resources",
XMLUtil
.BitFieldEnumToString( typeof( HostProtectionResource ), Resources ) );
275
if (
XMLUtil
.IsUnrestricted( esd ))
system\security\permissions\isolatedstoragepermission.cs (1)
242
if (
XMLUtil
.IsUnrestricted(esd))
system\security\permissions\keycontainerpermission.cs (1)
561
if (
XMLUtil
.IsUnrestricted(securityElement)) {
system\security\permissions\principalpermission.cs (1)
523
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Permissions.PrincipalPermission" );
system\security\permissions\reflectionpermission.cs (2)
281
esd.AddAttribute( "Flags",
XMLUtil
.BitFieldEnumToString( typeof( ReflectionPermissionFlag ), m_flags ) );
293
if (
XMLUtil
.IsUnrestricted( esd ))
system\security\permissions\registrypermission.cs (1)
445
if (
XMLUtil
.IsUnrestricted( esd ))
system\security\permissions\securitypermission.cs (2)
287
esd.AddAttribute( "Flags",
XMLUtil
.BitFieldEnumToString( typeof( SecurityPermissionFlag ), m_flags ) );
299
if (
XMLUtil
.IsUnrestricted( esd ))
system\security\permissions\uipermission.cs (1)
344
if (
XMLUtil
.IsUnrestricted( esd ))
system\security\permissionset.cs (2)
1767
m_Unrestricted =
XMLUtil
.IsUnrestricted( et );
2044
finalPerm =
XMLUtil
.CreatePermission( GetPermissionElement((SecurityElement)enumerator.Current), PermissionState.Unrestricted, ignoreTypeLoadFailures );
system\security\policy\allmembershipcondition.cs (1)
65
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.AllMembershipCondition" );
system\security\policy\applicationdirectorymembershipcondition.cs (1)
104
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.ApplicationDirectoryMembershipCondition" );
system\security\policy\applicationtrust.cs (1)
311
ISecurityEncodable encodableObj =
XMLUtil
.CreateCodeGroup(elObject) as ISecurityEncodable;
system\security\policy\codegroup.cs (5)
333
System.Security.Util.
XMLUtil
.AddClassAttribute( e, this.GetType(), policyClassName );
362
e.AddAttribute( "Attributes",
XMLUtil
.BitFieldEnumToString( typeof( PolicyStatementAttribute ), m_policy.Attributes ) );
433
membershipCondition = System.Security.Util.
XMLUtil
.CreateMembershipCondition( elMembershipCondition );
502
CodeGroup group = System.Security.Util.
XMLUtil
.CreateCodeGroup( elGroup );
589
CodeGroup group = System.Security.Util.
XMLUtil
.CreateCodeGroup( marker.element );
system\security\policy\filecodegroup.cs (2)
168
return Environment.GetResourceString("FileCodeGroup_PermissionSet",
XMLUtil
.BitFieldEnumToString(typeof(FileIOPermissionAccess), m_access));
179
element.AddAttribute("Access",
XMLUtil
.BitFieldEnumToString(typeof(FileIOPermissionAccess), m_access));
system\security\policy\gacmembershipcondition.cs (1)
75
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), this.GetType().FullName );
system\security\policy\hashmembershipcondition.cs (1)
170
XMLUtil
.AddClassAttribute(root, this.GetType(), "System.Security.Policy.HashMembershipCondition");
system\security\policy\policylevel.cs (1)
640
CodeGroup rootCodeGroup = System.Security.Util.
XMLUtil
.CreateCodeGroup(UnnormalizeClassDeep(elCodeGroup, classes));
system\security\policy\policystatement.cs (1)
317
e.AddAttribute( "Attributes",
XMLUtil
.BitFieldEnumToString( typeof( PolicyStatementAttribute ), m_attributes ) );
system\security\policy\publishermembershipcondition.cs (1)
166
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.PublisherMembershipCondition" );
system\security\policy\sitemembershipcondition.cs (1)
149
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.SiteMembershipCondition" );
system\security\policy\strongnamemembershipcondition.cs (1)
219
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.StrongNameMembershipCondition" );
system\security\policy\urlmembershipcondition.cs (1)
153
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.UrlMembershipCondition" );
system\security\policy\zonemembershipcondition.cs (1)
164
System.Security.Util.
XMLUtil
.AddClassAttribute( root, this.GetType(), "System.Security.Policy.ZoneMembershipCondition" );
system\security\securityelement.cs (1)
837
IPermission ip =
XMLUtil
.CreatePermission( this, PermissionState.None, ignoreTypeLoadFailures );
system\security\securityexception.cs (10)
358
Object ob =
XMLUtil
.XmlStringToSecurityObject(m_permissionThatFailed);
360
ob =
XMLUtil
.XmlStringToSecurityObject(m_demanded);
379
return (IPermission)
XMLUtil
.XmlStringToSecurityObject(m_permissionThatFailed);
384
m_permissionThatFailed =
XMLUtil
.SecurityObjectToXmlString(value);
410
return
XMLUtil
.XmlStringToSecurityObject(m_demanded);
415
m_demanded =
XMLUtil
.SecurityObjectToXmlString(value);
456
return
XMLUtil
.XmlStringToSecurityObject(m_denied);
461
m_denied =
XMLUtil
.SecurityObjectToXmlString(value);
472
return
XMLUtil
.XmlStringToSecurityObject(m_permitOnly);
477
m_permitOnly =
XMLUtil
.SecurityObjectToXmlString(value);