201 references to ThrowIfNotOnUIThread
Microsoft.CodeAnalysis.EditorFeatures (201)
AddImports\AbstractAddImportsPasteCommandHandler.cs (1)
134_threadingContext.ThrowIfNotOnUIThread();
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (10)
78ThreadingContext.ThrowIfNotOnUIThread(); 94ThreadingContext.ThrowIfNotOnUIThread(); 154ThreadingContext.ThrowIfNotOnUIThread(); 206ThreadingContext.ThrowIfNotOnUIThread(); 272ThreadingContext.ThrowIfNotOnUIThread(); 307ThreadingContext.ThrowIfNotOnUIThread(); 364ThreadingContext.ThrowIfNotOnUIThread(); 409ThreadingContext.ThrowIfNotOnUIThread(); 439ThreadingContext.ThrowIfNotOnUIThread(); 452ThreadingContext.ThrowIfNotOnUIThread();
AutomaticCompletion\BraceCompletionSessionProvider.cs (1)
50_threadingContext.ThrowIfNotOnUIThread();
BackgroundWorkIndicator\WpfBackgroundWorkIndicatorFactory.cs (2)
37_threadingContext.ThrowIfNotOnUIThread(); 48_threadingContext.ThrowIfNotOnUIThread();
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.cs (1)
48_threadingContext.ThrowIfNotOnUIThread();
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.Tagger.cs (1)
63_owner._threadingContext.ThrowIfNotOnUIThread();
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (1)
71this.ThreadingContext.ThrowIfNotOnUIThread();
Classification\Syntactic\SyntacticClassificationTaggerProvider.ClassifiedLineCache.cs (3)
91_threadingContext.ThrowIfNotOnUIThread(); 116_threadingContext.ThrowIfNotOnUIThread(); 134_threadingContext.ThrowIfNotOnUIThread();
Classification\Syntactic\SyntacticClassificationTaggerProvider.cs (1)
29ThreadingContext.ThrowIfNotOnUIThread();
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (11)
124taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 202_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 208_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 226_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 238_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 410_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 418_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 440_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 468_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 482_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 522_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread();
CodeActions\CodeActionEditHandlerService.cs (2)
141_threadingContext.ThrowIfNotOnUIThread(); 282_threadingContext.ThrowIfNotOnUIThread();
Copilot\CopilotTaggerProvider.cs (1)
52this.ThreadingContext.ThrowIfNotOnUIThread();
EditAndContinue\ActiveStatementTaggerProvider.cs (1)
38this.ThreadingContext.ThrowIfNotOnUIThread();
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (1)
62_threadingContext.ThrowIfNotOnUIThread();
ExtractMethod\ExtractMethodCommandHandler.cs (2)
115_threadingContext.ThrowIfNotOnUIThread(); 134_threadingContext.ThrowIfNotOnUIThread();
GoToDefinition\AbstractGoToCommandHandler`2.cs (2)
95_threadingContext.ThrowIfNotOnUIThread(); 127_threadingContext.ThrowIfNotOnUIThread();
InlineHints\InlineHintsKeyProcessorProvider.cs (1)
52_threadingContext.ThrowIfNotOnUIThread();
InlineHints\InlineHintsTagger.cs (2)
79_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread(); 101_taggerProvider.ThreadingContext.ThrowIfNotOnUIThread();
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (1)
53threadingContext.ThrowIfNotOnUIThread();
InlineRename\InlineRenameService.cs (2)
170_threadingContext.ThrowIfNotOnUIThread(); 177_threadingContext.ThrowIfNotOnUIThread();
InlineRename\InlineRenameSession.cs (14)
267_threadingContext.ThrowIfNotOnUIThread(); 291_threadingContext.ThrowIfNotOnUIThread(); 306_threadingContext.ThrowIfNotOnUIThread(); 367_threadingContext.ThrowIfNotOnUIThread(); 376_threadingContext.ThrowIfNotOnUIThread(); 412_threadingContext.ThrowIfNotOnUIThread(); 430_threadingContext.ThrowIfNotOnUIThread(); 458_threadingContext.ThrowIfNotOnUIThread(); 466_threadingContext.ThrowIfNotOnUIThread(); 524_threadingContext.ThrowIfNotOnUIThread(); 619_threadingContext.ThrowIfNotOnUIThread(); 658_threadingContext.ThrowIfNotOnUIThread(); 675_threadingContext.ThrowIfNotOnUIThread(); 960_threadingContext.ThrowIfNotOnUIThread();
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (7)
99_session._threadingContext.ThrowIfNotOnUIThread(); 171_session._threadingContext.ThrowIfNotOnUIThread(); 220_session._threadingContext.ThrowIfNotOnUIThread(); 273_session._threadingContext.ThrowIfNotOnUIThread(); 295_session._threadingContext.ThrowIfNotOnUIThread(); 317_session._threadingContext.ThrowIfNotOnUIThread(); 589_session._threadingContext.ThrowIfNotOnUIThread();
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (1)
262_threadingContext.ThrowIfNotOnUIThread();
InlineRename\UI\SmartRename\SmartRenameViewModel.cs (8)
78_threadingContext.ThrowIfNotOnUIThread(); 83_threadingContext.ThrowIfNotOnUIThread(); 124_threadingContext.ThrowIfNotOnUIThread(); 184_threadingContext.ThrowIfNotOnUIThread(); 297_threadingContext.ThrowIfNotOnUIThread(); 329_threadingContext.ThrowIfNotOnUIThread(); 344_threadingContext.ThrowIfNotOnUIThread(); 372_threadingContext.ThrowIfNotOnUIThread();
IntelliSense\AbstractController.cs (8)
72this.ThreadingContext.ThrowIfNotOnUIThread(); 82this.ThreadingContext.ThrowIfNotOnUIThread(); 91this.ThreadingContext.ThrowIfNotOnUIThread(); 99this.ThreadingContext.ThrowIfNotOnUIThread(); 109this.ThreadingContext.ThrowIfNotOnUIThread(); 115this.ThreadingContext.ThrowIfNotOnUIThread(); 121this.ThreadingContext.ThrowIfNotOnUIThread(); 130this.ThreadingContext.ThrowIfNotOnUIThread();
IntelliSense\AsyncCompletion\CommitManager.cs (2)
101_threadingContext.ThrowIfNotOnUIThread(); 197_threadingContext.ThrowIfNotOnUIThread();
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
97_threadingContext.ThrowIfNotOnUIThread();
IntelliSense\ModelComputation.cs (5)
68ThreadingContext.ThrowIfNotOnUIThread(); 77ThreadingContext.ThrowIfNotOnUIThread(); 90ThreadingContext.ThrowIfNotOnUIThread(); 103ThreadingContext.ThrowIfNotOnUIThread(); 158this.ThreadingContext.ThrowIfNotOnUIThread();
IntelliSense\Session.cs (3)
42Computation.ThreadingContext.ThrowIfNotOnUIThread(); 49Computation.ThreadingContext.ThrowIfNotOnUIThread(); 57Computation.ThreadingContext.ThrowIfNotOnUIThread();
Interactive\InteractiveEvaluator.cs (7)
124_threadingContext.ThrowIfNotOnUIThread(); 160_threadingContext.ThrowIfNotOnUIThread(); 166_threadingContext.ThrowIfNotOnUIThread(); 181_threadingContext.ThrowIfNotOnUIThread(); 191_threadingContext.ThrowIfNotOnUIThread(); 206_threadingContext.ThrowIfNotOnUIThread(); 230_threadingContext.ThrowIfNotOnUIThread();
NavigationBar\NavigationBarController.cs (6)
140threadingContext.ThrowIfNotOnUIThread(); 179_threadingContext.ThrowIfNotOnUIThread(); 222_threadingContext.ThrowIfNotOnUIThread(); 267_threadingContext.ThrowIfNotOnUIThread(); 275_threadingContext.ThrowIfNotOnUIThread(); 296_threadingContext.ThrowIfNotOnUIThread();
PasteTracking\PasteTrackingService.cs (1)
41_threadingContext.ThrowIfNotOnUIThread();
Preview\AbstractPreviewFactoryService.cs (1)
654ThreadingContext.ThrowIfNotOnUIThread();
Preview\SolutionPreviewResult.cs (1)
35_threadingContext.ThrowIfNotOnUIThread();
QuickInfo\LazyToolTip.cs (3)
39_threadingContext.ThrowIfNotOnUIThread(); 60_threadingContext.ThrowIfNotOnUIThread(); 78_threadingContext.ThrowIfNotOnUIThread();
QuickInfo\ProjectionBufferContent.cs (1)
75_threadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (3)
59_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 225_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 263_stateMachine.ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (11)
73ThreadingContext.ThrowIfNotOnUIThread(); 128ThreadingContext.ThrowIfNotOnUIThread(); 138ThreadingContext.ThrowIfNotOnUIThread(); 158ThreadingContext.ThrowIfNotOnUIThread(); 203ThreadingContext.ThrowIfNotOnUIThread(); 227ThreadingContext.ThrowIfNotOnUIThread(); 256ThreadingContext.ThrowIfNotOnUIThread(); 327ThreadingContext.ThrowIfNotOnUIThread(); 336ThreadingContext.ThrowIfNotOnUIThread(); 374ThreadingContext.ThrowIfNotOnUIThread(); 380ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (2)
130_threadingContext.ThrowIfNotOnUIThread(); 157_threadingContext.ThrowIfNotOnUIThread();
Shared\Extensions\ITextSnapshotExtensions.cs (1)
95threadingContext.ThrowIfNotOnUIThread();
Shared\Tagging\EventSources\TaggerEventSources.ViewSpanChangedEventSource.cs (3)
30_threadingContext.ThrowIfNotOnUIThread(); 36_threadingContext.ThrowIfNotOnUIThread(); 42_threadingContext.ThrowIfNotOnUIThread();
SignatureHelp\AbstractSignatureHelpCommandHandler.cs (1)
35this.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller.cs (5)
77this.ThreadingContext.ThrowIfNotOnUIThread(); 83this.ThreadingContext.ThrowIfNotOnUIThread(); 114this.ThreadingContext.ThrowIfNotOnUIThread(); 123this.ThreadingContext.ThrowIfNotOnUIThread(); 145this.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller.Session.cs (2)
23this.Computation.ThreadingContext.ThrowIfNotOnUIThread(); 30this.Computation.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller.Session_ComputeModel.cs (1)
31this.Computation.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller.Session_SetModelSelectedItem.cs (1)
18this.Computation.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller_InvokeSignatureHelp.cs (2)
19this.ThreadingContext.ThrowIfNotOnUIThread(); 25this.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller_OnCaretPositionChanged.cs (1)
14this.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Controller_TypeChar.cs (3)
22this.ThreadingContext.ThrowIfNotOnUIThread(); 30this.ThreadingContext.ThrowIfNotOnUIThread(); 135this.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Presentation\SignatureHelpPresenter.cs (2)
39_threadingContext.ThrowIfNotOnUIThread(); 45_threadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (3)
147_threadingContext.ThrowIfNotOnUIThread(); 153_threadingContext.ThrowIfNotOnUIThread(); 171_threadingContext.ThrowIfNotOnUIThread();
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpSource.cs (2)
20threadingContext.ThrowIfNotOnUIThread(); 32threadingContext.ThrowIfNotOnUIThread();
SignatureHelp\SignatureHelpBeforeCompletionCommandHandler.cs (7)
57this.ThreadingContext.ThrowIfNotOnUIThread(); 73this.ThreadingContext.ThrowIfNotOnUIThread(); 85this.ThreadingContext.ThrowIfNotOnUIThread(); 98this.ThreadingContext.ThrowIfNotOnUIThread(); 104this.ThreadingContext.ThrowIfNotOnUIThread(); 110this.ThreadingContext.ThrowIfNotOnUIThread(); 116this.ThreadingContext.ThrowIfNotOnUIThread();
SignatureHelp\SignatureHelpControllerProvider.cs (2)
45_threadingContext.ThrowIfNotOnUIThread(); 61_threadingContext.ThrowIfNotOnUIThread();
Suggestions\SuggestedActions\SuggestedAction.cs (1)
163this.ThreadingContext.ThrowIfNotOnUIThread();
Suggestions\SuggestedActionsSource.cs (1)
127_threadingContext.ThrowIfNotOnUIThread();
Suggestions\SuggestedActionsSource_Async.cs (2)
42_threadingContext.ThrowIfNotOnUIThread(); 71_threadingContext.ThrowIfNotOnUIThread();
Suggestions\SuggestedActionWithNestedFlavors.cs (4)
70this.ThreadingContext.ThrowIfNotOnUIThread(); 147this.ThreadingContext.ThrowIfNotOnUIThread(); 173this.ThreadingContext.ThrowIfNotOnUIThread(); 181this.ThreadingContext.ThrowIfNotOnUIThread();
Tagging\AbstractAsynchronousTaggerProvider.TagSource.cs (7)
148dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 200_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 217_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 260_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 287_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 298_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 338_dataSource.ThreadingContext.ThrowIfNotOnUIThread();
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (7)
37_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 55_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 71_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 77_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 397_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 725_dataSource.ThreadingContext.ThrowIfNotOnUIThread(); 757_dataSource.ThreadingContext.ThrowIfNotOnUIThread();
Tagging\AsynchronousViewportTaggerProvider.SingleViewportTaggerProvider.cs (1)
100this.ThreadingContext.ThrowIfNotOnUIThread();
Workspaces\AbstractTextBufferVisibilityTracker.cs (10)
48_threadingContext.ThrowIfNotOnUIThread(); 54_threadingContext.ThrowIfNotOnUIThread(); 71_threadingContext.ThrowIfNotOnUIThread(); 91_threadingContext.ThrowIfNotOnUIThread(); 103_threadingContext.ThrowIfNotOnUIThread(); 160_tracker._threadingContext.ThrowIfNotOnUIThread(); 173_tracker._threadingContext.ThrowIfNotOnUIThread(); 179_tracker._threadingContext.ThrowIfNotOnUIThread(); 185_tracker._threadingContext.ThrowIfNotOnUIThread(); 216_tracker._threadingContext.ThrowIfNotOnUIThread();