Skip to content

Bump Microsoft.VisualStudio.Threading.Analyzers from 17.7.30 to 17.8.14 #41

Bump Microsoft.VisualStudio.Threading.Analyzers from 17.7.30 to 17.8.14

Bump Microsoft.VisualStudio.Threading.Analyzers from 17.7.30 to 17.8.14 #41

Status Failure
Total duration 4m 34s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
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/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/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/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/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.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.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/TransposedPropertyDescriptor.cs#L16
Nullability of type of parameter 'component' doesn't match overridden member (possibly because of nullability attributes).
build: Gu.Wpf.DataGrid2D/Internals/TransposedPropertyDescriptor.cs#L24
Nullability of type of parameter 'component' doesn't match overridden member (possibly because of nullability attributes).