Skip to content

Fix Null Ref when returning Result.Error(string) non-generically. #273

Fix Null Ref when returning Result.Error(string) non-generically.

Fix Null Ref when returning Result.Error(string) non-generically. #273

Triggered via pull request May 25, 2024 17:14
Status Success
Total duration 1m 38s
Artifacts 2

dotnetcore.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/Ardalis.Result/ErrorList.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/Ardalis.Result/Result.Void.cs#L73
'Result.Error(string)' hides inherited member 'Result<Result>.Error(string)'. Use the new keyword if hiding was intended.
build: src/Ardalis.Result/ErrorList.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/Ardalis.Result/Result.Void.cs#L73
'Result.Error(string)' hides inherited member 'Result<Result>.Error(string)'. Use the new keyword if hiding was intended.
build: src/Ardalis.Result/ErrorList.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/Ardalis.Result/Result.Void.cs#L73
'Result.Error(string)' hides inherited member 'Result<Result>.Error(string)'. Use the new keyword if hiding was intended.
build: src/Ardalis.Result/ErrorList.cs#L10
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: src/Ardalis.Result/Result.Void.cs#L73
'Result.Error(string)' hides inherited member 'Result<Result>.Error(string)'. Use the new keyword if hiding was intended.
build: sample/Ardalis.Result.SampleWeb/Program.cs#L65
Dereference of a possibly null reference.
build: sample/Ardalis.Result.SampleWeb/Program.cs#L65
Dereference of a possibly null reference.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "code-coverage-results", "pr-number". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
code-coverage-results Expired
414 Bytes
pr-number Expired
4 Bytes