Is there a tool for combining partial classes into one non-partial class?
I cannot use Reflector, since I need variable names, etc. to match.
EDIT:
I have hundreds of partial classes that I want to combine, so cut-paste is not realistic.
Resharper has a Copy Type function that allows you to copy all parts of a type to a single file: http://www.jetbrains.com/resharper/documentation/reviewers_guide.html#refactorings
However, there is a manual effort, since you need to open at least one file for each file and call the functionality.
, - ReSharper, ReSharper 6.1, partial ALT + ENTER, " ".
partial
, , . , , .
Edit: , , . , ( , Reflector, , ReSharper ).
Edit -> Copy -> Paste.
.
, .
If you have hundreds of partial classes, it should be simple enough to make a bot to do just that, only x100 times.