8 overrides of DiagnosticOptions
Microsoft.CodeAnalysis.CSharp (3)
Syntax\CSharpSyntaxTree.Dummy.cs (1)
60public override ImmutableDictionary<string, ReportDiagnostic> DiagnosticOptions
Syntax\CSharpSyntaxTree.LazySyntaxTree.cs (1)
102public override ImmutableDictionary<string, ReportDiagnostic> DiagnosticOptions => _diagnosticOptions;
Syntax\CSharpSyntaxTree.ParsedSyntaxTree.cs (1)
116public override ImmutableDictionary<string, ReportDiagnostic> DiagnosticOptions => _diagnosticOptions;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DeclarationTests.cs (1)
994public override ImmutableDictionary<string, ReportDiagnostic> DiagnosticOptions => throw new NotImplementedException();
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (1)
55Public Overrides ReadOnly Property DiagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic)
Syntax\VisualBasicSyntaxTree.LazySyntaxTree.vb (1)
101Public Overrides ReadOnly Property DiagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic)
Syntax\VisualBasicSyntaxTree.ParsedSyntaxTree.vb (1)
126Public Overrides ReadOnly Property DiagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
ParserTestUtilities.vb (1)
539Public Overrides ReadOnly Property DiagnosticOptions As ImmutableDictionary(Of String, ReportDiagnostic)
44 references to DiagnosticOptions
Microsoft.CodeAnalysis (2)
Syntax\SyntaxTree.cs (2)
24/// Cached value for empty <see cref="DiagnosticOptions"/>. 398/// Returns a new tree whose <see cref="DiagnosticOptions" /> are the specified value and other properties are copied
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
584DiagnosticOptions,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (20)
Syntax\SyntaxTreeTests.cs (20)
133Assert.Same(options, tree.DiagnosticOptions); 148Assert.Same(options, tree.DiagnosticOptions); 150Assert.Same(options, newTree.DiagnosticOptions); 163Assert.NotNull(tree.DiagnosticOptions); 164Assert.True(tree.DiagnosticOptions.IsEmpty); 166Assert.NotSame(ImmutableDictionary<string, ReportDiagnostic>.Empty, tree.DiagnosticOptions); 179Assert.NotNull(tree.DiagnosticOptions); 180Assert.True(tree.DiagnosticOptions.IsEmpty); 181Assert.Same(ImmutableDictionary<string, ReportDiagnostic>.Empty, tree.DiagnosticOptions); 195Assert.Same(options, tree.DiagnosticOptions); 202Assert.NotNull(tree.DiagnosticOptions); 203Assert.True(tree.DiagnosticOptions.IsEmpty); 211Assert.NotNull(newTree.DiagnosticOptions); 212Assert.True(newTree.DiagnosticOptions.IsEmpty); 221Assert.NotNull(tree.DiagnosticOptions); 222Assert.True(newTree.DiagnosticOptions.IsEmpty); 224Assert.NotSame(tree.DiagnosticOptions, newTree.DiagnosticOptions); 234Assert.NotNull(newTree.DiagnosticOptions); 235Assert.Same(map, newTree.DiagnosticOptions);
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
143DiagnosticOptions)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (20)
Syntax\SyntaxTreeTests.vb (20)
27Assert.Same(options, tree.DiagnosticOptions) 36Assert.Same(options, tree.DiagnosticOptions) 38Assert.Same(options, newTree.DiagnosticOptions) 46Assert.NotNull(tree.DiagnosticOptions) 47Assert.True(tree.DiagnosticOptions.IsEmpty) 49Assert.NotSame(ImmutableDictionary(Of String, ReportDiagnostic).Empty, tree.DiagnosticOptions) 57Assert.NotNull(tree.DiagnosticOptions) 58Assert.True(tree.DiagnosticOptions.IsEmpty) 59Assert.Same(ImmutableDictionary(Of String, ReportDiagnostic).Empty, tree.DiagnosticOptions) 68Assert.Same(options, tree.DiagnosticOptions) 74Assert.NotNull(tree.DiagnosticOptions) 75Assert.True(tree.DiagnosticOptions.IsEmpty) 82Assert.NotNull(newTree.DiagnosticOptions) 83Assert.True(newTree.DiagnosticOptions.IsEmpty) 91Assert.NotNull(tree.DiagnosticOptions) 92Assert.True(newTree.DiagnosticOptions.IsEmpty) 94Assert.NotSame(tree.DiagnosticOptions, newTree.DiagnosticOptions) 102Assert.NotNull(newTree.DiagnosticOptions) 103Assert.Same(map, newTree.DiagnosticOptions)