43 references to WatcherChangeTypes
Microsoft.DotNet.HotReload.Utils.Generator (1)
Runners\LiveRunner.cs (1)
36if ((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)
11private readonly WatcherChangeTypes _changeType; 18public FileSystemEventArgs(WatcherChangeTypes changeType, string directory, string? name) 45/// Gets one of the <see cref='System.IO.WatcherChangeTypes'/> values. 47public WatcherChangeTypes ChangeType
System\IO\FileSystemWatcher.cs (20)
413private void NotifyRenameEventArgs(WatcherChangeTypes action, ReadOnlySpan<char> name, ReadOnlySpan<char> oldName) 423private FileSystemEventHandler? GetHandler(WatcherChangeTypes changeType) 427case WatcherChangeTypes.Created: 429case WatcherChangeTypes.Deleted: 431case WatcherChangeTypes.Changed: 442private void NotifyFileSystemEventArgs(WatcherChangeTypes changeType, ReadOnlySpan<char> name) 455private void NotifyFileSystemEventArgs(WatcherChangeTypes changeType, string name) 533public WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType) => 536public WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout) 547if ((changeType & (WatcherChangeTypes.Created | WatcherChangeTypes.Deleted | WatcherChangeTypes.Changed)) != 0) 556if ((changeType & WatcherChangeTypes.Created) != 0) 558if ((changeType & WatcherChangeTypes.Deleted) != 0) 560if ((changeType & WatcherChangeTypes.Changed) != 0) 563if ((changeType & WatcherChangeTypes.Renamed) != 0) 599if ((changeType & WatcherChangeTypes.Changed) != 0) 601if ((changeType & WatcherChangeTypes.Deleted) != 0) 603if ((changeType & WatcherChangeTypes.Created) != 0) 614public WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, TimeSpan timeout) =>
System\IO\FileSystemWatcher.Linux.cs (13)
944public const WatcherChangeTypes ErrorType = WatcherChangeTypes.All; 951public WatcherChangeTypes Type { get; } 953private 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); 1158case WatcherChangeTypes.Created: 1159case WatcherChangeTypes.Deleted: 1160case WatcherChangeTypes.Changed: 1166case WatcherChangeTypes.Renamed: 1170fsw.NotifyRenameEventArgs(WatcherChangeTypes.Renamed, name, oldName);
System\IO\RenamedEventArgs.cs (1)
17public RenamedEventArgs(WatcherChangeTypes changeType, string directory, string? name, string? oldName)
System\IO\WaitForChangedResult.cs (2)
8internal WaitForChangedResult(WatcherChangeTypes changeType, string? name, string? oldName, bool timedOut) 19public WatcherChangeTypes ChangeType { get; set; }