Merge pull request #14 from Taiizor/dependabot/nuget/samples/Blazoute… #59
Annotations
10 warnings
|
Build (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.
|
|
Build (Release, Blazouter.sln):
src/Blazouter/Interops/ViewportInterop.cs#L57
Using member 'Microsoft.CSharp.RuntimeBinder.Binder.GetMember(CSharpBinderFlags, String, Type, IEnumerable<CSharpArgumentInfo>)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The 'dynamic' feature requires runtime-code generation, which is incompatible with AOT.
|
|
Build (Release, Blazouter.sln):
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.
|
|
Build (Release, Blazouter.sln):
src/Blazouter/Interops/ViewportInterop.cs#L57
Using member 'Microsoft.CSharp.RuntimeBinder.Binder.GetMember(CSharpBinderFlags, String, Type, IEnumerable<CSharpArgumentInfo>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Using dynamic types might cause types or members to be removed by trimmer.
|
|
Build (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.
|
|
Build (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.
|
|
Build (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.
|
|
Build (Release, Blazouter.sln)
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.
|
|
Build (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.
|
|
Build (Release, Blazouter.sln)
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.
|