Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ resharper_convert_to_primary_constructor_highlighting = none

# Meziantou Rules
dotnet_diagnostic.MA0003.severity = none
dotnet_diagnostic.MA0038.severity = none

#### Razor Files ####

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ namespace Visus.AddressValidation.Integration.Google.Serialization.Json;
[JsonSerializable(typeof(ApiErrorResponse))]
[JsonSerializable(typeof(ApiResponse))]
[JsonSourceGenerationOptions(WriteIndented = false, PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase)]
internal partial class ApiResponseJsonSerializerContext : JsonSerializerContext;
internal sealed partial class ApiResponseJsonSerializerContext : JsonSerializerContext;
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
cancellationToken)
.ConfigureAwait(false);

if ( !factoryRan )
if ( !factoryRan ) // NOSONAR S2583 - false positive: factoryRan is mutated inside the async lambda above

Check warning on line 102 in src/Visus.AddressValidation/Services/AbstractAuthenticationService.cs

View workflow job for this annotation

GitHub Actions / Test & Analysis

Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable.

Check warning on line 102 in src/Visus.AddressValidation/Services/AbstractAuthenticationService.cs

View workflow job for this annotation

GitHub Actions / Test & Analysis

Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable.
{
return string.IsNullOrWhiteSpace(tokenResponse?.AccessToken) ? null : tokenResponse.AccessToken;
}
Expand Down
Loading