1 override of HasAttributes
System.Data.Common (1)
System\Xml\XmlBoundElement.cs (1)
45public override bool HasAttributes => Attributes.Count > 0;
36 references to HasAttributes
Microsoft.Build (2)
Construction\Solution\ProjectInSolution.cs (1)
544if (mainProjectElement.HasAttributes)
Xml\ProjectXmlUtilities.cs (1)
151if (element.HasAttributes)
Microsoft.Build.Conversion.Core (7)
ProjectFileConverter.cs (7)
1638ProjectErrorUtilities.VerifyThrowInvalidProject(!visualStudioProjectElement.HasAttributes, 2023ProjectErrorUtilities.VerifyThrowInvalidProject(!buildElement.HasAttributes, buildElement.Location, 2604ProjectErrorUtilities.VerifyThrowInvalidProject(!referencesElement.HasAttributes, referencesElement.Location, 3137ProjectErrorUtilities.VerifyThrowInvalidProject(!importsElement.HasAttributes, importsElement.Location, 3253ProjectErrorUtilities.VerifyThrowInvalidProject(!filesElement.HasAttributes, filesElement.Location, 3319ProjectErrorUtilities.VerifyThrowInvalidProject(!includeElement.HasAttributes, includeElement.Location, 3725ProjectErrorUtilities.VerifyThrowInvalidProject(!startupServicesElement.HasAttributes, startupServicesElement.Location,
PresentationFramework (1)
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
523if (child.HasAttributes)
System.Data.Common (1)
System\Xml\DataSetMappper.cs (1)
317if (e!.HasAttributes)
System.Private.Xml (24)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
181if (elem.HasAttributes)
System\Xml\Dom\DocumentXPathNavigator.cs (8)
268&& element.HasAttributes) 292&& element.HasAttributes) 320&& element.HasAttributes) 472if (!element.HasAttributes) 551if (element.HasAttributes) 665if (element.HasAttributes) 1318if (element.HasAttributes) 1807&& element.HasAttributes)
System\Xml\Dom\XmlElement.cs (9)
63if (HasAttributes) 297if (HasAttributes) 304if (HasAttributes) 321if (HasAttributes) 376if (HasAttributes) 397if (HasAttributes) 512if (HasAttributes) 535if (HasAttributes) 544if (HasAttributes)
System\Xml\Dom\XmlLoader.cs (1)
696if (element != null && element.HasAttributes)
System\Xml\Dom\XmlNode.cs (2)
1094if (elem.HasAttributes) 1179if (elem.HasAttributes)
System\Xml\Dom\XmlNodeReader.cs (3)
878if (elem.HasAttributes) 946if (elem.HasAttributes) 998if (elem.HasAttributes)
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\Utils.cs (1)
529if (ancestorElement.HasAttributes)