2 writes to _bufferPos
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.Linux.cs (2)
821_bufferPos = 0; 839_bufferPos += c_INotifyEventSize + nameLength;
10 references to _bufferPos
System.IO.FileSystem.Watcher (10)
System\IO\FileSystemWatcher.Linux.cs (10)
693if (_bufferPos == _bufferAvailable) 791Debug.Assert(_bufferPos >= 0 && _bufferPos <= _bufferAvailable); 794if (_bufferAvailable == 0 || _bufferPos == _bufferAvailable) 832Debug.Assert(_bufferPos + c_INotifyEventSize <= _bufferAvailable); 834readEvent.wd = BitConverter.ToInt32(_buffer, _bufferPos); 835readEvent.mask = BitConverter.ToUInt32(_buffer, _bufferPos + 4); // +4 to get past wd 836readEvent.cookie = BitConverter.ToUInt32(_buffer, _bufferPos + 8); // +8 to get past wd, mask 837int nameLength = (int)BitConverter.ToUInt32(_buffer, _bufferPos + 12); // +12 to get past wd, mask, cookie 838readEvent.name = ReadName(_bufferPos + c_INotifyEventSize, nameLength); // +16 to get past wd, mask, cookie, len