api-doc-tools icon indicating copy to clipboard operation
api-doc-tools copied to clipboard

"mdoc update" appears to duplicate generic methods with update type param names

Open MichaelNorman opened this issue 7 years ago • 0 comments

The following xml was found in the same file in the Forms source tree:

<Member MemberName="LoadFromXaml&lt;TView&gt;">
      <MemberSignature Language="C#" Value="public static TXaml LoadFromXaml&lt;TXaml&gt; (this TXaml view, Type callingType);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig !!TXaml LoadFromXaml&lt;TXaml&gt;(!!TXaml view, class System.Type callingType) cil managed" />

and:

<Member MemberName="LoadFromXaml&lt;TXaml&gt;">
      <MemberSignature Language="C#" Value="public static TXaml LoadFromXaml&lt;TXaml&gt; (this TXaml view, Type callingType);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig !!TXaml LoadFromXaml&lt;TXaml&gt;(!!TXaml view, class System.Type callingType) cil managed" />

The method signatures are identical, save for TXaml vs. TView. (Note the discrepancy between the MemberName and the MemberSignature attributes in the first stanza.)

MichaelNorman avatar Feb 14 '18 18:02 MichaelNorman