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