Fix compiler warnings found in MSBuild binlog files
Fixes compiler warnings in MSBuild binlog files by extracting, deduplicating, and applying minimal code fixes.
/plugin marketplace add postsharp/PostSharp.Engineering.AISkills/plugin install eng@postsharp-engineeringAnalyze the binlog files in $REPO/artifacts/logs and fix all compiler warnings.
Extract warnings from all *.binlog files using:
dotnet msbuild "<binlog>" -flp:warningsonly -nologo 2>&1 | grep -i warning
Deduplicate warnings - the same warning often appears multiple times across different project configurations (net8.0, net472, etc.). Fix each unique source location only once.
Group by file and fix warnings in batches when possible.
Common warning types:
IDE0005: Remove unnecessary using directiveIDE0047: Remove unnecessary parenthesesCS8603: Possible null reference return - add null-forgiving operator or change nullable castCS8604: Possible null reference argumentCS8618: Non-nullable field uninitializedCS1591: Missing XML comment for publicly visible type/memberVerify fixes by building the affected projects:
dotnet build "<project>" -c Debug --no-restore -v q
Report summary of warnings fixed, grouped by warning code.
! operator over changing signatures