Skip to content
| Marketplace
Sign in
Visual Studio>Tools>C# Essentials
C# Essentials

C# Essentials

Dustin.Campbell

|
31,438 installs
| (14) | Free
A collection of Roslyn diagnostics, code fixes and refactorings to support C# language features.
Download

C# Essentials is a collection of Roslyn diagnostic analyzers, code fixes and refactorings that make it easy to work with C# 6 language features, such as nameof expressions, getter-only auto-properties, expression-bodied members, and string interpolation.

Features

Use NameOf

Identifies calls where a parameter name is passed as a string to an argument named "paramName". This is a simple-yet-effective heuristic for detecting cases like the one below:

Use Getter-Only Auto-Property

Determines when the private set in an auto-property can be removed.

Use Expression-Bodied Member

Makes it clear when a member can be converted into an expression-bodied member.

Expand Expression-Bodied Member

Makes it trivial to convert an expression-bodied member into a full member declaration with a body (and a get accessor declaration for properties and indexers).


Convert to Interpolated String

This handy refactoring makes it a breeze to transform a String.Format call into an interpolated strings.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft