How to see XML comments of the code from Reflector

2019-04-11 08:03发布

I prefer to browse the assemblies using reflector even though i have source code with me specially in case when i move to new project. But I feel it would be nice if i could see the XML comments of the source code in reflector.

Is any addin which would do that?

Thanks In advance, Uday

2条回答
别忘想泡老子
2楼-- · 2019-04-11 08:41

XML comments are not compiled into assembly - they go into separate XML file. If it is your assembly, or XML file is shipped with the assembly you're trying to analyze, then Reflector will pick them up automatically. If not - you are out of options, sorry...

Edit: Anyway, those comments won't be displayed alongside your code - you'll see them below the disassembly window, documentation-style formatted.

Edit2: It appears that you can display your XML comments inline if you want to - there is an option for that in settings dialog. Didn't know that! :)

查看更多
登录 后发表回答