12 references to _synchronizingContexts
Microsoft.VisualStudio.LanguageServer.ContainedLanguage (12)
DefaultLSPDocumentSynchronizer.cs (12)
338
if (
_synchronizingContexts
.Count == 0)
344
for (var i =
_synchronizingContexts
.Count - 1; i >= 0; i--)
346
var synchronizingContext =
_synchronizingContexts
[i];
352
_synchronizingContexts
.RemoveAt(i);
358
_synchronizingContexts
.RemoveAt(i);
371
for (var i =
_synchronizingContexts
.Count - 1; i >= 0; i--)
373
var context =
_synchronizingContexts
[i];
379
_synchronizingContexts
.RemoveAt(i);
384
_synchronizingContexts
.Add(synchronizingContext);
390
for (var i =
_synchronizingContexts
.Count - 1; i >= 0; i--)
392
_synchronizingContexts
[i].SetSynchronized(result: false);
395
_synchronizingContexts
.Clear();