17 references to IsPredefinedType
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
290
return SyntaxFacts.
IsPredefinedType
(token.Kind()) || token.IsKind(SyntaxKind.IdentifierToken);
Microsoft.CodeAnalysis.CSharp (12)
Parser\DocumentationCommentParser.cs (3)
1238
return SyntaxFacts.
IsPredefinedType
(kind);
1312
SyntaxFacts.
IsPredefinedType
(CurrentToken.Kind))
1372
if (SyntaxFacts.
IsPredefinedType
(CurrentToken.Kind))
Parser\LanguageParser.cs (7)
1572
if (SyntaxFacts.
IsPredefinedType
(this.CurrentToken.Kind))
7193
return SyntaxFacts.
IsPredefinedType
(keyword);
7452
if (SyntaxFacts.
IsPredefinedType
(nextTokenKind))
8162
(SyntaxFacts.
IsPredefinedType
(tk) &&
8320
else if (SyntaxFacts.
IsPredefinedType
(tk))
8556
if (SyntaxFacts.
IsPredefinedType
(PeekToken(2).Kind))
12147
&& !SyntaxFacts.
IsPredefinedType
(tk.Kind)
Parser\LanguageParser_Patterns.cs (1)
79
if (SyntaxFacts.
IsPredefinedType
(tk))
Syntax\SyntaxFacts.cs (1)
450
return 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