syntax sugar #146
Annotations
1 error and 11 warnings
build
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build:
src/identity/OpenIddict.UI.Identity.Api/DependencyInjection.cs#L74
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
|
build:
src/identity/OpenIddict.UI.Identity.Infrastructure/Services/AccountService.cs#L93
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305)
|
build:
src/openiddict/OpenIddict.UI.Api/Application/ApplicationOptionsViewModel.cs#L8
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/openiddict/OpenIddict.UI.Api/Application/ApplicationOptionsViewModel.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/openiddict/OpenIddict.UI.Api/Application/ApplicationOptionsViewModel.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/openiddict/OpenIddict.UI.Api/Options/OpenIddictUIApiOptions.cs#L13
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/openiddict/OpenIddict.UI.Api/Scope/ScopeViewModel.cs#L17
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/openiddict/OpenIddict.UI.Api/DependencyInjection.cs#L50
Use AddAuthorizationBuilder to register authorization services and construct policies (https://aka.ms/aspnet/analyzers)
|
build:
samples/Server/Helpers/AsyncEnumerableExtensions.cs#L7
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build:
samples/Server/Models/Data/UI/20210818083326_InitialUI.cs#L132
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
|