Skip to content

Fixed creating and loading an Activity VM and its lifecycle twice after restoring on Android #33

Fixed creating and loading an Activity VM and its lifecycle twice after restoring on Android

Fixed creating and loading an Activity VM and its lifecycle twice after restoring on Android #33

Triggered via pull request April 8, 2024 20:59
Status Success
Total duration 31m 4s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): MvvmCross/ViewModels/MvxDefaultViewModelLocator.cs#L40
Nullability in constraints for type parameter 'TParameter' of method 'MvxDefaultViewModelLocator.Load<TParameter>(Type, TParameter, IMvxBundle?, IMvxBundle?, IMvxNavigateEventArgs?)' doesn't match the constraints for type parameter 'TParameter' of interface method 'IMvxViewModelLocator.Load<TParameter>(Type, TParameter, IMvxBundle?, IMvxBundle?, IMvxNavigateEventArgs?)'. Consider using an explicit interface implementation instead.
Analyze (csharp): MvvmCross/Platforms/WinUi/Views/MvxWindowsExtensions.cs#L91
#warning: 'ClearingBackStack disabled for now'
Analyze (csharp): MvvmCross/ViewModels/MvxViewModelViewLookupBuilder.cs#L26
Argument of type 'IEnumerable<(Type? viewModelType, Type candidateViewType)>' cannot be used for parameter 'views' of type 'IEnumerable<(Type, Type)>' in 'IEnumerable<(Type, Type)>? MvxViewModelViewLookupBuilder.FilterViews(IEnumerable<(Type, Type)>? views)' due to differences in the nullability of reference types.
Analyze (csharp): MvvmCross/ViewModels/MvxViewModelViewLookupBuilder.cs#L34
Argument of type 'IEnumerable<(Type? viewModelType, Type candidateViewType)>' cannot be used for parameter 'views' of type 'IEnumerable<(Type, Type)>' in 'Exception MvxViewModelViewLookupBuilder.ReportBuildProblem(IEnumerable<(Type, Type)> views, ArgumentException exception)' due to differences in the nullability of reference types.
Analyze (csharp): MvvmCross/Core/MvxSimplePropertyDictionaryExtensions.cs#L123
Dereference of a possibly null reference.
Analyze (csharp): MvvmCross/ViewModels/MvxViewModelExtensions.cs#L54
Dereference of a possibly null reference.
Analyze (csharp): MvvmCross/ViewModels/MvxNavigationSerializer.cs#L26
Dereference of a possibly null reference.
Analyze (csharp): MvvmCross/ViewModels/MvxNavigationSerializer.cs#L26
Possible null reference argument for parameter 'serializer' in 'MvxNavigationSerializer.MvxNavigationSerializer(IMvxTextSerializer serializer)'.
Analyze (csharp): MvvmCross/ViewModels/MvxInteractionExtensions.cs#L17
Possible null reference argument for parameter 'eventInfo' in 'MvxGeneralEventSubscription MvxWeakSubscriptionExtensions.WeakSubscribe(EventInfo eventInfo, object source, EventHandler<EventArgs> eventHandler)'.