XML 注释 - 不明确的引用“NotifyCollectionChangedEventArgs”在看到 cref 标签吗?
基本上,我有以下内容:
see tag in my XML Comments。 ReSharper 指出它是一个不明确的引用,并建议我将其作为绝对路径,因此我使用
代替,它仍然说这是一个模棱两可的参考。我不知道在同一个命名空间中有 2 个同名的类可能会发生什么?
有人知道为什么 ReSharper 会出现这个问题吗?我还没有针对 Sandcastle 进行测试,看看它是否会抱怨,因为这台机器还没有安装 Sandcastle,但我确实想知道这是否也会抱怨。
Basically, I have the following: <see cref="NotifyCollectionChangedEventArgs"/>
see tag in my XML Comments. ReSharper states that it is an ambiguous reference and suggests for me to give it as an absolute path, so I use <see cref="System.Collections.Specialized.NotifyCollectionChangedEventArgs"/>
instead and it still says that it is an ambiguous reference. I have no idea what could possibly be going on that there are 2 classes with the same name in the same namespace??
Anyone know why this is coming up as a problem with ReSharper? I haven't tested this against Sandcastle to see if it complains because this machine doesn't have Sandcastle on it yet, but I do wonder if that'll complain as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论