Implicit Nullability

Compatible with Rider
Nov 20, 2017
16

Extends Rider's static nullability analysis by changing specific, configurable elements to be [NotNull] by default

In Rider there is a small limitation in the options page at the moment: The "Copy [AssemblyMetadata] attributes to clipboard" button is not available.

Tags: rider c# nullability analysis implicit annotation default notnull canbenull

Download plugin

Recent change notes

4.1.0
- Added support for Rider 2017.2

4.0.1
- Fixed unnecessary nullability attribute generation in c'tor generation and "Check parameter for null" actions [ReSharper 2017.2.2+]

4.0.0
- Added support for properties (by default configured for getter-only properties) => Implicit Nullability now finally supports all members where ReSharper provides nullability analysis :)
- ReSharper 2017.2 support

3.7.0
- Changed default of "Restrict to readonly fields" setting to "on"
- Added exclusion of generated code, configurable by a new setting (enabled by default)
- Added exclusion of "XAML fields" (fixes issue #11)

3.6.0
- Changed "overrides unknown base member" warnings to include also non-external (solution) code with unknown nullability (=> new highlighting IDs for ImplicitNotNullOverridesUnknownBaseMemberNullability and ImplicitNotNullResultOverridesUnknownBaseMemberNullability)
- Added support for named delegates with (async) Task results
- Added cache for configuration (attribute) parsing (performance improvement)
- ReSharper 2017.1 support

3.5.1
- Implicit nullable fields: Added exemption for property backing fields (issue #10)

3.5.0
- Added support for fields (including the option to restrict to `readonly` fields / fields in reference types)
- Extended "type highlighting" for fields and properties
- Fixed wrong highlighting of async void method results (issue #8)

3.3.0
- Explicit or implicit [NotNull] element types are now highlighted with a dotted underline (can be enabled/disabled on the Implicit Nullability options page)
- Ignore methods with [ContractAnnotation] attribute

3.2.0
- ReSharper 2016.3 support

3.1.0
- ReSharper 2016.2 support