Support assigning null to non-reference types when HandleNull convert… #46
Annotations
11 warnings
|
publish test results
This action is running on a pull_request event for a fork repository. It cannot do anything useful like creating check runs or pull request comments. To run the action on fork repository pull requests, see https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#support-fork-repositories-and-dependabot-branches
|
|
dotnet build:
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L88
Possible null reference argument for parameter 'segment' in 'bool IAdapter.TryAdd(object target, string segment, JsonSerializerOptions options, object? value, out string? errorMessage)'.
|
|
dotnet build:
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L83
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
|
|
dotnet build:
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L63
Possible null reference argument for parameter 'path' in 'void ObjectAdapter.Add(string path, object? value, object objectToApplyTo, Operation operation)'.
|
|
dotnet build:
SystemTextJsonPatch/Internal/ListAdapter.cs#L149
Possible null reference argument for parameter 'listTypeArgument' in 'bool ListAdapter.TryConvertValue(object? originalValue, Type listTypeArgument, string _, JsonSerializerOptions options, out object? convertedValue, out string? errorMessage)'.
|
|
dotnet build:
SystemTextJsonPatch/Internal/ListAdapter.cs#L117
Possible null reference argument for parameter 'listTypeArgument' in 'bool ListAdapter.TryConvertValue(object? originalValue, Type listTypeArgument, string _, JsonSerializerOptions options, out object? convertedValue, out string? errorMessage)'.
|
|
dotnet build:
SystemTextJsonPatch/Internal/ListAdapter.cs#L29
Possible null reference argument for parameter 'listTypeArgument' in 'bool ListAdapter.TryConvertValue(object? originalValue, Type listTypeArgument, string _, JsonSerializerOptions options, out object? convertedValue, out string? errorMessage)'.
|
|
dotnet build:
SystemTextJsonPatch/JsonPatchDocumentOfT.cs#L630
Possible null reference return.
|
|
dotnet build:
SystemTextJsonPatch/JsonPatchDocumentOfT.cs#L630
Cannot convert null literal to non-nullable reference type.
|
|
dotnet build:
SystemTextJsonPatch/JsonPatchDocumentOfT.cs#L585
Possible null reference argument for parameter 'expr' in 'List<string> JsonPatchDocument<TModel>.GetPathSegments(Expression expr)'.
|
|
dotnet build:
SystemTextJsonPatch/JsonPatchDocumentOfT.cs#L575
Possible null reference argument for parameter 'expr' in 'List<string> JsonPatchDocument<TModel>.GetPathSegments(Expression expr)'.
|
Loading