Update to Avalonia version 11.1.0-rc1 #1338
Annotations
12 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v1. 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: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
src/Core2D/Program.cs#L133
Possible null reference argument for parameter 'host' in 'int HeadlessVncPlatformExtensions.StartWithHeadlessVncPlatform(AppBuilder builder, string host, int port, string[] args, ShutdownMode shutdownMode = ShutdownMode.OnLastWindowClose)'.
|
src/Core2D/AppModule.cs#L54
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
src/Core2D/AppModule.cs#L96
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
src/Core2D/AppModule.cs#L103
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
src/Core2D/AppModule.cs#L112
Using member 'Autofac.RegistrationExtensions.RegisterAssemblyTypes(ContainerBuilder, params Assembly[])' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly scanning is unlikely to be compatible with member-level trimming; the linker will not be able to determine which types to preserve.
|
src/Core2D/Behaviors/AttachEditorBehavior.cs#L11
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.AttachEditorBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L29
Base member 'Avalonia.Xaml.Interactivity.Behavior<T>.OnAttached()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'Core2D.Behaviors.EnableContextMenuBehavior.OnAttached()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
|
src/Core2D/Json/ListContractResolver.cs#L24
Call to 'System.Type.MakeGenericType(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
|
src/Core2D/Views/Data/DatabaseView.axaml.cs#L157
Using member 'Avalonia.Data.Binding.Binding(String, BindingMode)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. BindingExpression and ReflectionBinding heavily use reflection. Consider using CompiledBindings instead.
|
src/Core2D/Program.cs#L122
This call site is reachable on all platforms. 'ManagedFileDialogExtensions.UseManagedSystemDialogs(AppBuilder)' is only supported on: 'linux', 'macOS/OSX', 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
This job succeeded
Loading