7 references to IsForeground
Microsoft.CodeAnalysis.EditorFeatures (2)
Shared\Utilities\ForegroundThreadAffinitizedObject.cs (2)
59=> Contract.ThrowIfTrue(IsForeground()); 74if (IsForeground() && !IsInputPending())
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
SuggestedActionsSource.cs (1)
394if (IsForeground())
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActionsSource.cs (1)
394if (IsForeground())
Microsoft.VisualStudio.LanguageServices (3)
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
173if (!_foregroundThreadAffinitization.IsForeground())
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
324if (!_foregroundObject.IsForeground()) 1029if (!_foregroundObject.IsForeground())