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