CodeQL #187
Annotations
11 warnings
|
Analyze (csharp, Release, Blazouter.sln):
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.sln):
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.sln):
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.sln):
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.sln):
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.sln):
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.sln):
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.sln):
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.sln):
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.sln):
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.sln)
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.
|