私は Stylecop 4.7.31 を使用しようとしています インターフェイスが宣言されているプロジェクトがあります:
public interface IRmlManager
{
/// <summary>
/// Adds the notification.
/// </summary>
/// <param name="notificationData">The notification data.</param>
void AddNotification(RmlNotificationData notificationData);
}
および別のプロジェクトで、インターフェイスの実装:
public class RmlManager : IRmlManager
{
........
/// ???
void AddNotification(RmlNotificationData notificationData);
........
}
??? の代わりに使用<inheritdoc />
すると、Stylecop はそれを無視してエラーを生成します。
BusinessLogic\RmlManager.cs(39,1): error : SA1604: The documentation header must have a summary tag.
BusinessLogic\RmlManager.cs(39,1): error : SA1611: The documentation header must contain param tags matching the element's parameter list.
私が間違っていることについて何か考えがありますか?Google によると、Stylecop はこのタグをおよそ 4.1 バージョンからサポートしています。