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