dotnet/roslyn
<inheritdoc cref> has bad default for `path` attribute, leading to senseless inherited doc
Aberta
#45.994 aberto em 15 de jul. de 2020
Area-IDEConcept-Continuous ImprovementIDE-IntelliSensehelp wanted
Métricas do repositório
- Stars
- (20.414 estrelas)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)
Description
Version Used: 16.8 (30313.166.master)
Steps to Reproduce:
public class C
{
/// <param name="a"><inheritdoc cref="M(int,int)" path="/param[@name='a']"/></param>
public void M(int a)
{
if (a > 0)
{
}
}
/// <summary>summary</summary>
/// <param name="a">A description</param>
/// <param name="b">B description</param>
public void M(int a, int b)
{
if (a > 0 || b > 0)
{
}
}
}
Expected Behavior:
I expect the default path to provide the same meaning as the explicitly specified path, as shown here:

Actual Behavior:
Instead, I see a concatenation of all param docs together, with not so much as a delimiter:
