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