3 references to TryGetPredefinedType
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\NullableImpactingSpanWalker.cs (1)
131
&& CSharpSyntaxFacts.Instance.
TryGetPredefinedType
(predefinedType.Keyword, out var type))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (2)
314
=>
TryGetPredefinedType
(token, out _);
317
=>
TryGetPredefinedType
(token, out var actualType) && actualType == type;