16 references to HasAttribute
Microsoft.Build (5)
Construction\ProjectElementContainer.cs (1)
502
ProjectErrorUtilities.VerifyThrowInvalidProject(!XmlElement.
HasAttribute
(child.XmlElement.Name),
Evaluation\ProjectParser.cs (4)
271
if (element.
HasAttribute
(XMakeAttributes.include))
276
if (element.
HasAttribute
(XMakeAttributes.remove))
281
if (element.
HasAttribute
(XMakeAttributes.update))
461
if (element.
HasAttribute
(XMakeAttributes.sdk))
Microsoft.Build.Tasks.Core (3)
ManifestUtil\mansign2.cs (1)
505
if (!assemblyIdentity.
HasAttribute
("publicKeyToken"))
ManifestUtil\TrustInfo.cs (2)
274
if (inputRequestedExecutionLevel.
HasAttribute
("level"))
281
if (inputRequestedExecutionLevel.
HasAttribute
("uiAccess"))
System.Data.Common (1)
System\Xml\XPathNodePointer.cs (1)
419
if (curBoundElem.
HasAttribute
("xml:lang"))
System.Private.Xml (2)
System\Xml\Dom\XmlNode.cs (2)
1351
if (elem != null && elem.
HasAttribute
("xml:space"))
1383
if (elem.
HasAttribute
("xml:lang"))
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\Utils.cs (5)
39
if (element.
HasAttribute
(name) && element.GetAttribute(name) == value) return true;
61
string? s = (element.
HasAttribute
(localName) ? element.GetAttribute(localName) : null);
69
return element.
HasAttribute
(localName) || element.HasAttribute(localName, namespaceURI);
466
if (elem.
HasAttribute
(name) || (name.Equals("xmlns") && elem.Prefix.Length == 0)) continue;
480
if (elem.
HasAttribute
(key)) continue;