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