Skip to content

chore: enable nullability for ParameterBase #177

chore: enable nullability for ParameterBase

chore: enable nullability for ParameterBase #177

Triggered via pull request May 8, 2024 22:18
Status Failure
Total duration 6m 0s
Artifacts

build_maui.yml

on: pull_request
build-prism-maui  /  Build Prism.Maui
5m 48s
build-prism-maui / Build Prism.Maui
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
Prism.Maui.Tests.Fixtures.Common.UriParsingHelperFixture.ParseForNull: tests/Maui/Prism.Maui.Tests/Fixtures/Common/UriParsingHelperFixture.cs#L179
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.ArgumentNullException) Actual: typeof(System.NullReferenceException) ---- System.NullReferenceException : Object reference not set to an instance of an object.
build-prism-maui / Build Prism.Maui
Process completed with exit code 1.
build-prism-maui / Build Prism.Maui
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-maui / Build Prism.Maui: 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-maui / Build Prism.Maui: 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-maui / Build Prism.Maui: 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-maui / Build Prism.Maui: 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.