22 references to IsKind
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
ParenthesizedExpressionSyntaxExtensions.cs (3)
356if (nodeOrToken.IsNode && !nodeOrToken.IsKind(SyntaxKind.ParenthesizedExpression)) 362if (nodeOrToken.IsKind(SyntaxKind.ColonToken) || nodeOrToken.IsKind(SyntaxKind.ColonColonToken))
Microsoft.CodeAnalysis.CSharp.Features (12)
StringIndentation\CSharpStringIndentationService.cs (2)
76if (child.IsKind(SyntaxKind.MultiLineRawStringLiteralToken) || 77child.IsKind(SyntaxKind.Utf8MultiLineRawStringLiteralToken))
Structure\Providers\ConstructorDeclarationStructureProvider.cs (1)
38&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.ConstructorDeclaration));
Structure\Providers\ConversionOperatorDeclarationStructureProvider.cs (1)
40&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.ConversionOperatorDeclaration));
Structure\Providers\EventDeclarationStructureProvider.cs (2)
39&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.EventDeclaration) || nextSibling.IsKind(SyntaxKind.EventFieldDeclaration));
Structure\Providers\IndexerDeclarationStructureProvider.cs (2)
39&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.IndexerDeclaration) || nextSibling.IsKind(SyntaxKind.PropertyDeclaration));
Structure\Providers\MethodDeclarationStructureProvider.cs (1)
38&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.MethodDeclaration));
Structure\Providers\OperatorDeclarationStructureProvider.cs (1)
38&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.OperatorDeclaration));
Structure\Providers\PropertyDeclarationStructureProvider.cs (2)
38&& (!nextSibling.IsNode || nextSibling.IsKind(SyntaxKind.PropertyDeclaration) || nextSibling.IsKind(SyntaxKind.IndexerDeclaration));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
IncrementalParsing\IncrementalParsingTests.cs (1)
118if (diffI < diffs.Length && diffs[diffI].IsKind(kind))
Syntax\SyntaxListTests.cs (2)
296Assert.True(item.IsKind(SyntaxKind.Argument)); 304Assert.True(item.IsKind(SyntaxKind.CommaToken));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Extensions.cs (1)
63if (node.IsKind(kind))
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
ParenthesizedExpressionSyntaxExtensions.cs (3)
356if (nodeOrToken.IsNode && !nodeOrToken.IsKind(SyntaxKind.ParenthesizedExpression)) 362if (nodeOrToken.IsKind(SyntaxKind.ColonToken) || nodeOrToken.IsKind(SyntaxKind.ColonColonToken))