46 references to NotifyFilters
netstandard (1)
netstandard.cs (1)
947
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.
NotifyFilters
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
568
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.
NotifyFilters
))]
System.IO.FileSystem.Watcher (38)
System\IO\FileSystemWatcher.cs (16)
29
private const
NotifyFilters
c_defaultNotifyFilters =
NotifyFilters
.LastWrite |
NotifyFilters
.FileName |
NotifyFilters
.DirectoryName;
30
private
NotifyFilters
_notifyFilters = c_defaultNotifyFilters;
54
private const int c_notifyFiltersValidMask = (int)(
NotifyFilters
.Attributes |
55
NotifyFilters
.CreationTime |
56
NotifyFilters
.DirectoryName |
57
NotifyFilters
.FileName |
58
NotifyFilters
.LastAccess |
59
NotifyFilters
.LastWrite |
60
NotifyFilters
.Security |
61
NotifyFilters
.Size);
67
foreach (int enumValue in Enum.GetValues<
NotifyFilters
>())
107
public
NotifyFilters
NotifyFilter
116
throw new ArgumentException(SR.Format(SR.InvalidEnumArgument, nameof(value), (int)value, nameof(
NotifyFilters
)));
System\IO\FileSystemWatcher.Linux.cs (22)
142
private static Interop.Sys.NotifyEvents TranslateFilters(
NotifyFilters
filters)
164
const
NotifyFilters
filtersForAccess =
165
NotifyFilters
.LastAccess;
166
const
NotifyFilters
filtersForModify =
167
NotifyFilters
.LastAccess |
168
NotifyFilters
.LastWrite |
169
NotifyFilters
.Security |
170
NotifyFilters
.Size;
171
const
NotifyFilters
filtersForAttrib =
172
NotifyFilters
.Attributes |
173
NotifyFilters
.CreationTime |
174
NotifyFilters
.LastAccess |
175
NotifyFilters
.LastWrite |
176
NotifyFilters
.Security |
177
NotifyFilters
.Size;
193
const
NotifyFilters
filtersForMoved =
194
NotifyFilters
.FileName |
195
NotifyFilters
.DirectoryName;
249
private readonly
NotifyFilters
_notifyFilters;
276
bool includeSubdirectories,
NotifyFilters
notifyFilters, CancellationToken cancellationToken)
656
(isDir && ((_notifyFilters &
NotifyFilters
.DirectoryName) == 0) ||
657
(!isDir && ((_notifyFilters &
NotifyFilters
.FileName) == 0))))
System.Runtime.Caching (6)
System\Runtime\Caching\FileChangeNotificationSystem.cs (6)
119
dirMon.Fsw.NotifyFilter =
NotifyFilters
.FileName
120
|
NotifyFilters
.DirectoryName
121
|
NotifyFilters
.CreationTime
122
|
NotifyFilters
.Size
123
|
NotifyFilters
.LastWrite
124
|
NotifyFilters
.Security;