4 references to IsKind
Microsoft.CodeAnalysis.Workspaces (4)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
155if (parameterTypeSymbol.IsKind<ITypeParameterSymbol>(SymbolKind.TypeParameter, out var typeParameter))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.cs (2)
175=> symbol.IsKind(SymbolKind.Alias, out IAliasSymbol? alias) ? alias.Target : symbol; 196=> symbol.IsKind(SymbolKind.NamedType, out ITypeSymbol? typeSymbol) && typeSymbol.SpecialType == SpecialType.System_Object;
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (1)
133if (symbol.IsKind(SymbolKind.Namespace, out INamespaceSymbol? ns))