14 references to Namespace
Microsoft.CodeAnalysis.CSharp (14)
Compilation\CSharpCompilation.cs (3)
5088if (current.Kind == DeclarationKind.Namespace) 5128if (_includeMember || _includeType || child.Kind == DeclarationKind.Namespace) 5196if (declaration.Kind == DeclarationKind.Namespace)
Declarations\DeclarationKind.cs (1)
43return DeclarationKind.Namespace;
Declarations\DeclarationTable.cs (4)
171private static readonly Predicate<Declaration> s_isNamespacePredicate = d => d.Kind == DeclarationKind.Namespace; 172private static readonly Predicate<Declaration> s_isTypePredicate = d => d.Kind != DeclarationKind.Namespace; 305if (current.Kind == DeclarationKind.Namespace) 336if (includeMember || includeType || childNamespaceOrType.Kind == DeclarationKind.Namespace)
Declarations\DeclarationTreeBuilder.cs (2)
104DeclarationKind.Namespace => throw ExceptionUtilities.Unreachable(), 281if (decl.Kind == DeclarationKind.Namespace)
Declarations\MergedNamespaceDeclaration.cs (1)
43return DeclarationKind.Namespace;
Declarations\SingleNamespaceDeclaration.cs (1)
30return DeclarationKind.Namespace;
Declarations\SingleTypeDeclaration.cs (1)
91Debug.Assert(kind != DeclarationKind.Namespace);
Symbols\Source\SourceNamespaceSymbol.cs (1)
406case DeclarationKind.Namespace: