Using Roslyn to parse/transform/generate code: am I aiming too high, or too low?
问题 (What I'm trying to do is work around the Application.Settings/MVVM problem by generating an interface and wrapper class from the vs-generated settings file.) What I'd like to do is: Parse a class declaration from file Generate an interface declaration based on just the (non static) properties of the class Generate a wrapper class which implements this interface, takes an instance of the original class in the constructor, and 'pipes' all the properties through to the instance. Generate