Skip to content

chore: enable nullability for ParameterBase #170

chore: enable nullability for ParameterBase

chore: enable nullability for ParameterBase #170

Triggered via pull request May 8, 2024 22:48
Status Failure
Total duration 4m 15s
Artifacts

build_forms.yml

on: pull_request
build-prism-forms  /  Build Prism.Forms
4m 1s
build-prism-forms / Build Prism.Forms
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 12 warnings
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/UriParsingHelper.cs#L159
'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/UriParsingHelper.cs#L159
'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/UriParsingHelper.cs#L159
'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
build-prism-forms / Build Prism.Forms
Process completed with exit code 1.
build-prism-forms / Build Prism.Forms
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, AdoptOpenJDK/install-jdk@v1, microsoft/setup-msbuild@v1.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-prism-forms / Build Prism.Forms
The following actions uses node12 which is deprecated and will be forced to run on node16: AdoptOpenJDK/install-jdk@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/ParametersBase.cs#L122
Nullability of reference types in return type of 'IEnumerator<KeyValuePair<string, object?>> ParametersBase.GetEnumerator()' doesn't match implicitly implemented member 'IEnumerator<KeyValuePair<string, object>> IEnumerable<KeyValuePair<string, object>>.GetEnumerator()'.
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/ParametersBase.cs#L116
Argument of type 'List<KeyValuePair<string, object?>>' cannot be used for parameter 'parameters' of type 'IEnumerable<KeyValuePair<string, object>>' in 'bool ParametersExtensions.ContainsKey(IEnumerable<KeyValuePair<string, object>> parameters, string key)' due to differences in the nullability of reference types.
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/ParametersBase.cs#L132
Argument of type 'List<KeyValuePair<string, object?>>' cannot be used for parameter 'parameters' of type 'IEnumerable<KeyValuePair<string, object>>' in 'T ParametersExtensions.GetValue<T>(IEnumerable<KeyValuePair<string, object>> parameters, string key)' due to differences in the nullability of reference types.
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/ParametersBase.cs#L141
Argument of type 'List<KeyValuePair<string, object?>>' cannot be used for parameter 'parameters' of type 'IEnumerable<KeyValuePair<string, object>>' in 'IEnumerable<T> ParametersExtensions.GetValues<T>(IEnumerable<KeyValuePair<string, object>> parameters, string key)' due to differences in the nullability of reference types.
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/ParametersBase.cs#L150
Argument of type 'List<KeyValuePair<string, object?>>' cannot be used for parameter 'parameters' of type 'IEnumerable<KeyValuePair<string, object>>' in 'bool ParametersExtensions.TryGetValue<T>(IEnumerable<KeyValuePair<string, object>> parameters, string key, out T value)' due to differences in the nullability of reference types.
build-prism-forms / Build Prism.Forms: src/Prism.Core/Common/ParametersBase.cs#L122
Nullability of reference types in return type of 'IEnumerator<KeyValuePair<string, object?>> ParametersBase.GetEnumerator()' doesn't match implicitly implemented member 'IEnumerator<KeyValuePair<string, object>> IEnumerable<KeyValuePair<string, object>>.GetEnumerator()'.