18 references to Instance
Microsoft.CodeAnalysis.LanguageServer (3)
HostWorkspace\FileWatching\DefaultFileChangeWatcher.FileChangeContext.cs (2)
78return NoOpWatchedFile.Instance; 83return NoOpWatchedFile.Instance;
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (1)
142return NoOpWatchedFile.Instance;
Microsoft.CodeAnalysis.LanguageServer.UnitTests (14)
DefaultFileChangeWatcherTests.cs (14)
78Assert.Same(NoOpWatchedFile.Instance, watchedFile); 93Assert.NotSame(NoOpWatchedFile.Instance, watchedFile); 106Assert.Same(NoOpWatchedFile.Instance, watchedFile); 121Assert.NotSame(NoOpWatchedFile.Instance, watchedFile); 137Assert.NotSame(NoOpWatchedFile.Instance, watcher1); 138Assert.NotSame(NoOpWatchedFile.Instance, watcher2); 154Assert.Same(NoOpWatchedFile.Instance, watchedFile); 186Assert.Same(NoOpWatchedFile.Instance, csWatcher); 187Assert.Same(NoOpWatchedFile.Instance, vbWatcher); 190Assert.NotSame(NoOpWatchedFile.Instance, txtWatcher); 207Assert.Same(NoOpWatchedFile.Instance, watchedFile); 223Assert.NotSame(NoOpWatchedFile.Instance, watchedFile); 238Assert.NotSame(NoOpWatchedFile.Instance, watchedFile); 254Assert.NotSame(NoOpWatchedFile.Instance, watcher2);
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\FileChangeWatcher.cs (1)
397return NoOpWatchedFile.Instance;