/// <summary>
 /// Creates a reference to a single-module assembly image.
 /// </summary>
 /// <param name="assemblyImage">Stream with assembly image, it should support seek operations.</param>
 /// <param name="documentation">Provides XML documentation for symbol found in the reference.</param>
 /// <param name="aliases">Reference alias.</param>
 /// <param name="embedInteropTypes">True if interop types contained in the reference should be embedded to the compilation that uses the reference.</param>
 /// <param name="filePath">Optional path that describes the location of the metadata. The file doesn't need to exist on disk. The path is opaque to the compiler.</param>
 /// <param name="display">Display string for error reporting.</param>
 public MetadataImageReference(System.IO.Stream assemblyImage, DocumentationProvider documentation = null, ImmutableArray <string> aliases = default(ImmutableArray <string>), bool embedInteropTypes = false, string filePath = null, string display = null)
     : this(AssemblyMetadata.CreateFromImageStream(RequireNonNull(assemblyImage, "assemblyImage")), documentation, aliases, embedInteropTypes, filePath, display)
 {
 }
 /// <summary>
 /// Creates a reference to a single-module assembly image.
 /// </summary>
 /// <param name="assemblyImage">Stream with assembly image, it should support seek operations.</param>
 /// <param name="documentation">Provides XML documentation for symbol found in the reference.</param>
 /// <param name="alias">Reference alias.</param>
 /// <param name="embedInteropTypes">True if interop types contained in the reference should be embedded to the compilation that uses the reference.</param>
 /// <param name="fullPath">Optional full path used for reference comparison when used in compilation. The file doesn't need to exist.</param>
 /// <param name="display">Display string for error reporting.</param>
 public MetadataImageReference(System.IO.Stream assemblyImage, DocumentationProvider documentation = null, string alias = null, bool embedInteropTypes = false, string fullPath = null, string display = null)
     : this(AssemblyMetadata.CreateFromImageStream(RequireNonNull(assemblyImage, "assemblyImage")), documentation, alias, embedInteropTypes, fullPath, display)
 {
 }