1 instantiation of SymbolTreeInfo
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (1)
465return new SymbolTreeInfo(
54 references to SymbolTreeInfo
Microsoft.CodeAnalysis.Workspaces (54)
FindSymbols\Declarations\DeclarationFinder.cs (2)
82var info = await SymbolTreeInfo.GetInfoForMetadataReferenceAsync(
FindSymbols\FindReferences\DependentProjectsFinder.cs (1)
340var metadataId = SymbolTreeInfo.GetMetadataIdNoThrow(peReference);
FindSymbols\FindReferences\DependentTypeFinder.cs (2)
344var symbolTreeInfo = await SymbolTreeInfo.GetInfoForMetadataReferenceAsync(
FindSymbols\SymbolTree\ISymbolTreeInfoCacheService.cs (3)
12/// Computes and caches <see cref="SymbolTreeInfo"/> indices for the source symbols in <see cref="Project"/>s and 17ValueTask<SymbolTreeInfo?> TryGetPotentiallyStaleSourceSymbolTreeInfoAsync(Project project, CancellationToken cancellationToken); 18ValueTask<SymbolTreeInfo?> TryGetPotentiallyStaleMetadataSymbolTreeInfoAsync(Project project, PortableExecutableReference reference, CancellationToken cancellationToken);
FindSymbols\SymbolTree\MetadataInfo.cs (2)
18public readonly SymbolTreeInfo SymbolTreeInfo; 29public MetadataInfo(SymbolTreeInfo info, HashSet<ProjectId> referencingProjects)
FindSymbols\SymbolTree\SymbolTreeInfo.cs (4)
99public static SymbolTreeInfo CreateEmpty(Checksum checksum) 109public SymbolTreeInfo WithChecksum(Checksum checksum) 431internal void AssertEquivalentTo(SymbolTreeInfo other) 457private static SymbolTreeInfo CreateSymbolTreeInfo(
FindSymbols\SymbolTree\SymbolTreeInfo.Node.cs (1)
20/// produce the final <see cref="SymbolTreeInfo"/> though we will then convert
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (15)
40private static readonly ConditionalWeakTable<PortableExecutableReference, AsyncLazy<SymbolTreeInfo>> s_peReferenceToInfo = new(); 49/// computation of the <see cref="SymbolTreeInfo"/> once per <see cref="MetadataId"/>, but we may then have to 52private static readonly ConditionalWeakTable<MetadataId, AsyncLazy<SymbolTreeInfo>> s_metadataIdToSymbolTreeInfo = new(); 95/// Produces a <see cref="SymbolTreeInfo"/> for a given <see cref="PortableExecutableReference"/>. 100/// and used for the <see cref="SymbolTreeInfo"/>.</param> 102public static ValueTask<SymbolTreeInfo> GetInfoForMetadataReferenceAsync( 117/// Produces a <see cref="SymbolTreeInfo"/> for a given <see cref="PortableExecutableReference"/>. 122/// and used for the <see cref="SymbolTreeInfo"/>.</param> 124public static async ValueTask<SymbolTreeInfo> GetInfoForMetadataReferenceAsync( 143static async Task<SymbolTreeInfo> GetInfoForMetadataReferenceSlowAsync( 168static async Task<SymbolTreeInfo> CreateMetadataSymbolTreeInfoAsync( 186createAsync: checksum => new ValueTask<SymbolTreeInfo>(new MetadataInfoCreator(checksum, GetMetadataNoThrow(arg.reference)).Create()), 201public static async Task<SymbolTreeInfo?> TryGetCachedInfoForMetadataReferenceIgnoreChecksumAsync(PortableExecutableReference reference, CancellationToken cancellationToken) 236public static Task<SymbolTreeInfo?> LoadAnyInfoForMetadataReferenceAsync( 295internal SymbolTreeInfo Create()
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (7)
28private static async Task<SymbolTreeInfo> LoadOrCreateAsync( 32Func<Checksum, ValueTask<SymbolTreeInfo>> createAsync, 41var read = await LoadAsync(services, solutionKey, checksum, checksumMustMatch: true, keySuffix, cancellationToken).ConfigureAwait(false); 53SymbolTreeInfo result; 81private static async Task<SymbolTreeInfo?> LoadAsync( 191private static SymbolTreeInfo? TryReadSymbolTreeInfo( 274public static SymbolTreeInfo? ReadSymbolTreeInfo(ObjectReader reader, Checksum checksum)
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (3)
33public static Task<SymbolTreeInfo> GetInfoForSourceAssemblyAsync( 52public static async Task<SymbolTreeInfo?> LoadAnyInfoForSourceAssemblyAsync( 118internal static async ValueTask<SymbolTreeInfo> CreateSourceSymbolTreeInfoAsync(
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (14)
29private readonly ConcurrentDictionary<ProjectId, (VersionStamp semanticVersion, SymbolTreeInfo info)> _projectIdToInfo = []; 63/// Gets the latest computed <see cref="SymbolTreeInfo"/> for the requested <paramref name="reference"/>. 67public async ValueTask<SymbolTreeInfo?> TryGetPotentiallyStaleMetadataSymbolTreeInfoAsync( 84var info = await SymbolTreeInfo.LoadAnyInfoForMetadataReferenceAsync(solution, reference, cancellationToken).ConfigureAwait(false); 94public async ValueTask<SymbolTreeInfo?> TryGetPotentiallyStaleSourceSymbolTreeInfoAsync( 108var info = await SymbolTreeInfo.LoadAnyInfoForSourceAssemblyAsync(project, cancellationToken).ConfigureAwait(false); 172var checksum = await SymbolTreeInfo.GetSourceSymbolsChecksumAsync(project, cancellationToken).ConfigureAwait(false); 176var info = await SymbolTreeInfo.GetInfoForSourceAssemblyAsync( 194var checksum = SymbolTreeInfo.GetMetadataChecksum(project.Solution.Services, reference, cancellationToken); 198var info = await SymbolTreeInfo.GetInfoForMetadataReferenceAsync(