4 writes to _directory
System.IO.FileSystem.Watcher (4)
System\IO\FileSystemWatcher.cs (4)
78
_directory
= string.Empty;
88
_directory
= path;
100
_directory
= path;
262
_directory
= value;
10 references to _directory
System.IO.FileSystem.Watcher (10)
System\IO\FileSystemWatcher.cs (9)
249
return
_directory
;
254
if (!string.Equals(
_directory
, value, PathInternal.StringComparison))
415
new InternalBufferOverflowException(SR.Format(SR.FSW_BufferOverflow,
_directory
))));
428
OnRenamed(new RenamedEventArgs(action,
_directory
, name.IsEmpty ? null : name.ToString(), oldName.IsEmpty ? null : oldName.ToString()));
455
if (handler != null && MatchPattern(name.IsEmpty ?
_directory
: name))
457
InvokeOn(new FileSystemEventArgs(changeType,
_directory
, name.IsEmpty ? null : name.ToString()), handler);
468
if (handler != null && MatchPattern(string.IsNullOrEmpty(name) ?
_directory
: name))
470
InvokeOn(new FileSystemEventArgs(changeType,
_directory
, name), handler);
685
if (
_directory
.Length != 0 && _enabled)
System\IO\FileSystemWatcher.Linux.cs (1)
65
this, handle,
_directory
,