6 instantiations of ClearItem
aspire (3)
NuGet\NuGetClient.cs (3)
938settings.AddOrUpdate(ConfigurationConstants.PackageSources, new ClearItem()); 968settings.AddOrUpdate(ConfigurationConstants.DisabledPackageSources, new ClearItem()); 986new ClearItem());
NuGet.Configuration (3)
Settings\Items\ClearItem.cs (1)
25var newItem = new ClearItem();
Settings\SettingFactory.cs (1)
87return new ClearItem(element, origin);
Settings\Settings.cs (1)
262}).Where(s => s != null && s.Items.Contains(new ClearItem()));
8 references to ClearItem
aspire (3)
DotNet\DotNetAppHostNuGetConfigMerger.cs (1)
196var inheritsMapping = !localMappingItems.Any(static item => item is ClearItem) &&
NuGet\NuGetClient.cs (2)
1027if (sourceSection?.Items.Any(static item => item is ClearItem) != true) 1039settings.GetSection(ConfigurationConstants.DisabledPackageSources)?.Items.Any(static item => item is ClearItem) != true)
NuGet.Configuration (5)
Settings\Items\ClearItem.cs (2)
25var newItem = new ClearItem(); 35public override bool Equals(object? other) => other is ClearItem;
Settings\SettingFactory.cs (1)
192if (canBeCleared && descendant is ClearItem)
Settings\VirtualSettingSection.cs (2)
37&& !other.Items.OfType<ClearItem>().Any()) 44if (item is ClearItem)