VisualBasicSyntaxTree.GetDiagnostics 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetDiagnostics(SyntaxNode) |
取得子樹狀結構中具有指定節點做為其根目錄的所有診斷清單。 |
GetDiagnostics(SyntaxNodeOrToken) |
取得子樹狀結構中所有診斷的清單,該子樹狀結構中具有指定節點做為其根目錄,或與權杖及其相關 Trivia 相關聯。 |
GetDiagnostics(SyntaxToken) |
取得與權杖和任何相關 Trivia 相關聯的所有診斷清單。 |
GetDiagnostics(SyntaxTrivia) |
取得與 Trivia 相關聯的所有診斷清單。 |
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
取得子樹狀結構中具有指定節點做為其根目錄的所有診斷清單。
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
取得子樹狀結構中所有診斷的清單,該子樹狀結構中具有指定節點做為其根目錄,或與權杖及其相關 Trivia 相關聯。
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
取得與權杖和任何相關 Trivia 相關聯的所有診斷清單。
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
取得與 Trivia 相關聯的所有診斷清單。
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
取得語法樹狀結構中所有診斷的清單。
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 等編譯器選項篩選診斷。