Update to 11.2 #1340
Annotations
36 warnings
Build ubuntu-latest
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/
|
Build ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build ubuntu-latest:
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L11
'EnableContextMenuBehavior.IsEnabledProperty' hides inherited member 'Behavior.IsEnabledProperty'. Use the new keyword if hiding was intended.
|
Build ubuntu-latest:
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L17
'EnableContextMenuBehavior.IsEnabled' hides inherited member 'Behavior.IsEnabled'. Use the new keyword if hiding was intended.
|
Build ubuntu-latest:
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)'.
|
Build ubuntu-latest:
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.
|
Build ubuntu-latest:
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.
|
Build ubuntu-latest:
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.
|
Build ubuntu-latest:
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.
|
Build ubuntu-latest:
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.
|
Build ubuntu-latest:
src/Core2D/Modules/Serializer/Newtonsoft/ProjectContractResolver.cs#L55
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.
|
Build ubuntu-latest:
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)
|
Build macos-latest
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/
|
Build macos-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build macos-latest:
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L11
'EnableContextMenuBehavior.IsEnabledProperty' hides inherited member 'Behavior.IsEnabledProperty'. Use the new keyword if hiding was intended.
|
Build macos-latest:
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L17
'EnableContextMenuBehavior.IsEnabled' hides inherited member 'Behavior.IsEnabled'. Use the new keyword if hiding was intended.
|
Build macos-latest:
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)'.
|
Build macos-latest:
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.
|
Build macos-latest:
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.
|
Build macos-latest:
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.
|
Build macos-latest:
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.
|
Build macos-latest:
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.
|
Build macos-latest:
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.
|
Build macos-latest:
src/Core2D/ViewLocator.cs#L15
Unrecognized value passed to the parameter 'typeName' of method 'System.Type.GetType(String)'. It's not possible to guarantee the availability of the target type.
|
Build windows-latest
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/
|
Build windows-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build windows-latest:
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L11
'EnableContextMenuBehavior.IsEnabledProperty' hides inherited member 'Behavior.IsEnabledProperty'. Use the new keyword if hiding was intended.
|
Build windows-latest:
src/Core2D/Behaviors/CancelContextMenuBehavior.cs#L17
'EnableContextMenuBehavior.IsEnabled' hides inherited member 'Behavior.IsEnabled'. Use the new keyword if hiding was intended.
|
Build windows-latest:
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)'.
|
Build windows-latest:
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.
|
Build windows-latest:
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.
|
Build windows-latest:
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.
|
Build windows-latest:
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.
|
Build windows-latest:
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.
|
Build windows-latest:
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.
|
Build windows-latest:
src/Core2D/Modules/Renderer/WinForms/WinFormsRenderer.cs#L95
This call site is reachable on all platforms. 'Pen.DashOffset' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|