But it didn't work perfectly. If you want to do the same, be prepared to deal with some issues.
- Private classes aren't handled well. This is actually a problem with Reflector, not with the plugin. Only two classes (that I could find) used them, so those had to be manually fixed.
- Enums were decompiled as their integer values. C# will not implicitly cast an int to an enum, so all of those ints had to be cast.
- Properties where not properly decompiled, but that's not a surprise. As you .NET geeks surely know, properties are syntactic sugar, and are compiled in IL to get_ and set_ methods. These showed up in the decompiled C# code, and had to be changed to properties manually.
- Ref and out were often switched.
Now I have the MS ASP.NET Ajax library in code files.
So the plugin works pretty well, though things could be improved.
