1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineControl.xaml.cs (1)
96
_threadingContext
= threadingContext;
14 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (14)
DocumentOutline\DocumentOutlineControl.xaml.cs (7)
52
_threadingContext
.ThrowIfNotOnUIThread();
57
_threadingContext
.ThrowIfNotOnUIThread();
158
_threadingContext
.ThrowIfNotOnUIThread();
168
_threadingContext
.ThrowIfNotOnUIThread();
174
_threadingContext
.ThrowIfNotOnUIThread();
191
_threadingContext
.ThrowIfNotOnUIThread();
246
_threadingContext
.ThrowIfNotOnUIThread();
DocumentOutline\DocumentOutlineControl_ModelComputation.cs (7)
46
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
92
_threadingContext
.ThrowIfNotOnUIThread();
122
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
161
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
171
var documentSymbolUIItems = DocumentOutlineHelper.GetDocumentSymbolUIItems(model.DocumentSymbolData,
_threadingContext
);
179
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
205
_threadingContext
.ThrowIfNotOnUIThread();