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))
7211
return SyntaxFacts.
IsPredefinedType
(keyword);
7470
if (SyntaxFacts.
IsPredefinedType
(nextTokenKind))
8180
(SyntaxFacts.
IsPredefinedType
(tk) &&
8338
else if (SyntaxFacts.
IsPredefinedType
(tk))
8574
if (SyntaxFacts.
IsPredefinedType
(PeekToken(2).Kind))
12171
&& !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)
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