Remove all instances of HasFlag #994
Annotations
20 warnings
DotNet Test:
src/UnicodeTrieGenerator/StateAutomation/Grammar.peg#L52
The rule 'repetition' is never used.
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TestEnvironment.cs#L25
'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 Test:
tests/SixLabors.Fonts.Tests/TestFonts.cs#L313
'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 Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L782
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1172
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1148
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1149
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1150
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1155
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
DotNet Test:
tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L1156
Elements should be separated by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1516.md)
|
DotNet Build:
src/UnicodeTrieGenerator/StateAutomation/Grammar.peg#L52
The rule 'repetition' is never used.
|
DotNet Build:
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:
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:
samples/DrawWithImageSharp/Program.cs#L78
Unreachable code detected
|
DotNet Build:
samples/DrawWithImageSharp/Program.cs#L81
Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)
|
DotNet Build:
samples/DrawWithImageSharp/Program.cs#L81
Single-line comment should be preceded by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1515.md)
|
DotNet Build:
samples/DrawWithImageSharp/Program.cs#L323
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'Program.RenderTextProcessorWithAlignment(FontFamily, string,
|
DotNet Build:
samples/DrawWithImageSharp/Program.cs#L324
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'Program.RenderTextProcessorWithAlignment(FontFamily, string,
|
DotNet Build:
samples/DrawWithImageSharp/Program.cs#L24
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
DotNet Build:
samples/DrawWithImageSharp/Program.cs#L25
The behavior of 'FontCollection.Add(string)' could vary based on the current user's locale settings. Replace this call in 'Program.Main(string[])' with a call to 'FontCollection.Add(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
Loading