4 writes to _directory
System.IO.FileSystem.Watcher (4)
System\IO\FileSystemWatcher.cs (4)
78
_directory
= string.Empty;
88
_directory
= path;
100
_directory
= path;
248
_directory
= value;
9 references to _directory
System.IO.FileSystem.Watcher (9)
System\IO\FileSystemWatcher.cs (9)
235
return
_directory
;
240
if (!string.Equals(
_directory
, value, PathInternal.StringComparison))
400
OnError(new ErrorEventArgs(CreateBufferOverflowException(
_directory
)));
416
OnRenamed(new RenamedEventArgs(action,
_directory
, name.IsEmpty ? null : name.ToString(), oldName.IsEmpty ? null : oldName.ToString()));
443
if (handler != null && MatchPattern(name.IsEmpty ?
_directory
: name))
445
InvokeOn(new FileSystemEventArgs(changeType,
_directory
, name.IsEmpty ? null : name.ToString()), handler);
456
if (handler != null && MatchPattern(string.IsNullOrEmpty(name) ?
_directory
: name))
458
InvokeOn(new FileSystemEventArgs(changeType,
_directory
, name), handler);
673
if (
_directory
.Length != 0 && _enabled)