9 references to MetadataAsSourceHelpers
Microsoft.CodeAnalysis.Features (9)
MetadataAsSource\AbstractMetadataAsSourceService.cs (1)
98
var topLevelNamedType =
MetadataAsSourceHelpers
.GetTopLevelContainingNamedType(symbol);
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (5)
80
var topLevelNamedType =
MetadataAsSourceHelpers
.GetTopLevelContainingNamedType(symbol);
216
navigateLocation = await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, temporaryDocument, cancellationToken).ConfigureAwait(false);
237
var isReferenceAssembly =
MetadataAsSourceHelpers
.IsReferenceAssembly(containingAssembly);
270
return await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, document, cancellationToken).ConfigureAwait(false);
277
return await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, temporaryDocument, cancellationToken).ConfigureAwait(false);
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
64
var typeSymbol =
MetadataAsSourceHelpers
.GetTopLevelContainingNamedType(symbol);
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (2)
125
var isReferenceAssembly =
MetadataAsSourceHelpers
.IsReferenceAssembly(symbol.ContainingAssembly);
277
var navigateLocation = await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, firstDocument, cancellationToken).ConfigureAwait(false);