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