40 references to DeclaredSymbolInfo
Microsoft.CodeAnalysis.Workspaces (40)
FindSymbols\FindReferences\DependentTypeFinder.cs (2)
252MultiDictionary<DocumentId, DeclaredSymbolInfo> documentToInfos, 262foreach (var info in infos)
FindSymbols\FindReferences\DependentTypeFinder_ProjectIndex.cs (15)
18MultiDictionary<DocumentId, DeclaredSymbolInfo> classesAndRecordsThatMayDeriveFromSystemObject, 19MultiDictionary<DocumentId, DeclaredSymbolInfo> valueTypes, 20MultiDictionary<DocumentId, DeclaredSymbolInfo> enums, 21MultiDictionary<DocumentId, DeclaredSymbolInfo> delegates, 22MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)> namedTypes) 26public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> ClassesAndRecordsThatMayDeriveFromSystemObject = classesAndRecordsThatMayDeriveFromSystemObject; 27public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> ValueTypes = valueTypes; 28public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> Enums = enums; 29public readonly MultiDictionary<DocumentId, DeclaredSymbolInfo> Delegates = delegates; 30public readonly MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)> NamedTypes = namedTypes; 48var classesThatMayDeriveFromSystemObject = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 49var valueTypes = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 50var enums = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 51var delegates = new MultiDictionary<DocumentId, DeclaredSymbolInfo>(); 53var namedTypes = new MultiDictionary<string, (DocumentId, DeclaredSymbolInfo)>(
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (6)
48uint flags) : IEquatable<DeclaredSymbolInfo> 107public static DeclaredSymbolInfo Create( 191internal static DeclaredSymbolInfo ReadFrom_ThrowsOnFailure(StringTable stringTable, ObjectReader reader) 232$@"Invalid span in {nameof(DeclaredSymbolInfo)}. 243=> obj is DeclaredSymbolInfo info && Equals(info); 245public bool Equals(DeclaredSymbolInfo other)
FindSymbols\TopLevelSyntaxTree\IDeclaredSymbolInfoFactoryService.cs (1)
16void AddDeclaredSymbolInfos(ProjectState project, SyntaxNode root, ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, Dictionary<string, ArrayBuilder<int>> extensionMethodInfo, CancellationToken cancellationToken);
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.cs (3)
19private readonly Lazy<HashSet<DeclaredSymbolInfo>> _declaredSymbolInfoSet; 33public ImmutableArray<DeclaredSymbolInfo> DeclaredSymbolInfos => _declarationInfo.DeclaredSymbolInfos; 38public HashSet<DeclaredSymbolInfo> DeclaredSymbolInfoSet => _declaredSymbolInfoSet.Value;
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.DeclarationInfo.cs (3)
14private readonly struct DeclarationInfo(ImmutableArray<DeclaredSymbolInfo> declaredSymbolInfos) 16public ImmutableArray<DeclaredSymbolInfo> DeclaredSymbolInfos { get; } = declaredSymbolInfos; 25var infos = reader.ReadArray(static (r, stringTable) => DeclaredSymbolInfo.ReadFrom_ThrowsOnFailure(stringTable, r), stringTable);
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex_Create.cs (1)
20using var _1 = ArrayBuilder<DeclaredSymbolInfo>.GetInstance(out var declaredSymbolInfos);
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (8)
67protected abstract DeclaredSymbolInfo? GetTypeDeclarationInfo( 69protected abstract DeclaredSymbolInfo GetEnumDeclarationInfo( 72SyntaxNode container, TMemberDeclarationSyntax memberDeclaration, StringTable stringTable, ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, string containerDisplayName, string fullyQualifiedContainerName); 74TMemberDeclarationSyntax memberDeclaration, StringTable stringTable, ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, string containerDisplayName, string fullyQualifiedContainerName, CancellationToken cancellationToken); 76SyntaxNode container, TMemberDeclarationSyntax memberDeclaration, StringTable stringTable, ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, string containerDisplayName, string fullyQualifiedContainerName, CancellationToken cancellationToken); 155ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, 179ArrayBuilder<DeclaredSymbolInfo> declaredSymbolInfos, 306declaredSymbolInfos.Add(DeclaredSymbolInfo.Create(
Workspace\Solution\Project.cs (1)
405static bool FilterMatches(DeclaredSymbolInfo info, SymbolFilter filter)