17 references to IsPredefinedType
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
290return SyntaxFacts.IsPredefinedType(token.Kind()) || token.IsKind(SyntaxKind.IdentifierToken);
Microsoft.CodeAnalysis.CSharp (12)
Parser\DocumentationCommentParser.cs (3)
1238return SyntaxFacts.IsPredefinedType(kind); 1312SyntaxFacts.IsPredefinedType(CurrentToken.Kind)) 1372if (SyntaxFacts.IsPredefinedType(CurrentToken.Kind))
Parser\LanguageParser.cs (7)
1572if (SyntaxFacts.IsPredefinedType(this.CurrentToken.Kind)) 7211return SyntaxFacts.IsPredefinedType(keyword); 7470if (SyntaxFacts.IsPredefinedType(nextTokenKind)) 8180(SyntaxFacts.IsPredefinedType(tk) && 8338else if (SyntaxFacts.IsPredefinedType(tk)) 8574if (SyntaxFacts.IsPredefinedType(PeekToken(2).Kind)) 12171&& !SyntaxFacts.IsPredefinedType(tk.Kind)
Parser\LanguageParser_Patterns.cs (1)
79if (SyntaxFacts.IsPredefinedType(tk))
Syntax\SyntaxFacts.cs (1)
450return node.IsIdentifierVar() || IsPredefinedType(node.Kind);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
204=> type is PredefinedTypeSyntax predefinedType && SyntaxFacts.IsPredefinedType(predefinedType.Keyword.Kind());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.State.cs (1)
89/// to var. <see cref="SyntaxFacts.IsPredefinedType(SyntaxKind)"/> considers string
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
204=> type is PredefinedTypeSyntax predefinedType && SyntaxFacts.IsPredefinedType(predefinedType.Keyword.Kind());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.State.cs (1)
89/// to var. <see cref="SyntaxFacts.IsPredefinedType(SyntaxKind)"/> considers string