Continue fixing it #231
Annotations
33 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:
src/XamlPlayground/ViewModels/MainViewModel.cs#L51
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
Build ubuntu-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L281
Possible null reference argument for parameter 'xaml' in 'Control? AvaloniaRuntimeXamlLoader.Parse<Control?>(string xaml, Assembly? localAssembly = null)'.
|
Build ubuntu-latest:
src/XamlPlayground/Behaviors/TextEditorBehavior.cs#L15
The field 'TextEditorBehavior._registryOptions' is never used
|
Build ubuntu-latest:
src/XamlPlayground/ViewModels/ViewModelBase.cs#L6
The type XamlPlayground.ViewModels.ViewModelBase is using the
|
Build ubuntu-latest:
src/XamlPlayground/ViewLocator.cs#L13
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 ubuntu-latest:
src/XamlPlayground/Services/CompilerService.cs#L63
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
Build ubuntu-latest:
src/XamlPlayground/Services/CompilerService.cs#L65
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
Build ubuntu-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L107
The field XamlPlayground.ViewModels.MainViewModel._samples is annotated with
|
Build ubuntu-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L170
The field XamlPlayground.ViewModels.MainViewModel._enableAutoRun is annotated with
|
Build ubuntu-latest:
src/XamlPlayground/Services/CompilerService.cs#L101
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
|
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:
src/XamlPlayground/ViewModels/MainViewModel.cs#L51
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
Build windows-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L281
Possible null reference argument for parameter 'xaml' in 'Control? AvaloniaRuntimeXamlLoader.Parse<Control?>(string xaml, Assembly? localAssembly = null)'.
|
Build windows-latest:
src/XamlPlayground/Behaviors/TextEditorBehavior.cs#L15
The field 'TextEditorBehavior._registryOptions' is never used
|
Build windows-latest:
src/XamlPlayground/ViewModels/ViewModelBase.cs#L6
The type XamlPlayground.ViewModels.ViewModelBase is using the
|
Build windows-latest:
src/XamlPlayground/ViewLocator.cs#L13
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:
src/XamlPlayground/ViewModels/MainViewModel.cs#L107
The field XamlPlayground.ViewModels.MainViewModel._samples is annotated with
|
Build windows-latest:
src/XamlPlayground/Services/CompilerService.cs#L63
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
Build windows-latest:
src/XamlPlayground/Services/CompilerService.cs#L65
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
Build windows-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L170
The field XamlPlayground.ViewModels.MainViewModel._enableAutoRun is annotated with
|
Build windows-latest:
src/XamlPlayground/Services/CompilerService.cs#L101
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
|
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:
src/XamlPlayground/ViewModels/MainViewModel.cs#L51
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
Build macos-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L281
Possible null reference argument for parameter 'xaml' in 'Control? AvaloniaRuntimeXamlLoader.Parse<Control?>(string xaml, Assembly? localAssembly = null)'.
|
Build macos-latest:
src/XamlPlayground/Behaviors/TextEditorBehavior.cs#L15
The field 'TextEditorBehavior._registryOptions' is never used
|
Build macos-latest:
src/XamlPlayground/ViewModels/ViewModelBase.cs#L6
The type XamlPlayground.ViewModels.ViewModelBase is using the
|
Build macos-latest:
src/XamlPlayground/ViewLocator.cs#L13
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 macos-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L107
The field XamlPlayground.ViewModels.MainViewModel._samples is annotated with
|
Build macos-latest:
src/XamlPlayground/Services/CompilerService.cs#L63
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
Build macos-latest:
src/XamlPlayground/Services/CompilerService.cs#L65
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
|
Build macos-latest:
src/XamlPlayground/ViewModels/MainViewModel.cs#L170
The field XamlPlayground.ViewModels.MainViewModel._enableAutoRun is annotated with
|
Build macos-latest:
src/XamlPlayground/Services/CompilerService.cs#L101
Using member 'System.Runtime.Loader.AssemblyLoadContext.LoadFromStream(Stream)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
|