Repository navigation
Feature Release
·
132 commits
to master
since this release
New Features
- New analyzers (and quick fixes) for most base types (from the
Systemnamespace) that suggest- removing redundant arguments,
- removing redundant method invocations,
- replacing expressions with known results,
- using patterns,
- using operators.
- New analyzers (and quick fixes) for well-known string formatters that suggest
- removing redundant format specifiers,
- removing redundant format precision specifiers,
- replacing type casts with format specifiers
- New warning that an
[EditorBrowsable(EditorBrowsableState.Never)]annotation is missing on deconstruction methods. - New context action to convert an
IEnumerable<T>object to a no-op LINQ query (where appropriate).
Improved
- The LINQ analyzer now detects no-op queries (with a quick fix to remove the query).
- The disposable object analyzer now allows annotating disposable structs with the
[MustDisposeResource]annotation when a newer version of "JetBrains.Annotation" is used. - The disposable object analyzer now supports "ref structs" implementing
IDisposableorIAsyncDisposableinterfaces (C# 13)
Fixed
- The analyzer for collection expressions now checks if a collection creation is the only source for the type inference. (#62)