Add Directory.Build.props #1083
Annotations
30 warnings
test-codebase:
src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L11
Non-nullable property 'InterfaceType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-codebase:
src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L16
Non-nullable property 'ProjectedClassType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-codebase:
src/WindowsPackageManager.Interop/WindowsPackageManager/ClassModel.cs#L21
Non-nullable property 'Clsids' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
test-codebase:
src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L20
Argument of type 'Dictionary<object, object>' cannot be used as an output of type 'Dictionary<object, object?>' for parameter 'value' in 'bool ConcurrentDictionary<string, Dictionary<object, object?>>.TryGetValue(string key, out Dictionary<object, object?> value)' due to differences in the nullability of reference types.
|
test-codebase:
src/UniGetUI.Core.Settings.Tests/SettingsTest.cs#L117
Dereference of a possibly null reference.
|
test-codebase:
src/UniGetUI.Core.IconStore/IconCacheEngine.cs#L232
Remove unused parameter 'extension' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0060)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L40
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L41
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L47
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L48
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Settings/SettingsEngine_Dictionaries.cs#L20
Argument of type 'Dictionary<object, object>' cannot be used as an output of type 'Dictionary<object, object?>' for parameter 'value' in 'bool ConcurrentDictionary<string, Dictionary<object, object?>>.TryGetValue(string key, out Dictionary<object, object?> value)' due to differences in the nullability of reference types.
|
test-codebase:
src/UniGetUI.Core.Settings.Tests/SettingsTest.cs#L117
Dereference of a possibly null reference.
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L40
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L41
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L47
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L48
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L15
Member 'SlowMethod2' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L21
Member 'SlowMethod3' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L104
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI.Core.Classes.Tests/TaskRecyclerTests.cs#L105
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
test-codebase:
src/UniGetUI/Pages/DialogPages/DialogHelper_Generic.cs#L272
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
test-codebase:
src/UniGetUI/Pages/SoftwarePages/SoftwareUpdatesPage.cs#L353
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
test-codebase:
src/UniGetUI/Controls/OperationWidgets/OperationControl.cs#L141
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
test-codebase:
src/UniGetUI/Controls/OperationWidgets/OperationControl.cs#L406
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
test-codebase:
src/UniGetUI/Controls/OperationWidgets/OperationControl.cs#L435
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
test-codebase:
src/UniGetUI/Controls/OperationWidgets/OperationControl.cs#L460
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
test-codebase:
src/UniGetUI/Pages/MainView.xaml.cs#L347
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test-codebase:
src/UniGetUI/Pages/SettingsPage.xaml.cs#L38
Non-nullable field 'ResetBackupDirectory' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test-codebase:
src/UniGetUI/Pages/SettingsPage.xaml.cs#L38
Non-nullable field 'OpenBackupDirectory' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
test-codebase:
src/UniGetUI/Pages/SettingsPage.xaml.cs#L38
Non-nullable field 'BackupDirectoryLabel' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|