rem*_*rel 27 documentation intellisense xml-documentation visual-studio roslyn
我在我的<returns>一些方法中添加了xml标记,但是我无法在IntelliSense中看到它的内容.
这是我的代码:
/// <summary>
/// we all live in a yellow summary
/// </summary>
/// <returns>what it returns</returns>
public int MyMethod()
{ .... }
Run Code Online (Sandbox Code Playgroud)
有没有办法显示这些内容?
gra*_*noz -2
有时 IntelliSense 需要一些时间来理解您的代码。要验证标签是否存在,请尝试使用 /doc 编译器选项,如下所示:
csc YourClass.cs /doc:YourClass.xml
如果标签存在,那么这只是 IntelliSense 问题,通常可以自行修复或通过重新启动 VS 来修复
| 归档时间: |
|
| 查看次数: |
3499 次 |
| 最近记录: |