chore: enable nullability for core mvvm #183
Annotations
3 errors and 11 warnings
Run Tests:
tests/Prism.Core.Tests/Mvvm/ErrorsContainerFixture.cs#L188
System.ArgumentNullException : Value cannot be null. (Parameter 'source')
|
Run Tests:
tests/Prism.Core.Tests/Mvvm/ErrorsContainerFixture.cs#L175
System.ArgumentNullException : Value cannot be null. (Parameter 'key')
|
Run Tests
Process completed with exit code 1.
|
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 Packages:
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 Packages:
src/Prism.Core/Common/ParametersExtensions.cs#L49
Possible null reference return.
|
Build Packages:
src/Prism.Core/Common/ParametersExtensions.cs#L78
Possible null reference assignment.
|
Build Packages:
src/Prism.Core/Common/ParametersExtensions.cs#L110
Possible null reference assignment.
|
Build Packages:
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 Packages:
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 Packages:
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 Packages:
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 Packages:
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 Packages:
src/Prism.Core/Common/ParametersExtensions.cs#L49
Possible null reference return.
|
Loading