Skip to content

Rating view

Rating view #113

Re-run triggered January 30, 2025 00:28
Status Failure
Total duration 5s
Artifacts

dotnet-build.yml

on: pull_request
Matrix: Build Library
Matrix: Build Sample App using Latest .NET SDK
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 65 warnings
CommunityToolkit.Maui.UnitTests.Layouts.StateContainerTests.StateContainer_CustomAnimation_Timeout: _/src/CommunityToolkit.Maui.UnitTests/Layouts/StateContainerTests.cs#L242
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Threading.Tasks.TaskCanceledException) Actual: typeof(System.IndexOutOfRangeException) ---- System.IndexOutOfRangeException : Index was outside the bounds of the array.
CommunityToolkit.Maui.UnitTests.Layouts.StateContainerTests.StateContainer_CancellationTokenExpired: _/src/CommunityToolkit.Maui.UnitTests/Layouts/StateContainerTests.cs#L122
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Threading.Tasks.TaskCanceledException) Actual: typeof(System.IndexOutOfRangeException) ---- System.IndexOutOfRangeException : Index was outside the bounds of the array.
Build Library (windows-latest)
The job was canceled because "macos-15" failed.
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L207
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L274
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L350
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'ios' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.), 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L145
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.BeginImageContext(CGSize)' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L149
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15)
'Expander.ContentProperty' hides inherited member 'ContentView.ContentProperty'. Use the new keyword if hiding was intended.
Build Library (macos-15)
'Expander.Content' hides inherited member 'ContentView.Content'. Use the new keyword if hiding was intended.
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L148
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui/AppBuilderExtensions.shared.cs#L37
This call site is reachable on all platforms. 'NavigationBar.RemapForControls()' is only supported on: 'Android' 21.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L109
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15)
'Expander.ContentProperty' hides inherited member 'ContentView.ContentProperty'. Use the new keyword if hiding was intended.
Build Library (macos-15)
'Expander.Content' hides inherited member 'ContentView.Content'. Use the new keyword if hiding was intended.
Build Sample App using Latest .NET SDK (windows-latest): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L117
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui/AppBuilderExtensions.shared.cs#L37
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'NavigationBar.RemapForControls()' is only supported on: 'Android' 21.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15)
'Expander.ContentProperty' hides inherited member 'ContentView.ContentProperty'. Use the new keyword if hiding was intended.
Build Library (macos-15)
'Expander.Content' hides inherited member 'ContentView.Content'. Use the new keyword if hiding was intended.
Build Library (macos-15): src/CommunityToolkit.Maui/AppBuilderExtensions.shared.cs#L37
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'NavigationBar.RemapForControls()' is only supported on: 'Android' 21.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.UnitTests/Behaviors/UserStoppedTypingBehaviorTests.cs#L266
'VisualElement.FocusChangeRequested' is obsolete: 'This is now handled through VisualElement.MapFocus, this event handler will be removed in the future.'
Build Library (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L274
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L350
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L207
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L274
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L350
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15)
The 'dotnet-quality' input can be used only with .NET SDK version in A.B, A.B.x, A, A.x and A.B.Cxx formats where the major tag is higher than 5. You specified: 9.0.102. 'dotnet-quality' input is ignored.
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L109
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L118
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L117
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L145
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.BeginImageContext(CGSize)' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L148
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L149
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'ios' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.), 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L274
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L109
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L350
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L118
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L207
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.MediaElement/Services/MediaControlsService.android.cs#L114
'MediaSession.SessionCompatToken' is obsolete: 'deprecated'
Build Library (macos-15): src/CommunityToolkit.Maui.MediaElement/Services/MediaControlsService.android.cs#L114
'PlayerNotificationManager.SetMediaSessionToken(MediaSessionCompat.Token?)' is obsolete: 'deprecated'
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L274
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.MediaElement/Services/MediaControlsService.android.cs#L114
'MediaSession.SessionCompatToken' is obsolete: 'deprecated'
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L350
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.MediaElement/Services/MediaControlsService.android.cs#L114
'PlayerNotificationManager.SetMediaSessionToken(MediaSessionCompat.Token?)' is obsolete: 'deprecated'
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L207
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'ios' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.), 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'ios' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.), 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L149
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L149
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L148
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L145
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.BeginImageContext(CGSize)' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L117
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L118
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L109
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L117
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L109
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-15): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L118
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)