21 references to WithAliases
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\GlobalUsingDirectiveTests.cs (12)
167
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "alias1" });
276
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "alias1" });
386
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "alias1" });
435
var extCompRef = extComp.ToMetadataReference().
WithAliases
(new[] { "ext" });
581
var extCompRef = extComp.ToMetadataReference().
WithAliases
(new[] { "ext" });
1140
var extCompRef = extComp.ToMetadataReference().
WithAliases
(new[] { "ext" });
1275
var extCompRef = extComp.ToMetadataReference().
WithAliases
(new[] { "ext" });
2045
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "alias1", "alias2" });
2195
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "alias1" });
3454
var extCompRef = extComp.ToMetadataReference().
WithAliases
(new[] { "ext" });
3645
var extCompRef = extComp.ToMetadataReference().
WithAliases
(new[] { "ext" });
4514
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "A" });
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\UsedAssembliesTests.cs (7)
2221
verify1(comp1Ref.
WithAliases
(new[] { "N1C1" }),
2286
verify1(comp1Ref.
WithAliases
(new[] { "N1C1" }),
5756
var comp0RefWithAlias = comp0Ref.
WithAliases
(new[] { "Alias0" });
5767
var comp1RefWithAlias = comp1Ref.
WithAliases
(new[] { "Alias0" });
5916
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "N1C1" });
5957
comp2Ref = comp2.ToMetadataReference().
WithAliases
(new[] { "N1C1" });
6007
var comp1Ref = comp1.ToMetadataReference().
WithAliases
(new[] { "N1C1" });
Microsoft.CodeAnalysis.UnitTests (2)
MetadataReferences\MetadataReferenceTests.cs (2)
346
var r1 = r.
WithAliases
(new[] { "a", "b" });
377
var r1 = r.
WithAliases
(new[] { "a", "b" });