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