Convert to use Central Package Management #39
Annotations
10 warnings
Run: Compile, Test, Pack
D:\a\acornima\acornima\src\Acornima\Tokenizer.RegExpParser.cs(1077,32): warning CA1872: Prefer 'System.Convert.ToHexString(byte[])' over call chains based on 'System.BitConverter.ToString(byte[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1872) [D:\a\acornima\acornima\src\Acornima\Acornima.csproj::TargetFramework=net8.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\src\Acornima\Tokenizer.RegExpParser.cs(1077,32): warning CA1872: Prefer 'System.Convert.ToHexString(byte[])' over call chains based on 'System.BitConverter.ToString(byte[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1872) [D:\a\acornima\acornima\src\Acornima\Acornima.csproj::TargetFramework=net6.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\ParserTests.cs(257,9): warning xUnit2029: Do not use Assert.Empty to check if a value does not exist in a collection. Use Assert.DoesNotContain instead. (https://xunit.net/xunit.analyzers/rules/xUnit2029) [D:\a\acornima\acornima\test\Acornima.Tests\Acornima.Tests.csproj::TargetFramework=net8.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\ParserTests.cs(1927,32): warning xUnit2031: Do not use a Where clause to filter before calling Assert.Single. Use the overload of Assert.Single that accepts a filtering function. (https://xunit.net/xunit.analyzers/rules/xUnit2031) [D:\a\acornima\acornima\test\Acornima.Tests\Acornima.Tests.csproj::TargetFramework=net8.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\Helpers\JavaScriptString.cs(12,29): warning CA1865: Use 'string.StartsWith(char)' instead of 'string.StartsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865) [D:\a\acornima\acornima\samples\JsxTranspiler\JsxTranspiler.csproj::TargetFramework=net6.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\Helpers\JavaScriptString.cs(12,79): warning CA1865: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865) [D:\a\acornima\acornima\samples\JsxTranspiler\JsxTranspiler.csproj::TargetFramework=net6.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\Helpers\JavaScriptString.cs(13,32): warning CA1865: Use 'string.StartsWith(char)' instead of 'string.StartsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865) [D:\a\acornima\acornima\samples\JsxTranspiler\JsxTranspiler.csproj::TargetFramework=net6.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\Helpers\JavaScriptString.cs(13,81): warning CA1865: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865) [D:\a\acornima\acornima\samples\JsxTranspiler\JsxTranspiler.csproj::TargetFramework=net6.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\Helpers\JavaScriptString.cs(121,17): warning CA1305: The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'JavaScriptString.Encode(string, [bool])' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305) [D:\a\acornima\acornima\samples\JsxTranspiler\JsxTranspiler.csproj::TargetFramework=net6.0]
|
Run: Compile, Test, Pack
D:\a\acornima\acornima\test\Acornima.Tests\Helpers\JavaScriptString.cs(125,17): warning CA1305: The behavior of 'StringBuilder.Append(ref StringBuilder.AppendInterpolatedStringHandler)' could vary based on the current user's locale settings. Replace this call in 'JavaScriptString.Encode(string, [bool])' with a call to 'StringBuilder.Append(IFormatProvider, ref StringBuilder.AppendInterpolatedStringHandler)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305) [D:\a\acornima\acornima\samples\JsxTranspiler\JsxTranspiler.csproj::TargetFramework=net6.0]
|
Loading