MVP #6
Annotations
2 errors and 10 warnings
|
publish
The operation was canceled.
|
publish:
src/Aspire/ServiceDefaults/Extensions.cs#L110
In externally visible method 'WebApplication Extensions.MapDefaultEndpoints(WebApplication app)', validate parameter 'app' 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)
|
publish:
src/Aspire/ServiceDefaults/Extensions.cs#L55
In externally visible method 'IHostApplicationBuilder Extensions.ConfigureOpenTelemetry(IHostApplicationBuilder builder)', validate parameter 'builder' 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)
|
publish:
src/Aspire/ServiceDefaults/Extensions.cs#L18
The type name Extensions conflicts in whole or in part with the namespace name 'Microsoft.AspNetCore.Builder.Extensions'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
|
publish:
src/Migrator/MigrationActivities.cs#L21
Member 'GetTypesAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
publish:
src/Migrator/MigrationWorkflow.cs#L95
Count() is used where Any() could be used instead to improve performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1827)
|
publish:
src/Migrator/MigrationWorkflow.cs#L108
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|
publish:
src/Migrator/MigrationWorkflow.cs#L89
Member 'RunMigrationAsync' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
publish:
test/Worker/Program.cs#L37
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.
|
publish:
test/Worker/Program.cs#L29
Dereference of a possibly null reference.
|
publish:
test/Worker/Migrations/M2.cs#L19
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
|