4 references to EmitToArray
Microsoft.CodeAnalysis.Test.Utilities (4)
AssemblyLoadTestFixture.cs (1)
542
tempFile.WriteAllBytes(analyzerDependencyCompilation.
EmitToArray
());
Compilation\CompilationExtensions.cs (1)
129
var image = comp.
EmitToArray
(options, expectedWarnings: expectedWarnings);
InstrumentationChecker.cs (1)
322
var peImage = compilation.
EmitToArray
(EmitOptions.Default.WithInstrumentationKinds(ImmutableArray.Create(InstrumentationKind.TestCoverage)));
Platform\Desktop\TestHelpers.cs (1)
93
return dir.CreateFile(assemblyName + ".dll").WriteAllBytes(analyzerCompilation.
EmitToArray
());