129 references to DeclaredSymbolInfoKind
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (20)
194DeclaredSymbolInfoKind.Method, 232SyntaxKind.ClassDeclaration => DeclaredSymbolInfoKind.Class, 233SyntaxKind.InterfaceDeclaration => DeclaredSymbolInfoKind.Interface, 234SyntaxKind.StructDeclaration => DeclaredSymbolInfoKind.Struct, 235SyntaxKind.RecordDeclaration => DeclaredSymbolInfoKind.Record, 236SyntaxKind.RecordStructDeclaration => DeclaredSymbolInfoKind.RecordStruct, 260DeclaredSymbolInfoKind.Enum, 288DeclaredSymbolInfoKind.Constructor, 304DeclaredSymbolInfoKind.Delegate, 318DeclaredSymbolInfoKind.EnumMember, 332DeclaredSymbolInfoKind.Event, 346DeclaredSymbolInfoKind.Indexer, 361isExtensionMethod ? DeclaredSymbolInfoKind.ExtensionMethod : DeclaredSymbolInfoKind.Method, 377DeclaredSymbolInfoKind.Property, 387var kind = fieldDeclaration is EventFieldDeclarationSyntax 388? DeclaredSymbolInfoKind.Event 390? DeclaredSymbolInfoKind.Constant 391: DeclaredSymbolInfoKind.Field; 450DeclaredSymbolInfoKind.Property,
Microsoft.CodeAnalysis.Features (65)
ExternalAccess\UnitTesting\API\UnitTestingSearchHelpers.cs (2)
216if (info.Kind is not (DeclaredSymbolInfoKind.Method or DeclaredSymbolInfoKind.ExtensionMethod))
NavigateTo\AbstractNavigateToSearchService.InProcess.cs (38)
120if (declaredSymbolInfo.Kind == DeclaredSymbolInfoKind.Namespace) 232case DeclaredSymbolInfoKind.Class: 233case DeclaredSymbolInfoKind.Record: 235case DeclaredSymbolInfoKind.RecordStruct: 237case DeclaredSymbolInfoKind.Constant: 239case DeclaredSymbolInfoKind.Delegate: 241case DeclaredSymbolInfoKind.Enum: 243case DeclaredSymbolInfoKind.EnumMember: 245case DeclaredSymbolInfoKind.Event: 247case DeclaredSymbolInfoKind.Field: 249case DeclaredSymbolInfoKind.Interface: 251case DeclaredSymbolInfoKind.Constructor: 252case DeclaredSymbolInfoKind.ExtensionMethod: 253case DeclaredSymbolInfoKind.Method: 255case DeclaredSymbolInfoKind.Module: 257case DeclaredSymbolInfoKind.Indexer: 258case DeclaredSymbolInfoKind.Property: 260case DeclaredSymbolInfoKind.Struct: 294Debug.Assert(Enum.GetUnderlyingType(typeof(DeclaredSymbolInfoKind)) == typeof(byte)); 296var lookupTable = new bool[Enum.GetValues(typeof(DeclaredSymbolInfoKind)).Length]; 302lookupTable[(int)DeclaredSymbolInfoKind.Class] = true; 303lookupTable[(int)DeclaredSymbolInfoKind.Record] = true; 306lookupTable[(int)DeclaredSymbolInfoKind.Constant] = true; 310lookupTable[(int)DeclaredSymbolInfoKind.Delegate] = true; 314lookupTable[(int)DeclaredSymbolInfoKind.Enum] = true; 318lookupTable[(int)DeclaredSymbolInfoKind.EnumMember] = true; 322lookupTable[(int)DeclaredSymbolInfoKind.Event] = true; 326lookupTable[(int)DeclaredSymbolInfoKind.Field] = true; 330lookupTable[(int)DeclaredSymbolInfoKind.Interface] = true; 334lookupTable[(int)DeclaredSymbolInfoKind.Constructor] = true; 335lookupTable[(int)DeclaredSymbolInfoKind.ExtensionMethod] = true; 336lookupTable[(int)DeclaredSymbolInfoKind.Method] = true; 340lookupTable[(int)DeclaredSymbolInfoKind.Module] = true; 344lookupTable[(int)DeclaredSymbolInfoKind.Indexer] = true; 345lookupTable[(int)DeclaredSymbolInfoKind.Property] = true; 349lookupTable[(int)DeclaredSymbolInfoKind.Struct] = true; 350lookupTable[(int)DeclaredSymbolInfoKind.RecordStruct] = true; 362public bool Contains(DeclaredSymbolInfoKind item)
NavigateTo\RoslynNavigateToItem.cs (25)
193case DeclaredSymbolInfoKind.Class: 194case DeclaredSymbolInfoKind.Record: 195case DeclaredSymbolInfoKind.Enum: 196case DeclaredSymbolInfoKind.Interface: 197case DeclaredSymbolInfoKind.Module: 198case DeclaredSymbolInfoKind.Struct: 199case DeclaredSymbolInfoKind.RecordStruct: 294private static Glyph GetPublicGlyph(DeclaredSymbolInfoKind kind) 297DeclaredSymbolInfoKind.Class => Glyph.ClassPublic, 298DeclaredSymbolInfoKind.Constant => Glyph.ConstantPublic, 299DeclaredSymbolInfoKind.Constructor => Glyph.MethodPublic, 300DeclaredSymbolInfoKind.Delegate => Glyph.DelegatePublic, 301DeclaredSymbolInfoKind.Enum => Glyph.EnumPublic, 302DeclaredSymbolInfoKind.EnumMember => Glyph.EnumMemberPublic, 303DeclaredSymbolInfoKind.Event => Glyph.EventPublic, 304DeclaredSymbolInfoKind.ExtensionMethod => Glyph.ExtensionMethodPublic, 305DeclaredSymbolInfoKind.Field => Glyph.FieldPublic, 306DeclaredSymbolInfoKind.Indexer => Glyph.PropertyPublic, 307DeclaredSymbolInfoKind.Interface => Glyph.InterfacePublic, 308DeclaredSymbolInfoKind.Method => Glyph.MethodPublic, 309DeclaredSymbolInfoKind.Module => Glyph.ModulePublic, 310DeclaredSymbolInfoKind.Property => Glyph.PropertyPublic, 311DeclaredSymbolInfoKind.Struct => Glyph.StructurePublic, 312DeclaredSymbolInfoKind.RecordStruct => Glyph.StructurePublic, 316private static Glyph GetGlyph(DeclaredSymbolInfoKind kind, Accessibility accessibility)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (14)
FindSymbols\VisualBasicDeclaredSymbolInfoFactoryService.vb (14)
166If(typeDeclaration.Kind() = SyntaxKind.ClassBlock, DeclaredSymbolInfoKind.Class, 167If(typeDeclaration.Kind() = SyntaxKind.InterfaceBlock, DeclaredSymbolInfoKind.Interface, 168If(typeDeclaration.Kind() = SyntaxKind.ModuleBlock, DeclaredSymbolInfoKind.Module, DeclaredSymbolInfoKind.Struct))), 192DeclaredSymbolInfoKind.Enum, 229DeclaredSymbolInfoKind.Constructor, 247DeclaredSymbolInfoKind.Delegate, 261DeclaredSymbolInfoKind.EnumMember, 275DeclaredSymbolInfoKind.Event, 291If(isExtension, DeclaredSymbolInfoKind.ExtensionMethod, DeclaredSymbolInfoKind.Method), 309DeclaredSymbolInfoKind.Property, 326DeclaredSymbolInfoKind.Constant, 327DeclaredSymbolInfoKind.Field),
Microsoft.CodeAnalysis.Workspaces (30)
FindSymbols\FindReferences\DependentTypeFinder_ProjectIndex.cs (6)
66case DeclaredSymbolInfoKind.Class: 67case DeclaredSymbolInfoKind.Record: 70case DeclaredSymbolInfoKind.Enum: 73case DeclaredSymbolInfoKind.Struct: 74case DeclaredSymbolInfoKind.RecordStruct: 77case DeclaredSymbolInfoKind.Delegate:
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (4)
91public DeclaredSymbolInfoKind Kind => GetKind(_flags); 126DeclaredSymbolInfoKind kind, 169private static DeclaredSymbolInfoKind GetKind(uint flags) 170=> (DeclaredSymbolInfoKind)(flags & Lower5BitMask);
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (2)
276declaredSymbolInfos.Last().Kind == DeclaredSymbolInfoKind.ExtensionMethod && 315DeclaredSymbolInfoKind.Namespace,
Workspace\Solution\Project.cs (18)
390case DeclaredSymbolInfoKind.Namespace: 392case DeclaredSymbolInfoKind.Class: 393case DeclaredSymbolInfoKind.Delegate: 394case DeclaredSymbolInfoKind.Enum: 395case DeclaredSymbolInfoKind.Interface: 396case DeclaredSymbolInfoKind.Module: 397case DeclaredSymbolInfoKind.Record: 398case DeclaredSymbolInfoKind.RecordStruct: 399case DeclaredSymbolInfoKind.Struct: 401case DeclaredSymbolInfoKind.Constant: 402case DeclaredSymbolInfoKind.Constructor: 403case DeclaredSymbolInfoKind.EnumMember: 404case DeclaredSymbolInfoKind.Event: 405case DeclaredSymbolInfoKind.ExtensionMethod: 406case DeclaredSymbolInfoKind.Field: 407case DeclaredSymbolInfoKind.Indexer: 408case DeclaredSymbolInfoKind.Method: 409case DeclaredSymbolInfoKind.Property: