1 write to Compilation
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
MockCSharpCompiler.cs (1)
79Compilation = base.CreateCompilation(consoleOutput, touchedFilesLogger, errorLogger, syntaxDiagOptionsOpt, globalDiagnosticOptionsOpt);
11 references to Compilation
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (10)
CommandLineTests.cs (4)
248var comp = cmd.Compilation; 13839var classOptions = provider.GetOptions(cmd.Compilation.SyntaxTrees.First()); 13851var generatedOptions = provider.GetOptions(cmd.Compilation.SyntaxTrees.Last()); 14146var comp = cmd.Compilation;
SarifV1ErrorLoggerTests.cs (2)
195var expectedIssues = AnalyzerForErrorLogTest.GetExpectedV1ErrorLogResultsAndRulesText(cmd.Compilation); 202var expectedIssues = AnalyzerForErrorLogTest.GetExpectedV1ErrorLogWithSuppressionResultsAndRulesText(cmd.Compilation);
SarifV2ErrorLoggerTests.cs (4)
294AnalyzerForErrorLogTest.GetExpectedV2ErrorLogResultsText(cmd.Compilation), 324AnalyzerForErrorLogTest.GetExpectedV2ErrorLogWithSuppressionResultsText(cmd.Compilation, justification, suppressionType), 499AnalyzerForErrorLogTest.GetExpectedV2ErrorLogWithSuppressionResultsText(cmd.Compilation, "Justification1", suppressionType: "SuppressMessageAttribute"), 561AnalyzerForErrorLogTest.GetExpectedV2ErrorLogWithSuppressionResultsText(cmd.Compilation,
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
MockCSharpCompiler.cs (1)
80return Compilation;