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)
307=> TryGetPredefinedType(token, out _); 310=> TryGetPredefinedType(token, out var actualType) && actualType == type;