16 references to WriteBytes
Microsoft.CodeAnalysis (4)
PEWriter\PooledBlobBuilder.cs (1)
43
builder.
WriteBytes
(0, builder.ChunkCapacity);
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (3)
160
builder.
WriteBytes
(0, sizeof(byte) * (DynamicAttributeSize - info.Flags.Length));
164
builder.
WriteBytes
(0, sizeof(char) * (IdentifierSize - info.LocalName.Length));
229
Builder.
WriteBytes
(0, alignmentSize);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\InterceptorsTests.cs (1)
7410
builder.
WriteBytes
(value: 0, byteCount: 20);
Microsoft.CodeAnalysis.Debugging.Package (3)
CustomDebugInfoEncoder.cs (3)
160
builder.
WriteBytes
(0, sizeof(byte) * (DynamicAttributeSize - info.Flags.Length));
164
builder.
WriteBytes
(0, sizeof(char) * (IdentifierSize - info.LocalName.Length));
229
Builder.
WriteBytes
(0, alignmentSize);
Microsoft.CodeAnalysis.Features (3)
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoEncoder.cs (3)
160
builder.
WriteBytes
(0, sizeof(byte) * (DynamicAttributeSize - info.Flags.Length));
164
builder.
WriteBytes
(0, sizeof(char) * (IdentifierSize - info.LocalName.Length));
229
Builder.
WriteBytes
(0, alignmentSize);
System.Reflection.Metadata (5)
System\Reflection\Metadata\BlobBuilder.cs (2)
805
WriteBytes
(0, position - Count);
812
WriteBytes
(0, BitArithmetic.Align(position, alignment) - position);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (2)
130
_guidBuilder.
WriteBytes
(0, guidHeapStartOffset);
644
target.
WriteBytes
(0, BitArithmetic.Align(length, 4) - length);
System\Reflection\PortableExecutable\ManagedTextSection.cs (1)
350
builder.
WriteBytes
(0, 20); // 40