9 references to MetadataAsSourceHelpers
Microsoft.CodeAnalysis.Features (9)
MetadataAsSource\AbstractMetadataAsSourceService.cs (1)
98
var topLevelNamedType =
MetadataAsSourceHelpers
.GetTopLevelContainingNamedType(symbol);
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (5)
79
var topLevelNamedType =
MetadataAsSourceHelpers
.GetTopLevelContainingNamedType(symbol);
207
navigateLocation = await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, temporaryDocument, cancellationToken).ConfigureAwait(false);
228
var isReferenceAssembly =
MetadataAsSourceHelpers
.IsReferenceAssembly(containingAssembly);
261
return await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, document, cancellationToken).ConfigureAwait(false);
268
return await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, temporaryDocument, cancellationToken).ConfigureAwait(false);
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
64
var typeSymbol =
MetadataAsSourceHelpers
.GetTopLevelContainingNamedType(symbol);
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (2)
126
var isReferenceAssembly =
MetadataAsSourceHelpers
.IsReferenceAssembly(symbol.ContainingAssembly);
290
var navigateLocation = await
MetadataAsSourceHelpers
.GetLocationInGeneratedSourceAsync(symbolId, firstDocument, cancellationToken).ConfigureAwait(false);