7 references to CreateFromStream
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\AssemblyReferencesTests.cs (2)
68
var md1 = AssemblyMetadata.
CreateFromStream
(compilation0.EmitToStream());
137
var md1 = AssemblyMetadata.
CreateFromStream
(CreateEmptyCompilation(srcPE, parseOptions: parseOptions, references: new[] { MscorlibRef, SystemRef }).EmitToStream());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\InternalsVisibleToAndStrongNameTests.cs (2)
862
references: new[] { AssemblyMetadata.
CreateFromStream
(otherStream, leaveOpen: true).GetReference() },
1742
using (var metadata = AssemblyMetadata.
CreateFromStream
(stream))
Microsoft.CodeAnalysis.Test.Utilities (2)
PDB\TestMetadataReferenceInfo.cs (1)
56
var metadata = AssemblyMetadata.
CreateFromStream
(emitStream);
TestBase.cs (1)
206
return AssemblyMetadata.
CreateFromStream
(dllStream).GetReference(display: "mscorlib.v4_0_30319.dll");
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (1)
262
var result = AssemblyMetadata.
CreateFromStream
(