18 references to ChildNamespace
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
Symbols\ConversionTests.cs (14)
28
var sys = compilation.GlobalNamespace.
ChildNamespace
("System");
60
sys.
ChildNamespace
("Collections").ChildType("IEnumerable"),
61
sys.
ChildNamespace
("Collections").
ChildNamespace
("Generic").ChildType("IEnumerable", 1).Construct(sys.ChildType("Object")),
62
sys.
ChildNamespace
("Collections").
ChildNamespace
("Generic").ChildType("IEnumerable", 1).Construct(sys.ChildType("String")),
63
sys.
ChildNamespace
("Collections").
ChildNamespace
("Generic").ChildType("IEnumerable", 1).Construct(sys.ChildType("Char")),
66
sys.
ChildNamespace
("Collections").
ChildNamespace
("Generic").ChildType("IList", 1).Construct(sys.ChildType("String")),
67
sys.
ChildNamespace
("Collections").
ChildNamespace
("Generic").ChildType("IList", 1).Construct(sys.ChildType("Object")),
72
sys.
ChildNamespace
("Runtime").
ChildNamespace
("Serialization").ChildType("ISerializable"),
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (4)
192
var canonicalType = localConsumerRefsAsm.First(arg => arg.Name == "GeneralPia").GlobalNamespace.
ChildNamespace
("InheritanceConflict");
296
var canonicalType = localConsumerRefsAsm[0].GlobalNamespace.
ChildNamespace
("GeneralEventScenario");
377
Assert.Same(localConsumerRefsAsm.First(arg => arg.Name == "GeneralPia").GlobalNamespace.
ChildNamespace
("InheritanceConflict").GetTypeMembers("IBase").Single(), ambiguous.FirstCandidate);
378
Assert.Same(localConsumerRefsAsm.First(arg => arg.Name == "GeneralPiaCopy").GlobalNamespace.
ChildNamespace
("InheritanceConflict").GetTypeMembers("IBase").Single(), ambiguous.SecondCandidate);