SyntaxTree.DiagnosticOptions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Obsolete due to performance problems, use CompilationOptions.SyntaxTreeOptionsProvider instead
指定此樹狀結構中每個警告之自訂行為的選項。
public virtual System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> DiagnosticOptions { get; }
[System.Obsolete("Obsolete due to performance problems, use CompilationOptions.SyntaxTreeOptionsProvider instead", false)]
public virtual System.Collections.Immutable.ImmutableDictionary<string,Microsoft.CodeAnalysis.ReportDiagnostic> DiagnosticOptions { get; }
member this.DiagnosticOptions : System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic>
[<System.Obsolete("Obsolete due to performance problems, use CompilationOptions.SyntaxTreeOptionsProvider instead", false)>]
member this.DiagnosticOptions : System.Collections.Immutable.ImmutableDictionary<string, Microsoft.CodeAnalysis.ReportDiagnostic>
Public Overridable ReadOnly Property DiagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic)
屬性值
從診斷識別碼到診斷報告層級的對應。 視語言而定,診斷識別碼字串可能不區分大小寫。
- 屬性