Statiq.Docs icon indicating copy to clipboard operation
Statiq.Docs copied to clipboard

Getting incorrect output from references to certain generic methods

Open SilentSin opened this issue 7 years ago • 1 comments

I have a few XML comments with <see> tags that are generating incorrect output:

<see cref="Array.Resize"/> is generating System.Array.Resize``1(``0[]@,System.Int32)

and <see cref="List{T}.Sort(Comparison{T})"/> is generating

System.Collections.Generic.List`1.Sort(System.Comparison{`0})

SilentSin avatar Oct 22 '18 10:10 SilentSin

I was having similar issues when using generic interfaces.

  • <see cref="ICollection{T}"/>
  • <see cref="IDictionary{TKey, TValue}"/> (However it worked when no spaces in it<see cref="IDictionary{TKey,TValue}"/>)

I was using SourceFiles as input if that makes any difference. I vaguely remember seeing similar issue on wyamm.io site. I can't seem to find it again now though. It was late and I was very tired.

dfkeenan avatar Feb 09 '19 23:02 dfkeenan