27 references to TrimPrefix
Microsoft.Build.Tasks.Core (27)
ManifestUtil\Manifest.cs (1)
425
XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).OwnerElement.Attributes[XmlUtil.
TrimPrefix
(XPaths.fileSizeAttribute)];
ManifestUtil\TrustInfo.cs (26)
40
XmlAttribute sameSiteAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.sameSiteAttribute));
43
sameSiteAttribute = permissionSetElement.OwnerDocument.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.sameSiteAttribute));
70
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute));
75
unrestrictedAttribute = document.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute));
84
permissionSetElement.Attributes.RemoveNamedItem(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute));
92
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute));
95
unrestrictedAttribute = document.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute));
107
var idAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.idAttribute));
110
idAttribute = document.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.idAttribute));
130
defaultAssemblyRequestElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.defaultAssemblyRequestElement), XmlNamespaces.asmv2);
133
XmlAttribute idrefAttribute = (XmlAttribute)permissionSetElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.permissionSetReferenceAttribute));
136
idrefAttribute = document.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.permissionSetReferenceAttribute));
180
XmlElement trustInfoElement = _inputTrustInfoDocument.CreateElement(XmlUtil.
TrimPrefix
(XPaths.trustInfoElement), XmlNamespaces.asmv2);
218
XmlElement requestedPrivilegeElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.requestedPrivilegeElement), XmlNamespaces.asmv3);
296
XmlElement requestedExecutionLevelElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.requestedExecutionLevelElement), XmlNamespaces.asmv3);
323
securityElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.securityElement), XmlNamespaces.asmv2);
329
applicationRequestMinimumElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.applicationRequestMinimumElement), XmlNamespaces.asmv2);
335
permissionSetElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.permissionSetElement), XmlNamespaces.asmv2);
337
XmlAttribute unrestrictedAttribute = document.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute), XmlNamespaces.asmv2);
497
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute));
509
XmlAttribute sameSiteAttribute = (XmlAttribute)psElement.Attributes.GetNamedItem(XmlUtil.
TrimPrefix
(XPaths.sameSiteAttribute));
719
trustInfoElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.trustInfoElement), XmlNamespaces.asmv2);
729
securityElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.securityElement), XmlNamespaces.asmv2);
735
applicationRequestMinimumElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.applicationRequestMinimumElement), XmlNamespaces.asmv2);
745
XmlElement fullTrustPermissionSetElement = document.CreateElement(XmlUtil.
TrimPrefix
(XPaths.permissionSetElement), XmlNamespaces.asmv2);
746
XmlAttribute unrestrictedAttribute = document.CreateAttribute(XmlUtil.
TrimPrefix
(XPaths.unrestrictedAttribute), XmlNamespaces.asmv2);