Fix Tracking of Last Line Break #1043
Annotations
10 warnings
DotNet Build Preview:
src/UnicodeTrieGenerator/StateAutomation/Grammar.peg#L52
The rule 'repetition' is never used.
|
DotNet Build Preview:
src/UnicodeTrieGenerator/StateAutomation/Grammar.peg#L52
The rule 'repetition' is never used.
|
DotNet Build Preview:
tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/MeasureTextBenchmark.cs#L57
The behavior of 'SystemFonts.Get(string)' could vary based on the current user's locale settings. Replace this call in 'MeasureTextBenchmark.MeasureTextBenchmark()' with a call to 'SystemFonts.Get(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/MeasureTextBenchmark.cs#L67
Change MeasureTextBenchmark.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/Program.cs#L8
Type 'Program' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Tests/TestFonts.cs#L315
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Tests/ImageComparison/ImageSimilarityReport.cs#L104
Do not declare static members on generic types (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L852
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1236
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
DotNet Build Preview:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1237
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
Loading