6 references to GetMetadataNoCopy
Microsoft.CodeAnalysis (6)
CommandLine\CommonCompiler.ExistingReferencesResolver.cs (1)
60PEAssembly 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. 170return GetMetadataNoCopy().Copy(); 183return GetMetadataNoCopy().Id;
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
491newMetadata = peReference.GetMetadataNoCopy();