Skip to content

chore: enable nullability for core mvvm #173

chore: enable nullability for core mvvm

chore: enable nullability for core mvvm #173

Triggered via pull request May 15, 2024 13:03
Status Failure
Total duration 2m 48s
Artifacts

build_wpf.yml

on: pull_request
build-prism-wpf  /  Build Prism.Wpf
2m 33s
build-prism-wpf / Build Prism.Wpf
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
build-prism-wpf / Build Prism.Wpf
Process completed with exit code 1.
build-prism-wpf / Build Prism.Wpf
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-prism-wpf / Build Prism.Wpf: 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-wpf / Build Prism.Wpf: 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-wpf / Build Prism.Wpf: 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-wpf / Build Prism.Wpf: 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-wpf / Build Prism.Wpf: 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-wpf / Build Prism.Wpf: 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()'.