1 write to _writer
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (1)
92
_writer
= new BinaryWriter(stream, Encoding.UTF8, leaveOpen);
25 references to _writer
Microsoft.CodeAnalysis.Workspaces (25)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (25)
112
_writer
.Dispose();
116
public void WriteBoolean(bool value) =>
_writer
.Write(value);
117
public void WriteByte(byte value) =>
_writer
.Write(value);
119
public void WriteChar(char ch) =>
_writer
.Write((ushort)ch);
120
public void WriteDecimal(decimal value) =>
_writer
.Write(value);
121
public void WriteDouble(double value) =>
_writer
.Write(value);
122
public void WriteSingle(float value) =>
_writer
.Write(value);
123
public void WriteInt32(int value) =>
_writer
.Write(value);
124
public void WriteInt64(long value) =>
_writer
.Write(value);
125
public void WriteSByte(sbyte value) =>
_writer
.Write(value);
126
public void WriteInt16(short value) =>
_writer
.Write(value);
127
public void WriteUInt32(uint value) =>
_writer
.Write(value);
128
public void WriteUInt64(ulong value) =>
_writer
.Write(value);
129
public void WriteUInt16(ushort value) =>
_writer
.Write(value);
132
public Stream BaseStream =>
_writer
.BaseStream;
139
_writer
.BaseStream.Position = 0;
141
if (
_writer
.BaseStream is SerializableBytes.ReadWriteStream pooledStream)
150
_writer
.BaseStream.SetLength(0);
276
_writer
.Write(((DateTime)value).ToBinary());
291
_writer
.Write(array);
318
_writer
.Write(array, index, count);
331
_writer
.Write(span);
374
write(
_writer
, buffer, segmentLength);
495
_writer
.Write(value);
509
_writer
.Write(bytes);