CodeQL #268
Annotations
1 error and 10 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):
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#L135
Possible null reference argument for parameter 'path' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
|
|
Analyze (csharp):
SystemTextJsonPatch/Converters/JsonPatchDocumentConverter.cs#L36
Possible null reference argument for parameter 'operations' in 'JsonPatchDocument.JsonPatchDocument(List<Operation> operations, JsonSerializerOptions options)'.
|
|
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#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#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#L88
Dereference of a possibly null reference.
|
|
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/Converters/GenericJsonPatchDocumentConverter.cs#L30
Possible null reference argument for parameter 'operations' in 'JsonPatchDocument<TModel>.JsonPatchDocument(List<Operation<TModel>> operations, JsonSerializerOptions options)'.
|
|
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)'.
|