Skip to content

Fixed creating and loading an Activity VM and its lifecycle twice aft… #1

Fixed creating and loading an Activity VM and its lifecycle twice aft…

Fixed creating and loading an Activity VM and its lifecycle twice aft… #1

Triggered via push May 11, 2024 11:38
Status Success
Total duration 31m 15s
Artifacts

codeql.yml

on: push
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/Core/MvxSimplePropertyDictionaryExtensions.cs#L123
Dereference of a possibly null reference.
Analyze (csharp): MvvmCross/Presenters/MvxViewPresenter.cs#L34
Converting null literal or possible null value to non-nullable type.
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/ViewModels/MvxChildViewModelCache.cs#L31
Converting null literal or possible null value to non-nullable type.
Analyze (csharp): MvvmCross/ViewModels/MvxChildViewModelCache.cs#L32
Possible null reference return.
Analyze (csharp): MvvmCross/ViewModels/MvxChildViewModelCache.cs#L37
Possible null reference return.
Analyze (csharp): MvvmCross/ViewModels/MvxDefaultViewModelLocator.cs#L28
Dereference of a possibly null reference.