In C#, I can attach documentation for properties, methods, events, and so on, directly in the code using XML Documentation Comments.
I know how to insert a reference to a particular method:
<see cref="MethodName(TypeForArg1, TypeForArg2..)"/>
Is there a way to insert a reference to a method group? Where I've got multiple overloads of the same method name...
I tried
<see cref="M:MethodName"/>
..but that did not work.
EDIT: BUMP
Apparently there is no way to do this.
It appears that this was be fixed at least in Visual Studio 2012:
<see cref="MethodName"/>
Will generate a warning:
Ambiguous reference in cref attribute: 'MethodName'. Assuming '…', but could have also matched other overloads including '…'.
But adding an M:
in front get's rid of the warning:
<see cref="M:MethodName"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With