12 references to CreateFromStream
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\EmitMetadataTests.cs (3)
3666var reference = AssemblyMetadata.CreateFromStream(stream).GetReference(); 3708var reference = AssemblyMetadata.CreateFromStream(stream).GetReference(); 3742var reference = AssemblyMetadata.CreateFromStream(metadataStream).GetReference();
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.VisualBasic.Emit.UnitTests (2)
Emit\EmitMetadata.vb (2)
1123Dim reference = AssemblyMetadata.CreateFromStream(stream).GetReference() 1154Dim reference = AssemblyMetadata.CreateFromStream(metadataStream).GetReference()
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (1)
262var result = AssemblyMetadata.CreateFromStream(