4 overrides of Kind
Microsoft.CodeAnalysis.CSharp (4)
Declarations\MergedNamespaceDeclaration.cs (1)
38public override DeclarationKind Kind
Declarations\MergedTypeDeclaration.cs (1)
102public override DeclarationKind Kind
Declarations\SingleNamespaceDeclaration.cs (1)
26public override DeclarationKind Kind
Declarations\SingleTypeDeclaration.cs (1)
97public override DeclarationKind Kind
10 references to Kind
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpCompilation.cs (3)
4876if (current.Kind == DeclarationKind.Namespace) 4916if (_includeMember || _includeType || child.Kind == DeclarationKind.Namespace) 4984if (declaration.Kind == 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 (1)
279if (decl.Kind == DeclarationKind.Namespace)
Symbols\Source\SourceNamespaceSymbol.cs (2)
402switch (declaration.Kind) 422throw ExceptionUtilities.UnexpectedValue(declaration.Kind);