8 writes to length
Mono.Cecil (8)
Mono.Cecil.PE\ByteBuffer.cs (8)
34 this.length = this.buffer.Length; 171 length = position; 188 length = position; 207 length = position; 230 length = position; 280 this.length = position; 291 this.length = position; 303 this.length = position;
40 references to length
Mono.Cecil (40)
Mono.Cecil.Cil\PortablePdb.cs (4)
369 var data = new byte [buffer.length]; 370 Buffer.BlockCopy (buffer.buffer, 0, data, 0, buffer.length); 393 var data = new byte [buffer.length]; 394 Buffer.BlockCopy (buffer.buffer, 0, data, 0, buffer.length);
Mono.Cecil.Metadata\Buffers.cs (5)
291 get { return base.length > 65535; } 307 get { return length == 0; } 338 get { return length <= 1; } 435 get { return length <= 1; } 458 WriteCompressedUInt32 ((uint) blob.length);
Mono.Cecil.PE\BinaryStreamWriter.cs (1)
71 Write (buffer.buffer, 0, buffer.length);
Mono.Cecil.PE\ByteBuffer.cs (11)
170 if (position > length) 187 if (position > length) 206 if (position > length) 229 if (position > length) 279 if (position > this.length) 290 if (position > this.length) 296 if (position + buffer.length > this.buffer.Length) 297 Grow (buffer.length); 299 Buffer.BlockCopy (buffer.buffer, 0, this.buffer, position, buffer.length); 300 position += buffer.length; 302 if (position > this.length)
Mono.Cecil.PE\ByteBufferEqualityComparer.cs (4)
20 if (x.length != y.length) 26 for (int i = 0; i < x.length; i++) 42 for (int i = 0; i < buffer.length; i++)
Mono.Cecil.PE\ImageWriter.cs (12)
126 rsrc = CreateSection (".rsrc", (uint) win32_resources.length, previous); 460 if (metadata.data.length > 0) { 699 map.AddMap (TextSegment.Code, metadata.code.length, !pe64 ? 4 : 16); 700 map.AddMap (TextSegment.Resources, metadata.resources.length, 8); 701 map.AddMap (TextSegment.Data, metadata.data.length, metadata.data.BufferAlign); 702 if (metadata.data.length > 0) 758 map.AddMap (TextSegment.TableHeap, metadata.table_heap.length, 4); 759 map.AddMap (TextSegment.StringHeap, metadata.string_heap.length, 4); 760 map.AddMap (TextSegment.UserStringHeap, metadata.user_string_heap.IsEmpty ? 0 : metadata.user_string_heap.length, 4); 761 map.AddMap (TextSegment.GuidHeap, metadata.guid_heap.length, 4); 762 map.AddMap (TextSegment.BlobHeap, metadata.blob_heap.IsEmpty ? 0 : metadata.blob_heap.length, 4); 763 map.AddMap (TextSegment.PdbHeap, metadata.pdb_heap == null ? 0 : metadata.pdb_heap.length, 4);
Mono.Cecil\AssemblyWriter.cs (2)
1018 if (blob.length == 0) 3215 WriteCompressedUInt32 ((uint) buffer.length);
Mono.Security.Cryptography\CryptoService.cs (1)
151 crypto_stream.Write (buffers [i].buffer, 0, buffers [i].length);