chore: enable nullability for ParameterBase #182
Annotations
12 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 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/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/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#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.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "NuGet".
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/
|
Loading