Skip to content

Big warnings cleanup (#4839) #37

Big warnings cleanup (#4839)

Big warnings cleanup (#4839) #37

Triggered via push March 19, 2024 12:26
Status Success
Total duration 12m 27s
Artifacts

sonar.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: 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.
build: MvvmCross/Core/MvxSimplePropertyDictionaryExtensions.cs#L123
Dereference of a possibly null reference.
build: MvvmCross/Presenters/MvxViewPresenter.cs#L34
Converting null literal or possible null value to non-nullable type.
build: 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.
build: 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.
build: MvvmCross/ViewModels/MvxViewModelExtensions.cs#L54
Dereference of a possibly null reference.
build: MvvmCross/ViewModels/MvxNavigationSerializer.cs#L26
Dereference of a possibly null reference.
build: MvvmCross/ViewModels/MvxNavigationSerializer.cs#L26
Possible null reference argument for parameter 'serializer' in 'MvxNavigationSerializer.MvxNavigationSerializer(IMvxTextSerializer serializer)'.
build: MvvmCross/ViewModels/MvxInteractionExtensions.cs#L17
Possible null reference argument for parameter 'eventInfo' in 'MvxGeneralEventSubscription MvxWeakSubscriptionExtensions.WeakSubscribe(EventInfo eventInfo, object source, EventHandler<EventArgs> eventHandler)'.