fix: update NoWarn property to include additional warnings in Directory.Build.props

This commit is contained in:
Miha Kralj
2025-12-28 18:06:53 -08:00
parent 13d7c1215d
commit 52af7057bb
2 changed files with 1 additions and 40 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
</PropertyGroup>
<PropertyGroup>
<NoWarn>$(NoWarn);S1144;S1944;S2053;S2245;S2259;S2583;S2589;S3329;S3655;S3776;S3949;S3966;S4158;S4347;S5773;S6781;MA0048;MA0051;RCS1159</NoWarn>
<NoWarn>$(NoWarn);S1144;S1944;S2053;S2245;S2259;S2583;S2589;S3329;S3655;S3776;S3949;S3966;S4158;S4347;S5773;S6781;MA0048;MA0051;MA0076;RCS1123;RCS1159</NoWarn>
</PropertyGroup>
<ItemGroup>
-39
View File
@@ -1,39 +0,0 @@
Determining projects to restore...
Restored C:\github\quantalib\quantower\Quantower.Tests.csproj (in 955 ms).
Restored c:\github\quantalib\quantower\Statistics.csproj (in 955 ms).
Restored c:\github\quantalib\quantower\Momentum.csproj (in 955 ms).
Restored C:\github\quantalib\quantower\Trends.csproj (in 955 ms).
2 of 6 projects are up-to-date for restore.
Statistics -> C:\github\quantalib\quantower\bin\Debug\Statistics.dll
quantalib -> C:\github\quantalib\lib\bin\Debug\net10.0\QuanTAlib.dll
Momentum -> C:\github\quantalib\quantower\bin\Debug\Momentum.dll
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,23): warning S3928: The parameter name 'WeightsInput' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928) [c:\github\quantalib\quantower\Trends.csproj]
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,72): warning MA0015: 'WeightsInput' is not a valid parameter name (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md) [c:\github\quantalib\quantower\Trends.csproj]
Trends -> c:\github\quantalib\quantower\bin\Debug\Trends.dll
c:\github\quantalib\lib\trends\htit\Htit.Quantower.Tests.cs(16,9): warning MA0074: Use an overload of 'StartsWith' that has a StringComparison parameter (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0074.md) [c:\github\quantalib\quantower\Quantower.Tests.csproj]
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,23): warning S3928: The parameter name 'WeightsInput' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928) [c:\github\quantalib\quantower\Quantower.Tests.csproj]
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,72): warning MA0015: 'WeightsInput' is not a valid parameter name (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md) [c:\github\quantalib\quantower\Quantower.Tests.csproj]
Quantower.Tests -> C:\github\quantalib\quantower\bin\Debug\Quantower.Tests.dll
c:\github\quantalib\lib\momentum\bop\Bop.Validation.Tests.cs(65,28): warning MA0005: Use Array.Empty<T>() (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0005.md) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\feeds\gbm\ValidationHelper.cs(52,62): warning MA0016: Prefer using collection abstraction instead of implementation (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0016.md) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\momentum\ao\Ao.Validation.Tests.cs(72,28): warning MA0005: Use Array.Empty<T>() (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0005.md) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\momentum\rsi\Rsi.Tests.cs(74,24): warning S6562: Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\momentum\rsi\Rsi.Tests.cs(202,13): warning S1481: Remove the unused local variable 'lastValid'. (https://rules.sonarsource.com/csharp/RSPEC-1481) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
QuanTAlib.Tests -> c:\github\quantalib\lib\bin\tests\Debug\net10.0\QuanTAlib.Tests.dll
Build succeeded.
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,23): warning S3928: The parameter name 'WeightsInput' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928) [c:\github\quantalib\quantower\Trends.csproj]
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,72): warning MA0015: 'WeightsInput' is not a valid parameter name (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md) [c:\github\quantalib\quantower\Trends.csproj]
c:\github\quantalib\lib\trends\htit\Htit.Quantower.Tests.cs(16,9): warning MA0074: Use an overload of 'StartsWith' that has a StringComparison parameter (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0074.md) [c:\github\quantalib\quantower\Quantower.Tests.csproj]
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,23): warning S3928: The parameter name 'WeightsInput' is not declared in the argument list. (https://rules.sonarsource.com/csharp/RSPEC-3928) [c:\github\quantalib\quantower\Quantower.Tests.csproj]
c:\github\quantalib\lib\trends\conv\Conv.Quantower.cs(50,72): warning MA0015: 'WeightsInput' is not a valid parameter name (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md) [c:\github\quantalib\quantower\Quantower.Tests.csproj]
c:\github\quantalib\lib\momentum\bop\Bop.Validation.Tests.cs(65,28): warning MA0005: Use Array.Empty<T>() (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0005.md) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\feeds\gbm\ValidationHelper.cs(52,62): warning MA0016: Prefer using collection abstraction instead of implementation (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0016.md) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\momentum\ao\Ao.Validation.Tests.cs(72,28): warning MA0005: Use Array.Empty<T>() (https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0005.md) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\momentum\rsi\Rsi.Tests.cs(74,24): warning S6562: Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
c:\github\quantalib\lib\momentum\rsi\Rsi.Tests.cs(202,13): warning S1481: Remove the unused local variable 'lastValid'. (https://rules.sonarsource.com/csharp/RSPEC-1481) [c:\github\quantalib\lib\QuanTAlib.Tests.csproj::TargetFramework=net10.0]
10 Warning(s)
0 Error(s)
Time Elapsed 00:00:08.11