6 references to WithModuleName
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
SourceGeneration\GeneratorDriverTests.cs (4)
1879
var newCompilation = compilation.WithOptions(compilation.Options.
WithModuleName
("newComp"));
2014
Compilation newCompilation = compilation.WithOptions(compilation.Options.
WithModuleName
("newCompilation"));
2129
Compilation newCompilation = compilation.WithOptions(compilation.Options.
WithModuleName
("newCompilation"));
3499
compilation = compilation.WithOptions(compilation.Options.
WithModuleName
("newName"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CSharpCompilationOptionsTests.cs (1)
74
TestHiddenProperty((old, value) => old.
WithModuleName
(value), opt => opt.ModuleName, "goo.dll");
Roslyn.VisualStudio.Next.UnitTests (1)
Services\SolutionServiceTests.cs (1)
311
project = project.WithCompilationOptions(project.CompilationOptions.
WithModuleName
("modified"));