© Jason Bock 2016

Jason Bock, .NET Development Using the Compiler API, 10.1007/978-1-4842-2111-2_3

3. Creating Refactorings and Handling Workspaces

Jason Bock

(1)Shakopee, Minnesota, USA

In this chapter, we’ll spend time investigating refactorings in the Compiler API. You’ll learn how they work and what you need to do to implement one. Because refactorings tend to use a fair amount of members in the Workspaces API, we’ll examine that as well.

Consistency in Structure

If there’s one term that is the most misused term in software development, it’s arguably “refactoring.” Most of the time when a developer talks about “refactoring code,” they’re making a number of changes to the code that break existing functionality. While that may be something that ...

Get .NET Development Using the Compiler API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.