You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found more warnings: (should be all the rest warnings in xplat feature branch)
Utility\OfflineFeedUtility.cs(90,43): warning CA1307: The behavior of 'string.Contains(char)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.Core.Types.OfflineFeedUtility.ThrowIfInvalid(string)' with a call to 'string.Contains(char, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Resources\PackageDetailsUriResourceV3.cs(52,29): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.PackageDetailsUriResourceV3.GetUri(string, NuGet.Versioning.NuGetVersion)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Resources\PackageDetailsUriResourceV3.cs(52,29): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.PackageDetailsUriResourceV3.GetUri(string, NuGet.Versioning.NuGetVersion)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Resources\PackageUpdateResource.cs(830,21): warning CA1307: The behavior of 'string.Contains(string)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.Core.Types.PackageUpdateResource.GetSecureApiKey(NuGet.Packaging.Core.PackageIdentity, string, bool, System.TimeSpan, NuGet.Common.ILogger, System.Threading.CancellationToken)' with a call to 'string.Contains(string, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Utility\CachingUtility.cs(88,20): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.CachingUtility.RemoveInvalidFileNameChars(string)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Utility\CachingUtility.cs(88,20): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.CachingUtility.RemoveInvalidFileNameChars(string)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Providers\RepositorySignatureResourceProvider.cs(107,25): warning CA1307: The behavior of 'string.IndexOf(char)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.RepositorySignatureResourceProvider.GenerateCacheKey(NuGet.Protocol.ServiceIndexEntry)' with a call to 'string.IndexOf(char, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Resources\ReportAbuseResourceV3.cs(35,29): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.ReportAbuseResourceV3.GetReportAbuseUrl(string, NuGet.Versioning.NuGetVersion)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Resources\ReportAbuseResourceV3.cs(35,29): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.ReportAbuseResourceV3.GetReportAbuseUrl(string, NuGet.Versioning.NuGetVersion)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
Utility\LocalFolderUtility.cs(967,17): warning CA1307: The behavior of 'string.IndexOf(char)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Protocol.LocalFolderUtility.EnsurePackageExtension(string, bool)' with a call to 'string.IndexOf(char, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Protocol\NuGet.Protocol.csproj]
MSBuildProjectFactory.cs(262,17): warning CA1307: The behavior of 'string.Contains(string)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Commands.MSBuildProjectFactory.GetTargetPathForSourceFile(string, string)' with a call to 'string.Contains(string, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj]
MSBuildProjectFactory.cs(267,36): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Commands.MSBuildProjectFactory.GetTargetPathForSourceFile(string, string)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj]
RestoreCommand\Diagnostics\UnresolvedMessages.cs(77,21): warning CA1307: The behavior of 'string.IndexOf(char)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Commands.UnresolvedMessages.GetMessageAsync(string, NuGet.LibraryModel.LibraryRange, System.Collections.Generic.IList<NuGet.DependencyResolver.IRemoteDependencyProvider>, NuGet.Protocol.Core.Types.SourceCacheContext, NuGet.Common.ILogger, System.Threading.CancellationToken)' with a call to 'string.IndexOf(char, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj]
RestoreCommand\Utility\LockFileUtils.cs(829,30): warning CA1307: The behavior of 'string.IndexOf(char)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Commands.LockFileUtils.ClearIfExists<T>(System.Collections.Generic.IList<T>)' with a call to 'string.IndexOf(char, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj]
RestoreCommand\Utility\BuildAssetsUtils.cs(761,43): warning CA1307: The behavior of 'string.Replace(string, string?)' could vary based on the current user's locale settings. Replace this call in 'NuGet.Commands.BuildAssetsUtils.GeneratePackagePathProperty(NuGet.Repositories.LocalPackageInfo)' with a call to 'string.Replace(string, string?, System.StringComparison)'. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Commands\NuGet.Commands.csproj]
The text was updated successfully, but these errors were encountered:
Found more warnings: (should be all the rest warnings in xplat feature branch)
The text was updated successfully, but these errors were encountered: