21 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.Features (6)
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (6)
136{ Kind: SymbolDisplayPartKind.Space }, 137{ Kind: SymbolDisplayPartKind.Keyword } keyword, 138{ Kind: SymbolDisplayPartKind.Space }, 139{ Kind: SymbolDisplayPartKind.TypeParameterName }, 140{ Kind: SymbolDisplayPartKind.Space }, 141{ Kind: SymbolDisplayPartKind.Punctuation } punctuation,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.cs (4)
3632AssertEx.Equal(expectedKinds, actualParts.Select(p => p.Kind), itemInspector: p => $" SymbolDisplayPartKind.{p}"); 5387Assert.Equal(SymbolDisplayPartKind.StructName, firstPart.Kind); 5389Assert.Equal(SymbolDisplayPartKind.Space, description[1].Kind); 5390Assert.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, symbol: null, 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)