2 instantiations of UniqueDocumentKey
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (2)
357return new UniqueDocumentKey(peMetadataReference.FilePath, peMetadataReference.GetMetadataId(), project.Language, SymbolKey.Create(topLevelNamedType, cancellationToken), signaturesOnly); 362return new UniqueDocumentKey(containingAssembly.Identity, containingAssembly.GetMetadata()?.Id, project.Language, SymbolKey.Create(topLevelNamedType, cancellationToken), signaturesOnly);
6 references to UniqueDocumentKey
Microsoft.CodeAnalysis.Features (6)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (6)
38private readonly Dictionary<UniqueDocumentKey, MetadataAsSourceGeneratedFileInfo> _keyToInformation = new(); 100var infoKey = await GetUniqueDocumentKeyAsync(sourceProject, topLevelNamedType, signaturesOnly: !useDecompiler, cancellationToken).ConfigureAwait(false); 348private static async Task<UniqueDocumentKey> GetUniqueDocumentKeyAsync(Project project, INamedTypeSymbol topLevelNamedType, bool signaturesOnly, CancellationToken cancellationToken) 366private class UniqueDocumentKey : IEquatable<UniqueDocumentKey> 407public bool Equals(UniqueDocumentKey? other) 423=> Equals(obj as UniqueDocumentKey);