Skip to content

Bump StyleCop.Analyzers from 1.2.0-beta.507 to 1.2.0-beta.556 #47

Bump StyleCop.Analyzers from 1.2.0-beta.507 to 1.2.0-beta.556

Bump StyleCop.Analyzers from 1.2.0-beta.507 to 1.2.0-beta.556 #47

Triggered via push December 25, 2023 16:11
Status Failure
Total duration 1m 9s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: Gu.Wpf.DataGrid2D.Tests/Helpers/DataGridTestExt.cs#L18
'Assert' does not contain a definition for 'NotNull'
build: Gu.Wpf.DataGrid2D.Tests/Internals/EnumerableExtTests.cs#L14
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Internals/EnumerableExtTests.cs#L21
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L14
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L16
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L17
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L18
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L20
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L21
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.Tests/Views/TransposedSource.cs#L24
'Assert' does not contain a definition for 'AreEqual'
build: Gu.Wpf.DataGrid2D.UiTests/ItemsSourceTests.CellTemplate.cs#L44
Use 'string.Contains(char)' instead of 'string.Contains(string)' when searching for a single character (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847)
build: Gu.Wpf.DataGrid2D/Internals/BindingHelper.cs#L126
Modify 'OneWayTo' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
build: Gu.Wpf.DataGrid2D.UiTests/ItemsSourceTests.CellTemplate.cs#L44
'string.Contains(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Gu.Wpf.DataGrid2D.UiTests.ItemsSourceTests.CellTemplate.CellTemplateTest(string)' with a call to 'string.Contains(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: Gu.Wpf.DataGrid2D/Internals/CellTemplateColumn.cs#L65
Change return type of method 'LoadTemplateContent' from 'System.Windows.FrameworkElement?' to 'System.Windows.Controls.ContentPresenter?' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build: Gu.Wpf.DataGrid2D/ItemsSource.Transposed.cs#L123
Change return type of method 'CreateSingletonEnumerable' from 'System.Collections.IEnumerable' to 'System.Array' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build: Gu.Wpf.DataGrid2D/Internals/CellTemplateColumn.cs#L65
Change return type of method 'LoadTemplateContent' from 'System.Windows.FrameworkElement?' to 'System.Windows.Controls.ContentPresenter?' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build: Gu.Wpf.DataGrid2D/ItemsSource.Transposed.cs#L123
Change return type of method 'CreateSingletonEnumerable' from 'System.Collections.IEnumerable' to 'System.Array' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build: Gu.Wpf.DataGrid2D/Internals/BindingHelper.cs#L126
Modify 'OneWayTo' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
build: Gu.Wpf.DataGrid2D/Internals/Array2DIndexPropertyDescriptor.cs#L18
Nullability of type of parameter 'component' doesn't match overridden member (possibly because of nullability attributes).
build: Gu.Wpf.DataGrid2D/Internals/Array2DIndexPropertyDescriptor.cs#L31
Nullability of type of parameter 'component' doesn't match overridden member (possibly because of nullability attributes).