Skip to content

Simplify collection initialization #611

Simplify collection initialization

Simplify collection initialization #611

Triggered via push June 30, 2025 21:26
Status Success
Total duration 1m 22s
Artifacts

github-pages.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day02.cs#L9
In externally visible method 'string Day02.Part1(string input)', validate parameter 'input' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day16.cs#L11
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day16.cs#L10
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day14.cs#L11
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day11.cs#L15
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day13.cs#L15
'MinByExtension.MinBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)' is obsolete: 'Use Minima instead.'
build: src/2020/AdventOfCode.2020.Puzzles/Solutions/Day08.cs#L79
Non-nullable property 'Command' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.