3 writes to ReportSuppressedDiagnostics
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
310this.ReportSuppressedDiagnostics = reportSuppressedDiagnostics;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
489return new CSharpCompilationOptions(this) { ReportSuppressedDiagnostics = reportSuppressedDiagnostics };
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
885Return New VisualBasicCompilationOptions(Me) With {.ReportSuppressedDiagnostics = value}
33 references to ReportSuppressedDiagnostics
Microsoft.CodeAnalysis (8)
Compilation\Compilation.cs (1)
1884bool reportSuppressedDiagnostics = Options.ReportSuppressedDiagnostics;
Compilation\CompilationOptions.cs (3)
640this.ReportSuppressedDiagnostics == other.ReportSuppressedDiagnostics && 687Hash.Combine(this.ReportSuppressedDiagnostics,
Compilation\DeterministicKeyBuilder.cs (1)
458writer.Write("reportSuppressedDiagnostics", options.ReportSuppressedDiagnostics);
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
878var reportSuppressedDiagnostics = compilation.Options.ReportSuppressedDiagnostics; 1207var reportSuppressedDiagnostics = compilation.Options.ReportSuppressedDiagnostics; 1237if (compilation.Options.ReportSuppressedDiagnostics || diagnostics.All(d => !d.IsSuppressed))
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
93if (!compilationWithAnalyzers.Compilation.Options.ReportSuppressedDiagnostics) 454Debug.Assert(semanticModel.Compilation.Options.ReportSuppressedDiagnostics);
Microsoft.CodeAnalysis.CSharp (2)
CSharpCompilationOptions.cs (2)
260reportSuppressedDiagnostics: other.ReportSuppressedDiagnostics, 484if (reportSuppressedDiagnostics == this.ReportSuppressedDiagnostics)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CSharpCompilationOptionsTests.cs (2)
88TestHiddenProperty((old, value) => old.WithReportSuppressedDiagnostics(value), opt => opt.ReportSuppressedDiagnostics, true); 127TestProperty((old, value) => old.WithReportSuppressedDiagnostics(value), opt => opt.ReportSuppressedDiagnostics, true);
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
93if (!compilationWithAnalyzers.Compilation.Options.ReportSuppressedDiagnostics) 454Debug.Assert(semanticModel.Compilation.Options.ReportSuppressedDiagnostics);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
307if (reportSuppressedDiagnostics != c.Options.ReportSuppressedDiagnostics)
Microsoft.CodeAnalysis.VisualBasic (2)
VisualBasicCompilationOptions.vb (2)
299reportSuppressedDiagnostics:=other.ReportSuppressedDiagnostics, 881If value = Me.ReportSuppressedDiagnostics Then
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (13)
CommandLineTests.vb (13)
4561Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4567Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4573Assert.True(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4579Assert.True(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4595Assert.True(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4605Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4612Assert.True(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4619Assert.True(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4626Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4632Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4638Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4645Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics) 4652Assert.False(parsedArgs.CompilationOptions.ReportSuppressedDiagnostics)
Microsoft.CodeAnalysis.Workspaces (1)
Serialization\AbstractOptionsSerializationService.cs (1)
29writer.WriteBoolean(options.ReportSuppressedDiagnostics);