考虑Can Resharper Copy XML Comments from Base Class的相反-
也就是说,给予(很多成员)
public IFoo {
public Bar { get; }
}
public Foo : IFoo {
/* Comment in Derived Type */
public Bar { return new Bar(); }
}
所需的结果是
public IFoo {
/* Comment from Derived Type */
public Bar { get; }
}
public Foo : IFoo {
/* (possibly removed or replaced with <inheritdoc/>) */
public Bar { return new Bar(); }
}
当前的开发环境是Visual Studio 2017和ReSharper 2018.1.。
如果不先删除基本类型成员,我将无法使用“拉成员”来更新文档。