22 references to IsKind
Microsoft.CodeAnalysis.Workspaces (22)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
136if (!parameterTypeSymbols.Any(static t => t.IsKind(SymbolKind.TypeParameter)))
Rename\ConflictEngine\ConflictResolver.cs (7)
239if (renamedSymbol.ContainingSymbol.IsKind(SymbolKind.NamedType)) 265if (renamedSymbol.IsKind(SymbolKind.Namespace) && renamedSymbol.ContainingSymbol.IsKind(SymbolKind.Namespace)) 269!s.IsKind(SymbolKind.Namespace) && 275if (renamedSymbol.IsKind(SymbolKind.NamedType) && renamedSymbol.ContainingSymbol is INamespaceOrTypeSymbol) 281var conflictingSymbolLocations = otherThingsNamedTheSame.Where(s => !s.IsKind(SymbolKind.Namespace)); 282if (otherThingsNamedTheSame.Any(s => s.IsKind(SymbolKind.Namespace)))
Rename\RenameUtilities.cs (1)
380fieldSymbol.AssociatedSymbol.IsKind(SymbolKind.Property))
Shared\Extensions\IFindReferencesResultExtensions.cs (1)
22return definition.IsKind(SymbolKind.Namespace)
Shared\Extensions\SemanticModelExtensions.cs (1)
123else if (!declaredSymbol.IsKind(SymbolKind.RangeVariable))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
769if (!symbol.IsKind(kind))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
155if (symbol.ContainingSymbol.IsKind(SymbolKind.DynamicType))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
366SymbolCategory.Other => symbol.IsKind((SymbolKind)_kind),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (5)
758&& symbol.IsKind(SymbolKind.Method) 1040if (receiverType.IsKind(SymbolKind.TypeParameter) && !receiverType.IsReferenceType) 1059return receiverSymbol.IsKind(SymbolKind.Method) || 1061receiverSymbol.IsKind(SymbolKind.Property); 1066if (originalSymbol.IsKind(SymbolKind.Method) || originalSymbol.IsIndexer())
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (3)
143else if (symbol.IsKind(SymbolKind.Assembly) || 144symbol.IsKind(SymbolKind.NetModule) || 145symbol.IsKind(SymbolKind.DynamicType))