Skip to content

Bump analysis level to .net8, fixed compilation errors #106

Bump analysis level to .net8, fixed compilation errors

Bump analysis level to .net8, fixed compilation errors #106

Triggered via push August 7, 2024 16:38
Status Success
Total duration 1m 40s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 1 notice
235 tests found
There are 235 tests, see "Raw output" for the full list of tests.
build and test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build and test: SystemTextJsonPatch/JsonPatchDocumentOfT.cs#L630
Cannot convert null literal to non-nullable reference type.
build and test: 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)'.
build and test: 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)'.
build and test: 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)'.
build and test: SystemTextJsonPatch/Converters/JsonPatchDocumentConverter.cs#L36
Possible null reference argument for parameter 'operations' in 'JsonPatchDocument.JsonPatchDocument(List<Operation> operations, JsonSerializerOptions options)'.
build and test: SystemTextJsonPatch/Converters/GenericJsonPatchDocumentConverter.cs#L30
Possible null reference argument for parameter 'operations' in 'JsonPatchDocument<TModel>.JsonPatchDocument(List<Operation<TModel>> operations, JsonSerializerOptions options)'.
build and test: SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L63
Possible null reference argument for parameter 'path' in 'void ObjectAdapter.Add(string path, object? value, object objectToApplyTo, Operation operation)'.
build and test: SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L83
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
build and test: SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L88
Dereference of a possibly null reference.
build and test: 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)'.
build and test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/