11 references to WithAliases
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBUsingTests.cs (1)
2973
var comp = CreateCompilationWithMscorlib40(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), references: new[] { SystemCoreRef.
WithAliases
(new[] { "A" }), SystemDataRef });
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
1342
ScriptOptions.WithReferences(libRef.
WithAliases
(new[] { "Hidden" })).WithImports("Hidden::N"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\ImportsTests.cs (3)
108
SystemCoreRef.
WithAliases
(new[] { "A" }),
109
SystemDataRef.
WithAliases
(new[] { "B" }),
146
var comp = CreateCompilation(trees, targetFramework: TargetFramework.Mscorlib40, references: new[] { SystemCoreRef.
WithAliases
(externAliases) });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\UsedAssembliesTests.cs (6)
5807
var comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });
5827
comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });
5844
var comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });
5862
comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });
5879
var comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });
5897
comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });