2 writes to buffer
mscorlib (2)
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (2)
231this.buffer = null; 264Array.Resize(ref this.buffer, newSize);
12 references to buffer
mscorlib (12)
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (12)
103this.buffer[oldPos] = pb[i]; 136Marshal.Copy((IntPtr)p, this.buffer, oldPos, size); 174Buffer.BlockCopy(value, 0, this.buffer, oldPos, size); 198this.buffer[bookmark - 2] = unchecked((byte)count); 199this.buffer[bookmark - 1] = unchecked((byte)(count >> 8)); 230this.PinArray(this.buffer, this.bufferPos); 239if (this.buffer == null || this.buffer.Length < required) 248if (this.buffer == null || this.buffer.Length < required) 256var newSize = this.buffer == null ? 64 : this.buffer.Length;