9 references to Copy
Microsoft.CodeAnalysis (5)
MetadataReference\AssemblyMetadata.cs (3)
197/// <exception cref="ArgumentException"><paramref name="modules"/> is empty or contains a module that doesn't own its image (was created via <see cref="Metadata.Copy"/>).</exception> 229/// <exception cref="ArgumentException"><paramref name="modules"/> is empty or contains a module that doesn't own its image (was created via <see cref="Metadata.Copy"/>).</exception> 242/// <exception cref="ArgumentException"><paramref name="modules"/> is empty or contains a module that doesn't own its image (was created via <see cref="Metadata.Copy"/>).</exception>
MetadataReference\ModuleMetadata.cs (1)
82/// cref="Metadata.Copy"/> will not call this when they are disposed.</param>
MetadataReference\PortableExecutableReference.cs (1)
170return GetMetadataNoCopy().Copy();
Microsoft.CodeAnalysis.Scripting (2)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (2)
270Metadata publicMetadata = newMetadata.Copy(); 427var publicMetadata = privateMetadata.Copy();
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\ReferenceManagerTests.vb (2)
1613Dim CopyRefMetaData = refmetadata.Copy 1618Dim Copymca1 = mca1.Copy()