chore: enable nullability for ParameterBase #167
Annotations
2 errors and 22 warnings
Run Tests:
tests/Forms/Prism.Forms.Tests/Common/UriParsingHelperFixture.cs#L182
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.
|
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, AdoptOpenJDK/install-jdk@v1, microsoft/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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 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.
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/PageBehaviorFactory.cs#L82
'MasterDetailPage' is obsolete: 'MasterDetailPage is obsolete as of version 5.0.0. Please use FlyoutPage instead.'
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/PageBehaviorFactory.cs#L83
'PageBehaviorFactory.ApplyMasterDetailPageBehaviors(MasterDetailPage)' is obsolete: 'MasterDetailPage is obsolete, please use FlyoutPage'
|
Run Tests:
src/Forms/Prism.Forms/Navigation/PageNavigationService.cs#L343
'PageNavigationService.ProcessNavigationForAbsoulteUri(Queue<string>, INavigationParameters, bool?, bool)' is obsolete: 'Renamed to 'ProcessNavigationForAbsoluteUri''
|
Run Tests:
src/Forms/Prism.Forms/AppModel/IPageLifecycleAware.cs#L9
Missing XML comment for publicly visible type or member 'IPageLifecycleAware.OnAppearing()'
|
Run Tests:
src/Forms/Prism.Forms/AppModel/IPageLifecycleAware.cs#L10
Missing XML comment for publicly visible type or member 'IPageLifecycleAware.OnDisappearing()'
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/CarouselPageActiveAwareBehavior.cs#L5
Missing XML comment for publicly visible type or member 'CarouselPageActiveAwareBehavior'
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/MultiPageActiveAwareBehavior{T}.cs#L8
Missing XML comment for publicly visible type or member 'MultiPageActiveAwareBehavior<T>'
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/MultiPageActiveAwareBehavior{T}.cs#L10
Missing XML comment for publicly visible type or member 'MultiPageActiveAwareBehavior<T>._lastSelectedPage'
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/NavigationPageActiveAwareBehavior.cs#L6
Missing XML comment for publicly visible type or member 'NavigationPageActiveAwareBehavior'
|
Run Tests:
src/Forms/Prism.Forms/Behaviors/NavigationPageActiveAwareBehavior.cs#L8
Missing XML comment for publicly visible type or member 'NavigationPageActiveAwareBehavior.OnAttachedTo(NavigationPage)'
|
Loading