次の方法で共有


SyntaxTreeOptionsProvider.TryGetDiagnosticValue メソッド

定義

特定のツリー内の特定の診断識別子の診断重大度設定を取得します。

public abstract bool TryGetDiagnosticValue (Microsoft.CodeAnalysis.SyntaxTree tree, string diagnosticId, System.Threading.CancellationToken cancellationToken, out Microsoft.CodeAnalysis.ReportDiagnostic severity);
abstract member TryGetDiagnosticValue : Microsoft.CodeAnalysis.SyntaxTree * string * System.Threading.CancellationToken * ReportDiagnostic -> bool
Public MustOverride Function TryGetDiagnosticValue (tree As SyntaxTree, diagnosticId As String, cancellationToken As CancellationToken, ByRef severity As ReportDiagnostic) As Boolean

パラメーター

tree
SyntaxTree
diagnosticId
String
cancellationToken
CancellationToken
severity
ReportDiagnostic

戻り値

適用対象