13 writes to EnableRaisingEvents
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (2)
120watcher.EnableRaisingEvents = true; 203watcher.EnableRaisingEvents = true;
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\FileWatching\DefaultFileChangeWatcher.cs (1)
39rootWatcher.Target.Value.EnableRaisingEvents = true;
Microsoft.Extensions.FileProviders.Physical (4)
PhysicalFilesWatcher.cs (4)
492_fileWatcher.EnableRaisingEvents = false; 538_fileWatcher.EnableRaisingEvents = false; 557_fileWatcher.EnableRaisingEvents = true; 846newWatcher.EnableRaisingEvents = true;
Microsoft.Extensions.ML (1)
ModelLoaders\FileModelLoader.cs (1)
59_watcher.EnableRaisingEvents = true;
Microsoft.VisualStudio.LanguageServices (1)
EditAndContinue\EditAndContinueFeedbackDiagnosticFileProvider.cs (1)
79_vsFeedbackSemaphoreFileWatcher.EnableRaisingEvents = true;
System.IO.FileSystem.Watcher (3)
System\IO\FileSystemWatcher.cs (3)
577EnableRaisingEvents = true; 585EnableRaisingEvents = wasEnabled; 655EnableRaisingEvents = true;
System.Runtime.Caching (1)
System\Runtime\Caching\FileChangeNotificationSystem.cs (1)
115dirMon.Fsw.EnableRaisingEvents = true;
5 references to EnableRaisingEvents
Microsoft.Extensions.FileProviders.Physical (3)
PhysicalFilesWatcher.cs (3)
489_fileWatcher.EnableRaisingEvents) 536if (_fileWatcher.EnableRaisingEvents && !rootExists) 541if (!_fileWatcher.EnableRaisingEvents)
System.IO.FileSystem.Watcher (2)
System\IO\FileSystemWatcher.cs (2)
574bool wasEnabled = EnableRaisingEvents; 581Debug.Assert(EnableRaisingEvents, "Expected EnableRaisingEvents to be true");