Skip to content
| Marketplace
Sign in
Visual Studio>Tools>ConstructorMisassignment
ConstructorMisassignment

ConstructorMisassignment

AdamSpeight2008

|
422 installs
| (0) | Free
A Roslyn code diagnostic and code-fix for mis-assignment in constructors. C# + VB
Download

Constructor Misassignment

 

A Roslyn based diagnostic and code-fix for both C# and VB.net. That diagnoses if you are assigning to a parameter of a constructor, when you actually meant to assign to a field.

Code-Fixes supported

Prefix with underscore

Prefix with Me. (VB)

Prefix with this. (CS)

It is based on a suggestion on the roslyn.codeplex.com project site. 

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