Conflicting documentation on ISettings.AddOrUpdate #10980
Labels
Area:Settings
NuGet.Config and related issues
Category:Quality Week
Issues that should be considered for quality week
Community
PRs (and linked Issues) created by someone not in the NuGet team
Type:Bug
Type:DeveloperDocs
NuGet.Configuration.ISettings.AddOrUpdate
returns void, but the method xml comment states that it returns true if the operation was successful.Either the method should be changed to return a bool, or the documentation should be changed.
https://github.com/NuGet/NuGet.Client/blob/77e1bdb266093fd1eafff90ef21ad55a2a448889/src/NuGet.Core/NuGet.Configuration/Settings/ISettings.cs#L29-L30
The text was updated successfully, but these errors were encountered: