12 references to WithAliases
Microsoft.CodeAnalysis (1)
MetadataReference\MetadataReference.cs (1)
52return WithAliases(ImmutableArray.CreateRange(aliases));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBUsingTests.cs (1)
3317var c = CreateCompilationWithMscorlib40(sources, new[] { SystemCoreRef.WithAliases(ImmutableArray.Create("A")) });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\GetImportScopesTests.cs (1)
404return comp.ReplaceReference(reference, reference.WithAliases(ImmutableArray.CreateRange(aliases)));
Compilation\ReferenceManagerTests.cs (9)
2326new[] { MscorlibRef_v4_0_30316_17626, bRef.WithAliases(ImmutableArray.Create("X")), aRef }, 2355var c = CreateSubmissionWithExactReferences(source, new[] { MscorlibRef_v4_0_30316_17626, bRef.WithAliases(ImmutableArray.Create("X")), aRef }, 2395bRef.WithAliases(ImmutableArray.Create("X")), 2431bRef.WithAliases(ImmutableArray.Create("X")), 2467bRef.WithAliases(ImmutableArray.Create("X")), 2508bRef.WithAliases(ImmutableArray.Create("X")), 2554{ "B", bRef.WithAliases(ImmutableArray.Create("X")) } 2584var b3RefX = b3Ref.WithAliases(ImmutableArray.Create("X")); 2585var b3RefY = b3Ref.WithAliases(ImmutableArray.Create("Y"));