Releases: prodot/ReCommended-Extension
Releases · prodot/ReCommended-Extension
Feature Release
New Features
ValueTask
/ValueTask<T>
analyzer for detecting possible multiple consumptions- analyzer for redundant null-forgiving operators
- context actions to annotate integral types with
[NonNegativeValue]
and[ValueRange(...)]
- analyzer for inappropriate use of
[NonNegativeValue]
and[ValueRange(...)]
annotations
Improved
- control flow analyzer when the nullable warning context is enabled
Compatibility Release
Ensures compatibility with ReSharper 2020.1
Removed
- Automatic injection of ReSharper annotations for nullable reference types
- Analyzer whether the
if
statement can be replaced with the null-coalescing assignment.
Bug-fix Release
Fixes the "redundant await" analyzer not to suggest to remove async
/await
when multiple return
statements detected.
Minor Improvement Release
The "redundant await" analyzer is now aware of ValueTask
and ValueTask<T>
.
Compatibility Release
Ensures compatibility with ReSharper 2019.3.4
Feature Release
New Features
- Automatic injection of ReSharper annotations for nullable reference types, thus enabling ReSharper to take advantage of the language annotations:
- Automatic injection of
[NotNull]
,[CanBeNull]
,[ItemNotNull]
,[ItemCanBeNull]
annotations into the solution code (if nullable annotation context is enabled). - Automatic injection of
[NotNull]
,[CanBeNull]
annotations into the referenced libraries (if they were built with enabled nullable annotation context). - Partial support for system attributes (like
[AllowNull]
,[MaybeNull]
, etc.).
- Automatic injection of
- Analyzes whether the
if
statement can be replaced with the null-coalescing assignment.
Improved
- Analyzer for exceptions thrown from unexpected locations now supports
IAsyncDisposable
. - Analyzers for "unchatchable exceptions".
- Analyzers for "unthrowable exceptions".
- Analyzer for ReSharper annotations.
- Analyzer for array initializers with default values.
- Context action "add ConfigureAwait(false)" now supports
await foreach
andawait using
statements. - Context action "annotate with [LinqTunnel]" now supports
IAsyncEnumerable
. - Context action "annotate with [InstanceHandle]" now supports
IAsyncEnumerable
.
Fixed
- The "redundant await" analyzer does not suggest to remove "async/await" when
using var
scope is detected
Feature Release (RC4)
Improved
- "await" analyzer does not use ReSharper annotations if the nullable annotation context is enabled
Feature Release (RC3)
Improved
- analyzer for array initializers with default values
Feature Release (RC2)
Improved
- nullability detection of unconstrained generic types
- detection of system attributes
Feature Release (RC1)
New Features
- Automatic injection of ReSharper annotations for nullable reference types, thus enabling ReSharper to take advantage of the language annotations:
- Automatic injection of
[NotNull]
,[CanBeNull]
,[ItemNotNull]
,[ItemCanBeNull]
annotations into the solution code (if nullable annotation context is enabled). - Automatic injection of
[NotNull]
,[CanBeNull]
annotations into the referenced libraries (if they were built with enabled nullable annotation context). - Partial support for system attributes (like
[AllowNull]
,[MaybeNull]
, etc.).
- Automatic injection of
- Analyzes whether the
if
statement can be replaced with the null-coalescing assignment.
Improved
- Analyzer for exceptions thrown from unexpected locations now supports
IAsyncDisposable
. - Analyzers for "unchatchable exceptions".
- Analyzers for "unthrowable exceptions".
- Analyzer for ReSharper annotations.
- Context action "add ConfigureAwait(false)" now supports
await foreach
andawait using
statements. - Context action "annotate with [LinqTunnel]" now supports
IAsyncEnumerable
. - Context action "annotate with [InstanceHandle]" now supports
IAsyncEnumerable
.
Fixed
- The "redundant await" analyzer does not suggest to remove "async/await" when
using var
scope is detected