Skip to content

Enable optimisations, Fix some warnings #41

Enable optimisations, Fix some warnings

Enable optimisations, Fix some warnings #41

Triggered via push December 6, 2023 14:59
Status Success
Total duration 59s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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: ArcaneLibs/Util.cs#L55
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: ArcaneLibs/Util.cs#L55
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: ArcaneLibs/Util.cs#L55
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: ArcaneLibs/Util.cs#L55
'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: ArcaneLibs/Collections/AutoPopulatingDictionary.cs#L22
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Activator.CreateInstance<T>()'. The generic parameter 'T2' of 'ArcaneLibs.Collections.AutoPopulatingDictionary<T1, T2>' 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: ArcaneLibs/Extensions/ObjectExtensions.cs#L21
Using member 'System.Text.Json.JsonSerializer.Serialize(Object, Type, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: ArcaneLibs/ClassCollector.cs#L17
Using member 'System.Reflection.Assembly.GetReferencedAssemblies()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Assembly references might be removed.
build: ArcaneLibs/Extensions/ObjectExtensions.cs#L41
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Activator.CreateInstance<T>()'. The generic parameter 'T' of 'ArcaneLibs.Extensions.ObjectExtensions.DeepClone<T>(T)' 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: ArcaneLibs/ClassCollector.cs#L21
Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
build: ArcaneLibs/Extensions/ObjectExtensions.cs#L30
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: ArcaneLibs/Extensions/ObjectExtensions.cs#L42
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in call to 'System.Type.GetFields(BindingFlags)'. The generic parameter 'T' of 'ArcaneLibs.Extensions.ObjectExtensions.DeepClone<T>(T)' 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: ArcaneLibs/Extensions/ObjectExtensions.cs#L85
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Activator.CreateInstance<T>()'. The generic parameter 'T' of 'ArcaneLibs.Extensions.ObjectExtensions.FindDifferencesDeep<T>(T, T)' 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: ArcaneLibs/Extensions/ObjectExtensions.cs#L86
'T' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in 'System.Activator.CreateInstance<T>()'. The generic parameter 'T' of 'ArcaneLibs.Extensions.ObjectExtensions.FindDifferencesDeep<T>(T, T)' 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.