Migrate to xUnit 3 #2060
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build:
src/Domain/LeanCode.DomainModels.Generators/IdSource.cs#L47
In method 'BuildPrefixedGuid', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
Build:
src/Domain/LeanCode.DomainModels.Generators/IdSource.cs#L176
In method 'BuildPrefixedUlid', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
Build:
src/Domain/LeanCode.DomainModels.Generators/IdSource.cs#L400
In method 'GetDefaultPrefix', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
|
Build:
test/LeanCode.Test.Helpers/ExternalServiceFactAttribute.cs#L8
Abstract type 'ExternalServiceFactAttribute' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
|
Build:
test/LeanCode.Test.Helpers/IntegrationFactAttribute.cs#L7
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
|
Build:
test/LeanCode.Test.Helpers/LongRunningFact.cs#L15
Remove the underscores from member name LeanCode.Test.Helpers.LongRunningFactTest.Long_running_test() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Build:
src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L25
Dereference of a possibly null reference.
|
Build:
src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L35
Dereference of a possibly null reference.
|
Build:
src/Tools/LeanCode.CodeAnalysis/Analyzers/SuggestCommandsHaveValidators.cs#L30
In externally visible method 'void SuggestCommandsHaveValidators.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Build:
src/Tools/LeanCode.CodeAnalysis/Analyzers/CancellationTokensShouldFollowNamingConvention.cs#L29
In externally visible method 'void CancellationTokensShouldFollowNamingConvention.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Loading