17 references to HasAttribute
Microsoft.Build (5)
Construction\ProjectElementContainer.cs (1)
502
ProjectErrorUtilities.VerifyThrowInvalidProject(!XmlElement.
HasAttribute
(child.XmlElement.Name),
Evaluation\ProjectParser.cs (4)
279
if (element.
HasAttribute
(XMakeAttributes.include))
284
if (element.
HasAttribute
(XMakeAttributes.remove))
289
if (element.
HasAttribute
(XMakeAttributes.update))
479
if (element.
HasAttribute
(XMakeAttributes.sdk))
Microsoft.Build.Tasks.Core (3)
ManifestUtil\mansign2.cs (1)
520
if (!assemblyIdentity.
HasAttribute
("publicKeyToken"))
ManifestUtil\TrustInfo.cs (2)
274
if (inputRequestedExecutionLevel.
HasAttribute
("level"))
281
if (inputRequestedExecutionLevel.
HasAttribute
("uiAccess"))
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
XML\XmlPersistence.cs (1)
750
return xml.
HasAttribute
(attributeName)
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);
469
if (elem.
HasAttribute
(name) || (name.Equals("xmlns") && elem.Prefix.Length == 0)) continue;
483
if (elem.
HasAttribute
(key)) continue;