Overriding a virtual method from within an inherited class but keep the comments of the base class

c#, comments

Solution

You could use ReSharper. Whenever you implement any interface it will bring over the XML comments as well (if you so choose).

Problem

Possible Duplicate: Comment Inheritance for C# (actually any language) In my application, my base class clearly defines the purpose of each virtual method. When I inherit my base class and override the virtual methods, I'm having to re-type the comments. Now, I know why it doesn't copy the comments by default and it makes sense but as I have many classes inheriting from my base class it's getting tiresome to copy the entire XML comments to add an additional `<para>` to the bottom of the comments. Is this just the way it is?

Original source

Related problems