system\security\permissions\keycontainerpermission.cs (8)
538securityElement.AddAttribute("Flags", m_flags.ToString());
543entryElem.AddAttribute("KeyStore", accessEntry.KeyStore);
544entryElem.AddAttribute("ProviderName", accessEntry.ProviderName);
545entryElem.AddAttribute("ProviderType", accessEntry.ProviderType.ToString(null, null));
546entryElem.AddAttribute("KeyContainerName", accessEntry.KeyContainerName);
547entryElem.AddAttribute("KeySpec", accessEntry.KeySpec.ToString(null, null));
548entryElem.AddAttribute("Flags", accessEntry.Flags.ToString());
554securityElement.AddAttribute("Unrestricted", "true");
system\security\permissionset.cs (20)
833newElemUU.AddAttribute( "class", thisElem.Attribute( "class" ) );
840newElemUU.AddAttribute( "class", otherElem.Attribute( "class" ) );
847newElem.AddAttribute( "class", thisElem.Attribute( "class" ) );
865newElem.AddAttribute( "class", otherElem.Attribute( "class" ) );
890newElem.AddAttribute( "class", thisElem.Attribute( "class" ) );
994newElem.AddAttribute( "class", otherElem.Attribute( "class" ) );
998newElemUU.AddAttribute( "class", thisElem.Attribute( "class" ) );
1006newElemUU.AddAttribute( "class", otherElem.Attribute( "class" ) );
1026newElem.AddAttribute( "class", otherElem.Attribute( "class" ) );
1052newElem.AddAttribute( "class", thisElem.Attribute( "class" ) );
1170newElem.AddAttribute( "class", thisElem.Attribute( "class" ) );
1288newElem.AddAttribute( "class", thisElem.Attribute( "class" ) );
2149elTrunk.AddAttribute( "class", "System.Security.PermissionSet" );
2151elTrunk.AddAttribute( "version", "1" );
2160elTrunk.AddAttribute( "class", permName );
2162elTrunk.AddAttribute( "version", "1" );
2168elTrunk.AddAttribute(s_str_Unrestricted, "true" );
2184elTrunk.AddAttribute( "class", this.GetType().FullName);
2185elTrunk.AddAttribute( "version", "1" );
2189elTrunk.AddAttribute(s_str_Unrestricted, "true" );
system\security\policy\netcodegroup.cs (9)
515root.AddAttribute( "class", "System.Net.WebPermission, " + permissionAssembly);
516root.AddAttribute( "version", "1" );
527uri.AddAttribute( "uri", uriStr );
539uri.AddAttribute( "uri", uriStr );
682permSet.AddAttribute( "class", "System.Security.PermissionSet" );
683permSet.AddAttribute( "version", "1" );
844codeOriginElement.AddAttribute("scheme", (string) rule.Key);
848accessElem.AddAttribute("scheme", access.Scheme);
849accessElem.AddAttribute("port", access.StrPort);