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