2 writes to _bufferPos
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.Linux.cs (2)
872_bufferPos = 0; 890_bufferPos += INotifyEventSize + nameLength;
10 references to _bufferPos
System.IO.FileSystem.Watcher (10)
System\IO\FileSystemWatcher.Linux.cs (10)
606bool eventAvailable = _bufferPos != _bufferAvailable; 842Debug.Assert(_bufferPos >= 0 && _bufferPos <= _bufferAvailable); 845if (_bufferAvailable == 0 || _bufferPos == _bufferAvailable) 883Debug.Assert(_bufferPos + INotifyEventSize <= _bufferAvailable); 885readEvent.wd = BitConverter.ToInt32(_buffer, _bufferPos); 886readEvent.mask = BitConverter.ToUInt32(_buffer, _bufferPos + 4); // +4 to get past wd 887readEvent.cookie = BitConverter.ToUInt32(_buffer, _bufferPos + 8); // +8 to get past wd, mask 888int nameLength = (int)BitConverter.ToUInt32(_buffer, _bufferPos + 12); // +12 to get past wd, mask, cookie 889readEvent.name = ReadName(_bufferPos + INotifyEventSize, nameLength); // +16 to get past wd, mask, cookie, len