VisualBasicSyntaxTree.GetDiagnostics 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetDiagnostics(SyntaxNode) |
获取子树中具有指定节点作为其根目录的所有诊断的列表。 |
GetDiagnostics(SyntaxNodeOrToken) |
获取子树中所有诊断的列表,该子树将指定节点作为其根节点或与令牌及其相关琐事相关联。 |
GetDiagnostics(SyntaxToken) |
获取与令牌和任何相关琐事关联的所有诊断的列表。 |
GetDiagnostics(SyntaxTrivia) |
获取与琐事关联的所有诊断的列表。 |
GetDiagnostics(CancellationToken) |
获取语法树中所有诊断的列表。 |
GetDiagnostics(SyntaxNode)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
获取子树中具有指定节点作为其根目录的所有诊断的列表。
public:
override System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostic ^> ^ GetDiagnostics(Microsoft::CodeAnalysis::SyntaxNode ^ node);
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> GetDiagnostics (Microsoft.CodeAnalysis.SyntaxNode node);
override this.GetDiagnostics : Microsoft.CodeAnalysis.SyntaxNode -> seq<Microsoft.CodeAnalysis.Diagnostic>
Public Overrides Function GetDiagnostics (node As SyntaxNode) As IEnumerable(Of Diagnostic)
参数
- node
- SyntaxNode
返回
注解
此方法不基于编译器选项(如 /nowarn、/warnaserror 等)筛选诊断。
适用于
GetDiagnostics(SyntaxNodeOrToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
获取子树中所有诊断的列表,该子树将指定节点作为其根节点或与令牌及其相关琐事相关联。
public:
override System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostic ^> ^ GetDiagnostics(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken);
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> GetDiagnostics (Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken);
override this.GetDiagnostics : Microsoft.CodeAnalysis.SyntaxNodeOrToken -> seq<Microsoft.CodeAnalysis.Diagnostic>
Public Overrides Function GetDiagnostics (nodeOrToken As SyntaxNodeOrToken) As IEnumerable(Of Diagnostic)
参数
- nodeOrToken
- SyntaxNodeOrToken
返回
注解
此方法不基于编译器选项(如 /nowarn、/warnaserror 等)筛选诊断。
适用于
GetDiagnostics(SyntaxToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
获取与令牌和任何相关琐事关联的所有诊断的列表。
public:
override System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostic ^> ^ GetDiagnostics(Microsoft::CodeAnalysis::SyntaxToken token);
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> GetDiagnostics (Microsoft.CodeAnalysis.SyntaxToken token);
override this.GetDiagnostics : Microsoft.CodeAnalysis.SyntaxToken -> seq<Microsoft.CodeAnalysis.Diagnostic>
Public Overrides Function GetDiagnostics (token As SyntaxToken) As IEnumerable(Of Diagnostic)
参数
- token
- SyntaxToken
返回
注解
此方法不基于编译器选项(如 /nowarn、/warnaserror 等)筛选诊断。
适用于
GetDiagnostics(SyntaxTrivia)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
获取与琐事关联的所有诊断的列表。
public:
override System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Diagnostic ^> ^ GetDiagnostics(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> GetDiagnostics (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
override this.GetDiagnostics : Microsoft.CodeAnalysis.SyntaxTrivia -> seq<Microsoft.CodeAnalysis.Diagnostic>
Public Overrides Function GetDiagnostics (trivia As SyntaxTrivia) As IEnumerable(Of Diagnostic)
参数
- trivia
- SyntaxTrivia
返回
注解
此方法不基于编译器选项(如 /nowarn、/warnaserror 等)筛选诊断。
适用于
GetDiagnostics(CancellationToken)
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
- Source:
- VisualBasicSyntaxTree.vb
获取语法树中所有诊断的列表。
public override System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostic> GetDiagnostics (System.Threading.CancellationToken cancellationToken = default);
override this.GetDiagnostics : System.Threading.CancellationToken -> seq<Microsoft.CodeAnalysis.Diagnostic>
Public Overrides Function GetDiagnostics (Optional cancellationToken As CancellationToken = Nothing) As IEnumerable(Of Diagnostic)
参数
- cancellationToken
- CancellationToken
返回
注解
此方法不基于编译器选项(如 /nowarn、/warnaserror 等)筛选诊断。