28 references to TrimPrefix
Microsoft.Build.Tasks.Core (28)
ManifestUtil\Manifest.cs (1)
426
XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).OwnerElement.Attributes[XmlUtil.
TrimPrefix
(XPaths.fileSizeAttribute)];
ManifestUtil\SecurityUtil.cs (1)
443
nodes = psElement.SelectNodes(XmlUtil.
TrimPrefix
(XPaths.permissionClassAttributeQuery));
ManifestUtil\TrustInfo.cs (26)
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));
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);