CodeQL #202
Annotations
11 warnings
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/obj/Release/net9.0/generated/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components/RouterOutlet_razor.g.cs#L124
Method 'Microsoft.AspNetCore.Components.DynamicComponent.Type.set' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/obj/Release/net9.0/generated/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components/RouterOutlet_razor.g.cs#L124
Method 'Microsoft.AspNetCore.Components.DynamicComponent.Type.set' with parameters or return value with `DynamicallyAccessedMembersAttribute` is accessed via reflection. Trimmer can't guarantee availability of the requirements of the method.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Components/Router.razor.cs#L1088
'componentType' argument does not satisfy 'DynamicallyAccessedMemberTypes.All' in call to 'Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.OpenComponent(Int32, Type)'. The field 'Blazouter.Components.Router._componentType' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Components/Router.razor.cs#L947
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'System.Collections.Generic.List<T>.this[Int32].get' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Components/Router.razor.cs#L1029
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.NonPublicProperties' in call to 'System.Type.GetProperty(String, BindingFlags)'. The parameter 'componentType' of method 'Blazouter.Components.Router.ComponentHasParameter(Type, String)' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Components/Router.razor.cs#L868
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'System.Collections.Generic.List<T>.Enumerator.Current.get' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Components/Router.razor.cs#L645
Using member 'Blazouter.Components.Router.ScanAdditionalAssemblies()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Scanning for route attributes requires unreferenced code. Types might be removed during trimming.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Interops/StorageInterop.cs#L52
'TValue' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties' in 'Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync<TValue>(IJSRuntime, String, params Object[])'. The generic parameter 'T' of 'Blazouter.Interops.StorageInterop.GetLocalStorageAsync<T>(String)' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Extensions/ServiceCollectionExtensions.cs#L137
'TImplementation' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped<TService, TImplementation>(IServiceCollection)'. The generic parameter 'THandler' of 'Blazouter.Extensions.ServiceCollectionExtensions.AddBlazouterErrorHandler<THandler>(IServiceCollection)' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx):
src/Blazouter/Interops/StorageInterop.cs#L128
'TValue' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.PublicProperties' in 'Microsoft.JSInterop.JSRuntimeExtensions.InvokeAsync<TValue>(IJSRuntime, String, params Object[])'. The generic parameter 'T' of 'Blazouter.Interops.StorageInterop.GetSessionStorageAsync<T>(String)' 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.
|
|
Analyze (csharp, Release, Blazouter.slnx)
Cannot build an overlay-base database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
|