12 references to IsNamespaceWithName
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Compilation\GetImportScopesTests.vb (12)
73Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, NameOf(System))) 90Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, NameOf(System))) 108Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, NameOf(System))) 123Assert.True(scopes.Single().Imports.Any(Function(i) IsNamespaceWithName(i.NamespaceOrType, NameOf(System)))) 124Assert.True(scopes.Single().Imports.Any(Function(i) IsNamespaceWithName(i.NamespaceOrType, NameOf(Microsoft)))) 152Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, NameOf(System))) 175Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, NameOf(System))) 200Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, NameOf(System))) 524Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, "System")) 551Assert.True(IsNamespaceWithName(scopes.Single().Imports.Single().NamespaceOrType, "System")) 584Assert.True(IsNamespaceWithName(scopes(0).Imports.Single().NamespaceOrType, "IO")) 600Assert.True(IsNamespaceWithName(scopes(1).Imports.Single().NamespaceOrType, "System"))