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