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
)));
419
OnRenamed(new RenamedEventArgs(action,
_directory
, name.IsEmpty ? null : name.ToString(), oldName.IsEmpty ? null : oldName.ToString()));
446
if (handler != null && MatchPattern(name.IsEmpty ?
_directory
: name))
448
InvokeOn(new FileSystemEventArgs(changeType,
_directory
, name.IsEmpty ? null : name.ToString()), handler);
459
if (handler != null && MatchPattern(string.IsNullOrEmpty(name) ?
_directory
: name))
461
InvokeOn(new FileSystemEventArgs(changeType,
_directory
, name), handler);
676
if (
_directory
.Length != 0 && _enabled)