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