Handle KeyNotFoundException thrown from DictionaryPropertyProxy and D… #239
Annotations
1 error and 11 warnings
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L63
Possible null reference argument for parameter 'path' in 'void ObjectAdapter.Add(string path, object? value, object objectToApplyTo, Operation operation)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L83
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L88
Dereference of a possibly null reference.
|
Analyze (csharp):
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)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L90
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreateOperationFailedError(object target, string path, Operation operation, string errorMessage)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L108
Possible null reference argument for parameter 'path' in 'void ObjectAdapter.Add(string path, object? value, object objectToApplyTo, Operation operation)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L135
Possible null reference argument for parameter 'path' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L135
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L140
Dereference of a possibly null reference.
|
Analyze (csharp):
SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L140
Possible null reference argument for parameter 'segment' in 'bool IAdapter.TryRemove(object target, string segment, JsonSerializerOptions options, out string? errorMessage)'.
|