3 references to WithUsings
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
381
public CSharpCompilationOptions WithUsings(params string[]? usings) =>
WithUsings
((IEnumerable<string>?)usings);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\LookupTests.cs (1)
37
var compilation = CreateCompilationWithMscorlib461(new[] { tree }, options: TestOptions.ReleaseDll.
WithUsings
(globalUsings));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CSharpCompilationOptionsTests.cs (1)
206
var actual2 = new CSharpCompilationOptions(OutputKind.ConsoleApplication).
WithUsings
(Enumerable.Repeat("A", 1)).Usings;