12 references to SerializableBytes
Microsoft.CodeAnalysis.Workspaces (12)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
165using var stream = SerializableBytes.CreateWritableStream();
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
64using (var stream = SerializableBytes.CreateWritableStream())
Serialization\SerializerService_Reference.cs (3)
65using var stream = SerializableBytes.CreateWritableStream(); 193using var stream = SerializableBytes.CreateWritableStream(); 434using var stream = SerializableBytes.CreateWritableStream();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
141if (_writer.BaseStream is SerializableBytes.ReadWriteStream pooledStream)
Storage\SQLite\v2\Interop\SqlConnection.cs (1)
349return SerializableBytes.CreateReadableStream(bytes, length);
Utilities\Documentation\XmlDocumentationProvider.cs (1)
111=> SerializableBytes.CreateReadableStream(_xmlDocCommentBytes);
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
79using var stream = SerializableBytes.CreateWritableStream();
Workspace\Solution\Checksum_Factory.cs (1)
29new(() => new(SerializableBytes.CreateWritableStream(), leaveOpen: true, writeValidationBytes: true), size: 4);
Workspace\Solution\FileTextLoader.cs (1)
182using var readStream = await SerializableBytes.CreateReadableStreamAsync(stream, cancellationToken: t.cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (1)
246using var stream = SerializableBytes.CreateWritableStream();