Create a new TaskRecycler class to cache reusable function calls #752
Annotations
10 warnings
test-codebase:
src/UniGetUI.Core.Classes/TaskRecycler.cs#L118
Member 'DeduplicatedCalls' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
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#L61
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#L62
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#L69
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)
|