AgentSmith icon indicating copy to clipboard operation
AgentSmith copied to clipboard

Feature request: Suppress errors/warnings for partial classes

Open ghost opened this issue 10 years ago • 2 comments

Hey!

Great tool. I've just noticed that for partial classes it will throw an error even if one of the classes has an xml comment against it.

Is this intentional? My understanding is that the comments are not additive, they'll overwrite one another (at least in my generated Doxygen they seem to)

ghost avatar Nov 12 '15 22:11 ghost

Hi, it makes no sense to have a documentation above each declaration so I adjust the warning to handle partial class correctly.

As far as I know the tools use one documentation only. So the question is if you should get a warning if you have a comment above multiple partial declarations because the tools will use only one anyway.

Br Sven

sheitmann avatar Nov 13 '15 11:11 sheitmann

Cool!

Probably a good point about the warning if multiple documentation blocks exist. Either that or just propagate the latest document block to all partial class headers? I don't know what makes more sense.

Great tool anyway!

ghost avatar Nov 16 '15 22:11 ghost