Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

A custom refactoring that transforms common property-expression helper code to the new c# 6 nameof expression

Notifications You must be signed in to change notification settings

davidroth/propertyexpressionanalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roslyn code analyzer and refactoring for property-expression to nameof conversion

A custom refactoring that transforms common property-expression helper code to the new c# 6 nameof expression:

diagnostic-preview

If you have some similar form of expresison helper and also want to upgrade your solution to use the new nameof() feature, you can download and modify the code so that it matches your helper classes.

Most probably you just need to rename the 2 string variables which represent the name of the utility class (ex. "PropertyUtil") and the method (ex: "GetName").

About

A custom refactoring that transforms common property-expression helper code to the new c# 6 nameof expression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published