Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Topics
- - What is Roslyn
- - The elements
- - Compiler is key (compiler as a platform)
- - Syntax is king (syntax tree as a tool enabler)
- - Keeping track (syntax tree and source are linked by span)
- - Symbols
- - Semantic glue (The semantic model as a reference enabler)
- - Analysis
- - Show intent (register the method to call on a certain syntax node kind)
- - It’s only Logical (Use all the data given by the current node, the semantic tree and it’s elements);
- - (over?)React (issue the appropriate diagnostics and determine the severity - from meh to build-breaking)
- - Know when to stop (be conservative and stop analysis as soon as possible.)
- - Transformations
- - Immutable state of mind (use of immutable objects by .NET requires rebuilding)
- - Right tools for the job (use the classes in Microsoft.CodeAnalysis.* namespaces - Formatting, Editing, Text…)
- - Code Fixes ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement