12 writes to EnableRaisingEvents
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (2)
122watcher.EnableRaisingEvents = true; 202watcher.EnableRaisingEvents = true;
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\FileWatching\SimpleFileChangeWatcher.cs (2)
57watcher.EnableRaisingEvents = true; 115_watcher.EnableRaisingEvents = true;
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (2)
417_fileWatcher.EnableRaisingEvents = false; 438_fileWatcher.EnableRaisingEvents = true;
Microsoft.Extensions.ML (1)
ModelLoaders\FileModelLoader.cs (1)
59_watcher.EnableRaisingEvents = true;
Microsoft.VisualStudio.LanguageServices (1)
EditAndContinue\EditAndContinueFeedbackDiagnosticFileProvider.cs (1)
82_vsFeedbackSemaphoreFileWatcher.EnableRaisingEvents = true;
System.IO.FileSystem.Watcher (3)
System\IO\FileSystemWatcher.cs (3)
589EnableRaisingEvents = true; 597EnableRaisingEvents = wasEnabled; 667EnableRaisingEvents = true;
System.Runtime.Caching (1)
System\Runtime\Caching\FileChangeNotificationSystem.cs (1)
125dirMon.Fsw.EnableRaisingEvents = true;
4 references to EnableRaisingEvents
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (2)
414_fileWatcher.EnableRaisingEvents) 435!_fileWatcher.EnableRaisingEvents)
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.cs (2)
586bool wasEnabled = EnableRaisingEvents; 593Debug.Assert(EnableRaisingEvents, "Expected EnableRaisingEvents to be true");