5 overrides of WithDiagnosticOptions
Microsoft.CodeAnalysis.CSharp (2)
Syntax\CSharpSyntaxTree.LazySyntaxTree.cs (1)
155
public override SyntaxTree
WithDiagnosticOptions
(ImmutableDictionary<string, ReportDiagnostic> options)
Syntax\CSharpSyntaxTree.ParsedSyntaxTree.cs (1)
162
public override SyntaxTree
WithDiagnosticOptions
(ImmutableDictionary<string, ReportDiagnostic> options)
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (1)
98
Public Overrides Function
WithDiagnosticOptions
(options As ImmutableDictionary(Of String, ReportDiagnostic)) As SyntaxTree
Syntax\VisualBasicSyntaxTree.LazySyntaxTree.vb (1)
153
Public Overrides Function
WithDiagnosticOptions
(options As ImmutableDictionary(Of String, ReportDiagnostic)) As SyntaxTree
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
173
Public Overrides Function
WithDiagnosticOptions
(options As ImmutableDictionary(Of String, ReportDiagnostic)) As SyntaxTree
3 references to WithDiagnosticOptions
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SyntaxTreeTests.cs (3)
210
var newTree = tree.
WithDiagnosticOptions
(null);
220
var newTree = tree.
WithDiagnosticOptions
(ImmutableDictionary<string, ReportDiagnostic>.Empty);
233
var newTree = tree.
WithDiagnosticOptions
(map);