14 references to Namespace
Microsoft.CodeAnalysis.CSharp (14)
Compilation\CSharpCompilation.cs (3)
4900if (current.Kind == DeclarationKind.Namespace) 4940if (_includeMember || _includeType || child.Kind == DeclarationKind.Namespace) 5008if (declaration.Kind == DeclarationKind.Namespace)
Declarations\DeclarationKind.cs (1)
41return DeclarationKind.Namespace;
Declarations\DeclarationTable.cs (4)
201private static readonly Predicate<Declaration> s_isNamespacePredicate = d => d.Kind == DeclarationKind.Namespace; 202private static readonly Predicate<Declaration> s_isTypePredicate = d => d.Kind != DeclarationKind.Namespace; 335if (current.Kind == DeclarationKind.Namespace) 366if (includeMember || includeType || childNamespaceOrType.Kind == DeclarationKind.Namespace)
Declarations\DeclarationTreeBuilder.cs (2)
104DeclarationKind.Namespace => throw ExceptionUtilities.Unreachable(), 280if (decl.Kind == DeclarationKind.Namespace)
Declarations\MergedNamespaceDeclaration.cs (1)
42return DeclarationKind.Namespace;
Declarations\SingleNamespaceDeclaration.cs (1)
30return DeclarationKind.Namespace;
Declarations\SingleTypeDeclaration.cs (1)
91Debug.Assert(kind != DeclarationKind.Namespace);
Symbols\Source\SourceNamespaceSymbol.cs (1)
405case DeclarationKind.Namespace: