6 references to GetMetadataNoCopy
Microsoft.CodeAnalysis (6)
CommandLine\CommonCompiler.ExistingReferencesResolver.cs (1)
60
PEAssembly assembly = ((AssemblyMetadata)peReference.
GetMetadataNoCopy
()).GetAssembly()!;
MetadataReference\PortableExecutableReference.cs (4)
149
/// The <see cref="Metadata"/> object is kept alive by the <see cref="Compilation"/> that called <see cref="
GetMetadataNoCopy
"/>
152
/// <see cref="Compilation.WithReferences(MetadataReference[])"/> will call to <see cref="
GetMetadataNoCopy
"/> again.
170
return
GetMetadataNoCopy
().Copy();
183
return
GetMetadataNoCopy
().Id;
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
491
newMetadata = peReference.
GetMetadataNoCopy
();