40 references to XmlUtil
Microsoft.Build.Tasks.Core (40)
ManifestUtil\Manifest.cs (1)
426
XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).OwnerElement.Attributes[
XmlUtil
.TrimPrefix(XPaths.fileSizeAttribute)];
ManifestUtil\ManifestFormatter.cs (2)
44
string elementQName =
XmlUtil
.GetQName(r, nsmgr);
48
string attributeQName =
XmlUtil
.GetQName(r, nsmgr);
ManifestUtil\ManifestReader.cs (2)
188
s =
XmlUtil
.XslTransform(resource, input, arg);
192
s =
XmlUtil
.XslTransform(resource, input);
ManifestUtil\ManifestWriter.cs (4)
122
s2 =
XmlUtil
.XslTransform(resource, s1);
153
s2 =
XmlUtil
.XslTransform(resource, s1, arg);
163
s2 =
XmlUtil
.XslTransform(resource, s1);
178
s3 =
XmlUtil
.XslTransform("merge.xsl", s2, arg);
ManifestUtil\SecurityUtil.cs (2)
413
XmlElement psElement =
XmlUtil
.CloneElementToDocument(inputDocument.DocumentElement, outputDocument, XmlNamespaces.asmv2);
443
nodes = psElement.SelectNodes(
XmlUtil
.TrimPrefix(XPaths.permissionClassAttributeQuery));
ManifestUtil\TrustInfo.cs (29)
41
XmlAttribute sameSiteAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.sameSiteAttribute));
44
sameSiteAttribute = permissionSetElement.OwnerDocument.CreateAttribute(
XmlUtil
.TrimPrefix(XPaths.sameSiteAttribute));
71
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
76
unrestrictedAttribute = document.CreateAttribute(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
85
permissionSetElement.Attributes.RemoveNamedItem(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
93
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
96
unrestrictedAttribute = document.CreateAttribute(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
108
var idAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.idAttribute));
111
idAttribute = document.CreateAttribute(
XmlUtil
.TrimPrefix(XPaths.idAttribute));
131
defaultAssemblyRequestElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.defaultAssemblyRequestElement), XmlNamespaces.asmv2);
134
XmlAttribute idrefAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.permissionSetReferenceAttribute));
137
idrefAttribute = document.CreateAttribute(
XmlUtil
.TrimPrefix(XPaths.permissionSetReferenceAttribute));
155
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
161
document.DocumentElement.Attributes.RemoveNamedItem(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
181
XmlElement trustInfoElement = _inputTrustInfoDocument.CreateElement(
XmlUtil
.TrimPrefix(XPaths.trustInfoElement), XmlNamespaces.asmv2);
219
XmlElement requestedPrivilegeElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.requestedPrivilegeElement), XmlNamespaces.asmv3);
297
XmlElement requestedExecutionLevelElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.requestedExecutionLevelElement), XmlNamespaces.asmv3);
324
securityElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.securityElement), XmlNamespaces.asmv2);
330
applicationRequestMinimumElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.applicationRequestMinimumElement), XmlNamespaces.asmv2);
336
permissionSetElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.permissionSetElement), XmlNamespaces.asmv2);
338
XmlAttribute unrestrictedAttribute = document.CreateAttribute(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute), XmlNamespaces.asmv2);
498
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.unrestrictedAttribute));
510
XmlAttribute sameSiteAttribute = (XmlAttribute)psElement.Attributes.GetNamedItem(
XmlUtil
.TrimPrefix(XPaths.sameSiteAttribute));
565
XmlElement outputPermissionSetElement =
XmlUtil
.CloneElementToDocument(inputPermissionSetElement, outputDocument, XmlNamespaces.asmv2);
631
Stream s = tempPrivilegeDocument != null ?
XmlUtil
.XslTransform(trustInfoResource2, m, new DictionaryEntry("defaultRequestedPrivileges", tempPrivilegeDocument)) :
XmlUtil
.XslTransform(trustInfoResource2, m);
720
trustInfoElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.trustInfoElement), XmlNamespaces.asmv2);
763
securityElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.securityElement), XmlNamespaces.asmv2);
769
applicationRequestMinimumElement = document.CreateElement(
XmlUtil
.TrimPrefix(XPaths.applicationRequestMinimumElement), XmlNamespaces.asmv2);