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)) 7193return SyntaxFacts.IsPredefinedType(keyword); 7452if (SyntaxFacts.IsPredefinedType(nextTokenKind)) 8162(SyntaxFacts.IsPredefinedType(tk) && 8320else if (SyntaxFacts.IsPredefinedType(tk)) 8556if (SyntaxFacts.IsPredefinedType(PeekToken(2).Kind)) 12147&& !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)
225? 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)
225? 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