43 references to WatcherChangeTypes
Microsoft.DotNet.HotReload.Utils.Generator (1)
Runners\LiveRunner.cs (1)
36
if ((fsevent.ChangeType &
WatcherChangeTypes
.Changed) != 0) {
netstandard (1)
netstandard.cs (1)
973
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.
WatcherChangeTypes
))]
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
585
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.
WatcherChangeTypes
))]
System.IO.FileSystem.Watcher (40)
System\IO\FileSystemEventArgs.cs (4)
11
private readonly
WatcherChangeTypes
_changeType;
18
public FileSystemEventArgs(
WatcherChangeTypes
changeType, string directory, string? name)
45
/// Gets one of the <see cref='System.IO.
WatcherChangeTypes
'/> values.
47
public
WatcherChangeTypes
ChangeType
System\IO\FileSystemWatcher.cs (20)
413
private void NotifyRenameEventArgs(
WatcherChangeTypes
action, ReadOnlySpan<char> name, ReadOnlySpan<char> oldName)
423
private FileSystemEventHandler? GetHandler(
WatcherChangeTypes
changeType)
427
case
WatcherChangeTypes
.Created:
429
case
WatcherChangeTypes
.Deleted:
431
case
WatcherChangeTypes
.Changed:
442
private void NotifyFileSystemEventArgs(
WatcherChangeTypes
changeType, ReadOnlySpan<char> name)
455
private void NotifyFileSystemEventArgs(
WatcherChangeTypes
changeType, string name)
533
public WaitForChangedResult WaitForChanged(
WatcherChangeTypes
changeType) =>
536
public WaitForChangedResult WaitForChanged(
WatcherChangeTypes
changeType, int timeout)
547
if ((changeType & (
WatcherChangeTypes
.Created |
WatcherChangeTypes
.Deleted |
WatcherChangeTypes
.Changed)) != 0)
556
if ((changeType &
WatcherChangeTypes
.Created) != 0)
558
if ((changeType &
WatcherChangeTypes
.Deleted) != 0)
560
if ((changeType &
WatcherChangeTypes
.Changed) != 0)
563
if ((changeType &
WatcherChangeTypes
.Renamed) != 0)
599
if ((changeType &
WatcherChangeTypes
.Changed) != 0)
601
if ((changeType &
WatcherChangeTypes
.Deleted) != 0)
603
if ((changeType &
WatcherChangeTypes
.Created) != 0)
614
public WaitForChangedResult WaitForChanged(
WatcherChangeTypes
changeType, TimeSpan timeout) =>
System\IO\FileSystemWatcher.Linux.cs (13)
944
public const
WatcherChangeTypes
ErrorType =
WatcherChangeTypes
.All;
951
public
WatcherChangeTypes
Type { get; }
953
private WatcherEvent(
WatcherChangeTypes
type, WatchedDirectory watch, string name, WatchedDirectory? oldWatch = null, string? oldName = null)
969
=> new WatcherEvent(
WatcherChangeTypes
.Deleted, dir, name);
972
=> new WatcherEvent(
WatcherChangeTypes
.Created, dir, name);
975
=> new WatcherEvent(
WatcherChangeTypes
.Changed, dir, name);
978
=> new WatcherEvent(
WatcherChangeTypes
.Renamed, dir, name, oldDir, oldName);
1158
case
WatcherChangeTypes
.Created:
1159
case
WatcherChangeTypes
.Deleted:
1160
case
WatcherChangeTypes
.Changed:
1166
case
WatcherChangeTypes
.Renamed:
1170
fsw.NotifyRenameEventArgs(
WatcherChangeTypes
.Renamed, name, oldName);
System\IO\RenamedEventArgs.cs (1)
17
public RenamedEventArgs(
WatcherChangeTypes
changeType, string directory, string? name, string? oldName)
System\IO\WaitForChangedResult.cs (2)
8
internal WaitForChangedResult(
WatcherChangeTypes
changeType, string? name, string? oldName, bool timedOut)
19
public
WatcherChangeTypes
ChangeType { get; set; }