8 references to WithAliases
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
3250var modifiedRef = metadataRefs[0].WithAliases(new[] { "Alias " });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\CompilationAPITests.cs (1)
1894var alias = NetFramework.System.WithAliases(new[] { "alias" });
Compilation\ReferenceManagerTests.cs (3)
743var r2_SysCore = r2.WithAliases(new[] { "SysCore" }); 758var rGoo = r2.WithAliases(new[] { "goo" }); 759var rBar = r2.WithAliases(new[] { "bar" });
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
DeterministicKeyBuilderTests.cs (1)
621var mscorlib = NetCoreApp.mscorlib.WithAliases(new[] { "alias1", "alias2" });
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\MetadataReferenceTests.cs (1)
280Assert.Throws<ArgumentException>(() => r.WithAliases(new[] { "bar" }));
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
47/// cref="PortableExecutableReference.WithAliases(IEnumerable{string})"/>, then it will have a different