Skip to content
Michael Damatov edited this page Apr 7, 2017 · 16 revisions

Welcome to the ReCommended-Extension wiki!

Analyzers

Redundant assertions

  • Analyzes the assertion statements and highlights them if the assertion can be removed. show more...

Annotations

  • Analyzes not allowed, missing, or redundant usages of the [NotNull] and [CanBeNull] annotations.
  • Analyzes not allowed [ItemNotNull] annotations.
  • Analyzes [SuppressMessage] annotations without justifications.
  • Analyzes simultaneously used [Pure] and [MustUseReturnValue] annotations.

show more...

Exceptions

  • Analyzes the throw statements and highlights exceptions that should never be thrown. show more...
  • Analyzes the catch clauses and highlights exceptions that should never be caught. show more...

"async void" methods

  • Analyzes the "async void" methods and local functions and highlights when used inappropriately.
  • Analyzes the "async" lambda expressions (and anonymous methods as well) that return void.

show more...

Conditional methods and attributes

  • Dims the method invocations if the method has the [Conditional] annotation, e.g. Debug.Assert(...).
  • Dims the attribute usage if the attribute class has the [Conditional] annotation, e.g. [SuppressMessage].

show more...

Redundant invocations

  • Analyzes the invocation of methods annotated with [NotifyPropertyChangedInvocator] from the class constructor. show more...

Context Actions

Add code contract

  • Suggests to add code contracts for commonly used scenarios. show more...

Annotate with

  • [ItemNotNull]
  • [Pure]
  • [MustUseReturnValue]
  • [InstantHandle]
  • [LinqTunnel]

show more...

Configure the await expression

Remove inline assertion

  • Suggests to remove the AssertNotNull expression. show more...