Changed
- Apply a single code style across
src/ and enforce it in the build: predefined type
keywords, explicit types where the type is not apparent, collection expressions,
primary constructors, readonly struct members, and generated regexes. The public API
is unchanged.
- Enable
EnforceCodeStyleInBuild and record the analyzer policy in .editorconfig, so
a new style or analyzer violation fails the build instead of accumulating silently.
- Make stateless internal helpers static and compile the internal regular expressions at
build time (GeneratedRegex), and prefer char and span overloads over temporary strings
on the cell, style, and formula paths.
- Group the solution projects into
src/ and tests/ solution folders.
Fixed
- Name the offending parameter when throwing
ArgumentException and
ArgumentOutOfRangeException instead of creating them without a message; the switch
fallbacks now include the received value.
- Resolve the nullability mismatch in
Reference.RangeOp, where a list of nullable
worksheets was assigned to a non-nullable collection.
- Call
GC.SuppressFinalize from MceXmlReader.Dispose.
- Remove the unused
defaultStyle constructor parameter of the internal XlsxRange.
Package: https://www.nuget.org/packages/Aid.Xlsx/2.0.1