77 references to AddChild
mscorlib (61)
system\security\permissions\keycontainerpermission.cs (2)
549al.AddChild(entryElem); 551securityElement.AddChild(al);
system\security\permissions\principalpermission.cs (1)
533root.AddChild( m_array[i].ToXml() );
system\security\permissions\publisheridentitypermission.cs (1)
304esd.AddChild(child);
system\security\permissions\siteidentitypermission.cs (1)
344esd.AddChild(child);
system\security\permissions\strongnameidentitypermission.cs (1)
474esd.AddChild(child);
system\security\permissions\urlidentitypermission.cs (1)
375esd.AddChild(child);
system\security\permissions\zoneidentitypermission.cs (1)
269esd.AddChild(child);
system\security\permissionset.cs (3)
2176elTrunk.AddChild( perm.ToXml() ); 2204elTrunk.AddChild( ((IPermission)obj).ToXml() ); 2208elTrunk.AddChild( (SecurityElement)obj );
system\security\policy\applicationdirectory.cs (1)
87root.AddChild( new SecurityElement( "Directory", m_appDirectory.ToString() ) );
system\security\policy\applicationsecurityinfo.cs (2)
129seDefaultPS.AddChild(webPermission); 138seDefaultPS.AddChild(filePermissionSet.GetPermission(typeof(FileIOPermission)).ToXml());
system\security\policy\applicationtrust.cs (5)
208elDefaultGrant.AddChild(m_psDefaultGrant.ToXml()); 209elRoot.AddChild(elDefaultGrant); 214elFullTrustAssemblies.AddChild(fullTrustAssembly.ToXml()); 216elRoot.AddChild(elFullTrustAssemblies); 221elRoot.AddChild(ObjectToXml("ExtraInfo", ExtraInfo));
system\security\policy\codegroup.cs (5)
340e.AddChild( m_membershipCondition.ToXml( level ) ); 358e.AddChild( permSet.ToXml() ); 373e.AddChild( ((CodeGroup)enumerator.Current).ToXml( level ) ); 665elPolicy.AddChild( elPermSet ); 670elPolicy.AddChild( new PermissionSet( false ).ToXml() );
system\security\policy\hash.cs (1)
509root.AddChild(hashElement);
system\security\policy\netcodegroup.cs (8)
528connectAccess.AddChild( uri ); 540connectAccess.AddChild( uri ); 544root.AddChild( connectAccess ); 686permSet.AddChild( webPerm ); 688root.AddChild( permSet ); 850codeOriginElement.AddChild(accessElem); 852rulesElement.AddChild(codeOriginElement); 854element.AddChild(rulesElement);
system\security\policy\permissionrequestevidence.cs (6)
103elem.AddChild( m_request.ToXml() ); 104root.AddChild( elem ); 110elem.AddChild( m_optional.ToXml() ); 111root.AddChild( elem ); 117elem.AddChild( m_denied.ToXml() ); 118root.AddChild( elem );
system\security\policy\policylevel.cs (8)
526elPermSets.AddChild(NormalizeClassDeep(((NamedPermissionSet)enumerator.Current).ToXml(), classes)); 534elFullTrust.AddChild(NormalizeClassDeep(((StrongNameMembershipCondition)enumerator.Current).ToXml(), classes)); 543elClasses.AddChild(elClass); 546e.AddChild(elClasses); 547e.AddChild(elPermSets); 548e.AddChild(elCodeGroup); 549e.AddChild(elFullTrust); 1065root.AddChild(mshipElement);
system\security\policy\policystatement.cs (4)
337e.AddChild( namedPermSet.InternalToXml() ); 339e.AddChild( namedPermSet.ToXml() ); 345e.AddChild( m_permSet.InternalToXml() ); 347e.AddChild( m_permSet.ToXml() );
system\security\policy\publisher.cs (1)
120elem.AddChild( new SecurityElement( "X509v3Certificate", m_cert != null ? m_cert.GetRawCertDataString() : "" ) );
system\security\policy\site.cs (1)
111elem.AddChild( new SecurityElement( "Name", m_name.ToString() ) );
system\security\policy\url.cs (1)
104root.AddChild( new SecurityElement( "Url", m_url.ToString() ) );
system\security\policy\zone.cs (2)
134elem.AddChild( new SecurityElement( "Zone", s_names[(int)SecurityZone] ) ); 136elem.AddChild( new SecurityElement( "Zone", s_names[s_names.Length-1] ) );
system\security\policymanager.cs (4)
294elConf.AddChild(elMscorlib); 295elMscorlib.AddChild(elSecurity); 296elSecurity.AddChild(elPolicy); 297elPolicy.AddChild(level.ToXml());
system\security\securitydocument.cs (1)
290elCurrent.AddChild( elChild );
System (13)
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
622currentElement.AddChild(contentElement);
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (2)
240securityElement.AddChild(child); 245securityElement.AddChild(child);
net\System\Net\SocketPermission.cs (4)
602permList.AddChild(endpoint); 604securityElement.AddChild(permList); 616permList.AddChild(endpoint); 618securityElement.AddChild(permList);
net\System\Net\WebPermission.cs (6)
914connectElement.AddChild(uripattern); 931connectElement.AddChild(uripattern); 935securityElement.AddChild( connectElement ); 946acceptElement.AddChild(uripattern); 963acceptElement.AddChild(uripattern); 967securityElement.AddChild( acceptElement );
System.Data (1)
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
352root.AddChild(valueElement);
System.Messaging (1)
System\Messaging\MessageQueuePermission.cs (1)
452root.AddChild(currentElement);
System.Xml (1)
System\Xml\XmlSecureResolver.cs (1)
85root.AddChild(new SecurityElement("UncDirectory", uncDir));