10 references to WithAliases
Microsoft.CodeAnalysis (1)
MetadataReference\CompilationReference.cs (1)
54
return this.
WithAliases
(ImmutableArray.CreateRange(aliases));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
CodeGen\CodeGenTupleTest.cs (9)
16865
references: new[] { comp1.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias")), comp2.ToMetadataReference() },
16886
references: new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")) },
16940
references: new[] { comp1.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias")), comp2.ToMetadataReference() },
16961
references: new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")) },
17023
references: s_valueTupleRefs.Concat(new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")) }),
17046
references: s_valueTupleRefs.Concat(new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")) }),
17070
comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")),
17124
references: new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")) },
17178
references: new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().
WithAliases
(ImmutableArray.Create("alias1")) },