15 references to Kind
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SymbolDisplayPartExtensions.cs (1)
11if (part.Kind == SymbolDisplayPartKind.ErrorTypeName)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.cs (4)
3460AssertEx.Equal(expectedKinds, actualParts.Select(p => p.Kind), itemInspector: p => $" SymbolDisplayPartKind.{p}"); 5215Assert.Equal(SymbolDisplayPartKind.StructName, firstPart.Kind); 5217Assert.Equal(SymbolDisplayPartKind.Space, description[1].Kind); 5218Assert.Equal(SymbolDisplayPartKind.FieldName, description[2].Kind);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SymbolDisplayPartExtensions.cs (1)
11if (part.Kind == SymbolDisplayPartKind.ErrorTypeName)
Microsoft.CodeAnalysis.Features (6)
CodeLens\CodeLensReferencesService.cs (3)
300part.Kind == SymbolDisplayPartKind.Punctuation && 303switch (parts[index + 1].Kind) 326previousWasClass = part.Kind is SymbolDisplayPartKind.ClassName or
Common\TaggedText.cs (2)
110if (part is { Symbol: IAliasSymbol alias, Kind: SymbolDisplayPartKind.AliasName }) 118return SymbolDisplayPartKindTags.GetTag(part.Kind);
LanguageServices\AnonymousTypeDisplayService\StructuralTypeDisplayInfo.cs (1)
56newParts.Add(new SymbolDisplayPart(part.Kind, part.Symbol, name));
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SymbolDisplayPartExtensions.vb (1)
12If p.Kind = SymbolDisplayPartKind.ErrorTypeName Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SymbolDisplayPartExtensions.vb (1)
12If p.Kind = SymbolDisplayPartKind.ErrorTypeName Then
Microsoft.CodeAnalysis.Workspaces (1)
Rename\ConflictEngine\ConflictResolver.cs (1)
389.WhereAsArray(p => p.Kind is not SymbolDisplayPartKind.PropertyName and not SymbolDisplayPartKind.FieldName)