Fix some nullable warnings #4757
Merged
Annotations
10 warnings
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L545
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L482
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L469
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The field 'UniGetUI.Avalonia.Infrastructure.WindowsAppNotificationBridge._buttonType' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L466
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'System.Activator.CreateInstance(Type, params Object[])'. The field 'UniGetUI.Avalonia.Infrastructure.WindowsAppNotificationBridge._buttonType' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L446
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The field 'UniGetUI.Avalonia.Infrastructure.WindowsAppNotificationBridge._builderType' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L498
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs#L505
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
|
|
Build headless daemon:
src/UniGetUI.Avalonia/Models/PackageCollections.cs#L116
Member 'MaybeStartInstallerHostCheck' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
|
|
Build headless daemon:
src/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs#L168
The event 'PackagesPageViewModel.ShowingContextMenu' is never used
|
|
Build headless daemon:
src/UniGetUI.Avalonia/ViewModels/DialogPages/ManageIgnoredUpdatesViewModel.cs#L14
The event 'ManageIgnoredUpdatesViewModel.CloseRequested' is never used
|
background
wait
wait-all
cancel
Loading