2 writes to _bufferPos
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.Linux.cs (2)
835_bufferPos = 0; 853_bufferPos += c_INotifyEventSize + nameLength;
10 references to _bufferPos
System.IO.FileSystem.Watcher (10)
System\IO\FileSystemWatcher.Linux.cs (10)
707if (_bufferPos == _bufferAvailable) 805Debug.Assert(_bufferPos >= 0 && _bufferPos <= _bufferAvailable); 808if (_bufferAvailable == 0 || _bufferPos == _bufferAvailable) 846Debug.Assert(_bufferPos + c_INotifyEventSize <= _bufferAvailable); 848readEvent.wd = BitConverter.ToInt32(_buffer, _bufferPos); 849readEvent.mask = BitConverter.ToUInt32(_buffer, _bufferPos + 4); // +4 to get past wd 850readEvent.cookie = BitConverter.ToUInt32(_buffer, _bufferPos + 8); // +8 to get past wd, mask 851int nameLength = (int)BitConverter.ToUInt32(_buffer, _bufferPos + 12); // +12 to get past wd, mask, cookie 852readEvent.name = ReadName(_bufferPos + c_INotifyEventSize, nameLength); // +16 to get past wd, mask, cookie, len