Skip to content

Splat.NLog - Faster mapping of LogLevel using switch-operation #2493

Splat.NLog - Faster mapping of LogLevel using switch-operation

Splat.NLog - Faster mapping of LogLevel using switch-operation #2493

Re-run triggered December 31, 2024 08:37
Status Failure
Total duration 11m 41s
Artifacts

ci-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build / build
The process 'C:\Program Files\dotnet\dotnet.exe' failed with exit code 1
build / build: src/Splat.Drawing/Colors/SplatColor.cs#L249
Prefer the generic overload 'System.Enum.Parse<TEnum>(string, bool)' instead of 'System.Enum.Parse(System.Type, string, bool)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.Drawing/Colors/SplatColor.cs#L249
Prefer the generic overload 'System.Enum.Parse<TEnum>(string, bool)' instead of 'System.Enum.Parse(System.Type, string, bool)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.Drawing/Colors/SplatColor.cs#L249
Prefer the generic overload 'System.Enum.Parse<TEnum>(string, bool)' instead of 'System.Enum.Parse(System.Type, string, bool)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.NLog/NLogLogger.cs#L567
Prefer the generic overload 'System.Enum.GetValues<TEnum>()' instead of 'System.Enum.GetValues(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.DryIoc.Tests/DependencyResolverTests.cs#L257
Prefer the generic overload 'Splat.DependencyResolverMixins.RegisterConstant<T>(Splat.IMutableDependencyResolver, T?, string?)' instead of 'Splat.DependencyResolverMixins.RegisterConstant(Splat.IMutableDependencyResolver, object?, System.Type?, string?)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.DryIoc.Tests/DependencyResolverTests.cs#L275
Prefer the generic overload 'DryIoc.Registrator.RegisterInstance<T>(DryIoc.IRegistrator, T, DryIoc.IfAlreadyRegistered?, DryIoc.Setup, object)' instead of 'DryIoc.Registrator.RegisterInstance(DryIoc.IRegistrator, System.Type, object, DryIoc.IfAlreadyRegistered?, DryIoc.Setup, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.DryIoc.Tests/DependencyResolverTests.cs#L275
Prefer the generic overload 'DryIoc.Registrator.RegisterInstance<T>(DryIoc.IRegistrator, T, DryIoc.IfAlreadyRegistered?, DryIoc.Setup, object)' instead of 'DryIoc.Registrator.RegisterInstance(DryIoc.IRegistrator, System.Type, object, DryIoc.IfAlreadyRegistered?, DryIoc.Setup, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.DryIoc.Tests/DependencyResolverTests.cs#L257
Prefer the generic overload 'Splat.DependencyResolverMixins.RegisterConstant<T>(Splat.IMutableDependencyResolver, T?, string?)' instead of 'Splat.DependencyResolverMixins.RegisterConstant(Splat.IMutableDependencyResolver, object?, System.Type?, string?)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.Drawing/Colors/SplatColor.cs#L249
Prefer the generic overload 'System.Enum.Parse<TEnum>(string, bool)' instead of 'System.Enum.Parse(System.Type, string, bool)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build: src/Splat.NLog/NLogLogger.cs#L567
Prefer the generic overload 'System.Enum.GetValues<TEnum>()' instead of 'System.Enum.GetValues(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)