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