9 references to Create
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RazorReferenceManager.cs (1)
78var assemblyMetadata = AssemblyMetadata.Create(moduleMetadata);
Microsoft.CodeAnalysis (4)
MetadataReference\AssemblyMetadata.cs (4)
116return Create(ModuleMetadata.CreateFromImage(peImage)); 129return Create(ModuleMetadata.CreateFromImage(peImage)); 140return Create(ModuleMetadata.CreateFromStream(peStream, leaveOpen)); 151return Create(ModuleMetadata.CreateFromStream(peStream, options));
Microsoft.CodeAnalysis.CSharp (1)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
102var metadataAssembly = metadataCompilation.GetBoundReferenceManager().CreatePEAssemblyForAssemblyMetadata(AssemblyMetadata.Create(originalMetadata), MetadataImportOptions.All, out assemblyReferenceIdentityMap);
Microsoft.CodeAnalysis.Test.Utilities (1)
CompilationVerifier.cs (1)
722return AssemblyMetadata.Create(moduleMetadata).GetReference(display: display);
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\AssemblyMetadataTests.cs (1)
28Assert.Throws<ArgumentNullException>(() => AssemblyMetadata.Create((ModuleMetadata)null));
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
107Dim metadataAssembly = metadataCompilation.GetBoundReferenceManager().CreatePEAssemblyForAssemblyMetadata(AssemblyMetadata.Create(originalMetadata), MetadataImportOptions.All, assemblyReferenceIdentityMap)