11 references to IsTypeDeclaration
Microsoft.CodeAnalysis.CSharp (4)
Compilation\SyntaxTreeSemanticModel.cs (2)
2316if (SyntaxFacts.IsTypeDeclaration(memberDeclaration.Kind())) 2336|| SyntaxFacts.IsTypeDeclaration(memberDeclaration.Kind()))
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5243SyntaxFacts.IsTypeDeclaration(m.Kind()) ||
Syntax\SyntaxKindFacts.cs (1)
394=> IsTypeDeclaration(kind) ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1295=> SyntaxFacts.IsTypeDeclaration(node.Kind());
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Interactive\CSharpSendToInteractiveSubmissionProvider.cs (1)
113return SyntaxFacts.IsTypeDeclaration(kind)
Microsoft.CodeAnalysis.CSharp.Features (2)
ExtractMethod\CSharpSelectionResult.cs (1)
219if (ancestors.Where(a => CSharp.SyntaxFacts.IsTypeDeclaration(a.Kind()))
LineSeparators\CSharpLineSeparatorService.cs (1)
72if (SyntaxFacts.IsTypeDeclaration(node.Kind()))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (2)
384Assert.True(SyntaxFacts.IsTypeDeclaration(SyntaxKind.RecordStructDeclaration)); 486Assert.True(SyntaxFacts.IsTypeDeclaration(SyntaxKind.RecordStructDeclaration));
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1295=> SyntaxFacts.IsTypeDeclaration(node.Kind());