14 references to Namespace
Microsoft.CodeAnalysis.CSharp (14)
Compilation\CSharpCompilation.cs (3)
4851if (current.Kind == DeclarationKind.Namespace) 4891if (_includeMember || _includeType || child.Kind == DeclarationKind.Namespace) 4959if (declaration.Kind == DeclarationKind.Namespace)
Declarations\DeclarationKind.cs (1)
40return DeclarationKind.Namespace;
Declarations\DeclarationTable.cs (4)
200private static readonly Predicate<Declaration> s_isNamespacePredicate = d => d.Kind == DeclarationKind.Namespace; 201private static readonly Predicate<Declaration> s_isTypePredicate = d => d.Kind != DeclarationKind.Namespace; 334if (current.Kind == DeclarationKind.Namespace) 365if (includeMember || includeType || childNamespaceOrType.Kind == DeclarationKind.Namespace)
Declarations\DeclarationTreeBuilder.cs (2)
104DeclarationKind.Namespace => throw ExceptionUtilities.Unreachable(), 279if (decl.Kind == DeclarationKind.Namespace)
Declarations\MergedNamespaceDeclaration.cs (1)
42return DeclarationKind.Namespace;
Declarations\SingleNamespaceDeclaration.cs (1)
30return DeclarationKind.Namespace;
Declarations\SingleTypeDeclaration.cs (1)
86Debug.Assert(kind != DeclarationKind.Namespace);
Symbols\Source\SourceNamespaceSymbol.cs (1)
404case DeclarationKind.Namespace: