15 writes to EnableRaisingEvents
Microsoft.DotNet.HotReload.Utils.Generator (3)
Util\FSWGen.cs (3)
43_fsw.EnableRaisingEvents = false; 59_fsw.EnableRaisingEvents = true; 76fsw.EnableRaisingEvents = false;
Microsoft.DotNet.HotReload.Watch (3)
FileWatcher\EventBasedDirectoryWatcher.cs (3)
163_fileSystemWatcher.EnableRaisingEvents = enableEvents; 171_fileSystemWatcher.EnableRaisingEvents = false; 186set => _fileSystemWatcher!.EnableRaisingEvents = value;
Microsoft.Extensions.FileProviders.Physical (3)
PhysicalFilesWatcher.cs (3)
534_fileWatcher.EnableRaisingEvents = false; 607_fileWatcher.EnableRaisingEvents = true; 908newWatcher.EnableRaisingEvents = true;
Microsoft.Extensions.ML (1)
ModelLoaders\FileModelLoader.cs (1)
59_watcher.EnableRaisingEvents = true;
Microsoft.TemplateEngine.Utils (1)
PhysicalFileSystem.cs (1)
131watcher.EnableRaisingEvents = true;
System.IO.FileSystem.Watcher (3)
System\IO\FileSystemWatcher.cs (3)
580EnableRaisingEvents = true; 588EnableRaisingEvents = wasEnabled; 658EnableRaisingEvents = true;
System.Runtime.Caching (1)
System\Runtime\Caching\FileChangeNotificationSystem.cs (1)
115dirMon.Fsw.EnableRaisingEvents = true;
6 references to EnableRaisingEvents
Microsoft.DotNet.HotReload.Watch (2)
FileWatcher\EventBasedDirectoryWatcher.cs (2)
147enableEvents = _fileSystemWatcher.EnableRaisingEvents; 185get => _fileSystemWatcher!.EnableRaisingEvents;
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (2)
531_fileWatcher.EnableRaisingEvents) 591if (!_fileWatcher.EnableRaisingEvents)
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.cs (2)
577bool wasEnabled = EnableRaisingEvents; 584Debug.Assert(EnableRaisingEvents, "Expected EnableRaisingEvents to be true");