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