18 references to HasAttribute
Microsoft.Build (5)
Construction\ProjectElementContainer.cs (1)
485
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.Engine (2)
Engine\Project.cs (2)
838
if (ProjectElement.
HasAttribute
(XMakeAttributes.toolsVersion))
898
return ProjectElement.
HasAttribute
(XMakeAttributes.toolsVersion);
Microsoft.Build.Tasks.Core (3)
ManifestUtil\mansign2.cs (1)
505
if (!assemblyIdentity.
HasAttribute
("publicKeyToken"))
ManifestUtil\TrustInfo.cs (2)
275
if (inputRequestedExecutionLevel.
HasAttribute
("level"))
282
if (inputRequestedExecutionLevel.
HasAttribute
("uiAccess"))
System.Data.Common (1)
System\Xml\XPathNodePointer.cs (1)
417
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)
42
if (element.
HasAttribute
(name) && element.GetAttribute(name) == value) return true;
67
string? s = (element.
HasAttribute
(localName) ? element.GetAttribute(localName) : null);
75
return element.
HasAttribute
(localName) || element.HasAttribute(localName, namespaceURI);
478
if (elem.
HasAttribute
(name) || (name.Equals("xmlns") && elem.Prefix.Length == 0)) continue;
492
if (elem.
HasAttribute
(key)) continue;