In my implementation I have this:

/// <inheritdoc cref="IInterface{T} this[,]"/>
public T this[long row, long column]
{
    ...
}

The XMLdoc is already present in the IInterface. How can I pick it up from there (like I do for other things)?

I get a compiler warning:

Warning 108 XML comment on 'XXX.YYY.this[long, long]' has syntactically incorrect cref attribute 'IInterface this[,]'

I tried removing the this from the cref but that didn't work either. What syntax do I need?

有帮助吗?

解决方案

Use this: cref="IInterface{T}.this[long,long]"

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top