Explicit interface parameters

Topics: Developer Forum, User Forum
Sep 22, 2010 at 10:18 PM
Edited Sep 22, 2010 at 10:31 PM

 

I have the following code:
namespace Test
{
    using System;

    public interface IMyInterface
    {
        /// <summary>
        /// a test string
        /// </summary>
        /// <param name="testString">
        /// The test string.
        /// </param>
        void Foo(string testString);
    }

    public class MyClass : IMyInterface
    {
        /// <summary>
        /// a test string
        /// </summary>
        /// <param name="testString">
        /// The test string.
        /// </param>
        void IMyInterface.Foo(string testString)
        {
        }
    }
}

When I create the documentation with explicit interface members I get the following for MyClass.IMyInterface.Foo:

Parameters

param0
Type: String

[Missing <param name="param0"/> documentation for "M:Test.MyClass.Test#IMyInterface#Foo(System.String)"]

because it looks for "param0" the documentation for "testString" is not shown.

 

It looks better for IMyInterface.Foo:

Parameters

testString
Type: String
The test string. 

 

I use version 1.8.0.3. (When I tried to update to 19.1.0 I couldn't build at all (see other post), so I went back to the old version.)