ci(#117): add dotnet format check to CI pipeline #154
Merged
Annotations
10 warnings
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramEncodingTestBase.cs#L53
Remove the underscores from member name HdrHistogram.UnitTests.HistogramEncodingTestBase.Given_a_Histogram_populated_with_full_range_of_values_When_encoded_and_decoded_Then_data_is_preserved() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramEncodingTestBase.cs#L40
Remove the underscores from member name HdrHistogram.UnitTests.HistogramEncodingTestBase.Given_varying_significant_digits_When_compressed_encoded_and_decoded_Then_data_is_preserved(int, int) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramEncodingTestBase.cs#L25
Remove the underscores from member name HdrHistogram.UnitTests.HistogramEncodingTestBase.Given_a_populated_Histogram_When_encoded_and_decoded_with_compression_Then_data_is_preserved() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramEncodingTestBase.cs#L16
Remove the underscores from member name HdrHistogram.UnitTests.HistogramEncodingTestBase.Given_a_populated_Histogram_When_encoded_and_decoded_Then_data_is_preserved() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/MathEx.cs#L5
Either replace the suffix 'Ex' in type name MathEx with the suggested numeric alternate '2' or provide a more meaningful suffix that distinguishes it from the type it replaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711)
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramIterationValueComparer.cs#L37
Nullability of reference types in type of parameter 'y' of 'int HistogramIterationValueComparer.Compare(object x, object y)' doesn't match implicitly implemented member 'int IComparer.Compare(object? x, object? y)' (possibly because of nullability attributes).
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramIterationValueComparer.cs#L37
Nullability of reference types in type of parameter 'x' of 'int HistogramIterationValueComparer.Compare(object x, object y)' doesn't match implicitly implemented member 'int IComparer.Compare(object? x, object? y)' (possibly because of nullability attributes).
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramIterationValueComparer.cs#L11
Nullability of reference types in type of parameter 'other' of 'int HistogramIterationValueComparer.Compare(HistogramIterationValue x, HistogramIterationValue other)' doesn't match implicitly implemented member 'int IComparer<HistogramIterationValue>.Compare(HistogramIterationValue? x, HistogramIterationValue? y)' (possibly because of nullability attributes).
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.UnitTests/HistogramIterationValueComparer.cs#L11
Nullability of reference types in type of parameter 'x' of 'int HistogramIterationValueComparer.Compare(HistogramIterationValue x, HistogramIterationValue other)' doesn't match implicitly implemented member 'int IComparer<HistogramIterationValue>.Compare(HistogramIterationValue? x, HistogramIterationValue? y)' (possibly because of nullability attributes).
|
|
Run dotnet build -c Release --no-restore /p:Version=2.89.0-PR154:
HdrHistogram.Examples/Program.cs#L3
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)
|
background
wait
wait-all
cancel
Loading