7 references to HasAttributes
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
552if (element.HasAttributes && !element.Nodes().Any())
Microsoft.DotNet.NuGetRepack.Tasks (2)
src\NuGetVersionUpdater.cs (1)
140if (nuspecXml.Root.HasAttributes)
src\ReplacePackageParts.cs (1)
133if (nuspecXml.Root.HasAttributes)
Microsoft.NET.Build.Tasks (1)
ValidateExecutableReferences.cs (1)
44additionalPropertiesXml.Elements().Where(el => el.HasAttributes && el.FirstAttribute.Value.Equals(nearestTargetFramework)).Single() :
NuGet.Configuration (1)
Settings\SettingElement.cs (1)
238if (!AllowedAttributes.Any() && element.HasAttributes)
NuGet.PackageManagement (1)
Utility\XElementExtensions.cs (1)
94var hasContent = sourceChild.HasAttributes || sourceChild.HasElements;
NuGet.Packaging (1)
PackageCreation\Extensions\XElementExtensions.cs (1)
70var hasContent = sourceChild.HasAttributes || sourceChild.HasElements;