.NET: Fix some more static analysis diagnostics (#1025)

* S1006

* S2219

* S3236

* S3260

* S1125

* IDE0063

* IDE0062

* IDE0028
This commit is contained in:
Stephen Toub
2025-09-30 18:50:22 -04:00
committed by GitHub
Unverified
parent 77404d165c
commit 2539282d30
45 changed files with 69 additions and 74 deletions
@@ -219,7 +219,7 @@ internal sealed class Shuffler(string[] reducerIds, string[] mapperIds, string i
{
private readonly string[] _reducerIds = reducerIds;
private readonly string[] _mapperIds = mapperIds;
private readonly List<MapComplete> _mapResults = new();
private readonly List<MapComplete> _mapResults = [];
/// <summary>
/// Aggregate mapper outputs and write one partition file per reducer.