Date post: | 18-Aug-2015 |
Category: |
Technology |
Upload: | zahid-mian |
View: | 15 times |
Download: | 3 times |
Zahid MianPart of the Brown-bag Series
Roslyn … in many ways a game-changer Devs can now write compiler level “add-ins”
Enforce Rules and/or Coding Standards
Roslyn Analyzer (https://msdn.microsoft.com/en-us/magazine/Dn879356.aspx)
https://github.com/DustinCampbell/CSharpEssentials
https://github.com/Wintellect/Wintellect.Analyzers
New Features “suck” if you get paid by the lines of code
Be careful not to “abuse” this feature
Output
When a function or property returns a value
Use lambda operator to return value
Reduces “cluttered” code
No Need to match up arguments; simply put the expression in curly braces
Support for IntelliSense
Syntactic sugar
Collection of Roslyn tools https://visualstudiogallery.msdn.microsoft.com/a4445ad0-f97c-41f9-a148-eae225dcc8a5
Recommends new features for you
Old Way
New Way