46 types derived from ForegroundThreadAffinitizedObject
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (6)
AbstractSignatureHelpCommandHandler.cs (1)
19ForegroundThreadAffinitizedObject
SignatureHelpControllerProvider.cs (1)
25internal class SignatureHelpControllerProvider : ForegroundThreadAffinitizedObject
SignatureHelpPresenter.SignatureHelpPresenterSession.cs (1)
23private class SignatureHelpPresenterSession : ForegroundThreadAffinitizedObject, ISignatureHelpPresenterSession
SignatureHelpPresenter.SignatureHelpSource.cs (1)
15private class SignatureHelpSource : ForegroundThreadAffinitizedObject, ISignatureHelpSource
SuggestedAction.cs (1)
33internal abstract partial class SuggestedAction : ForegroundThreadAffinitizedObject, ISuggestedAction3, IEquatable<ISuggestedAction>
SuggestedActionsSource.cs (1)
37private abstract partial class SuggestedActionsSource : ForegroundThreadAffinitizedObject, ISuggestedActionsSource3
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
IWpfDifferenceViewerExtensions.cs (1)
22private class SizeToFitHelper : ForegroundThreadAffinitizedObject
QuickInfo\LazyToolTip.cs (1)
21private class LazyToolTip : ForegroundThreadAffinitizedObject
QuickInfo\ProjectionBufferContent.cs (1)
25internal class ProjectionBufferContent : ForegroundThreadAffinitizedObject
SignatureHelp\AbstractSignatureHelpCommandHandler.cs (1)
19ForegroundThreadAffinitizedObject
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpPresenterSession.cs (1)
23private class SignatureHelpPresenterSession : ForegroundThreadAffinitizedObject, ISignatureHelpPresenterSession
SignatureHelp\Presentation\SignatureHelpPresenter.SignatureHelpSource.cs (1)
15private class SignatureHelpSource : ForegroundThreadAffinitizedObject, ISignatureHelpSource
SignatureHelp\SignatureHelpControllerProvider.cs (1)
25internal class SignatureHelpControllerProvider : ForegroundThreadAffinitizedObject
Suggestions\SuggestedActions\SuggestedAction.cs (1)
33internal abstract partial class SuggestedAction : ForegroundThreadAffinitizedObject, ISuggestedAction3, IEquatable<ISuggestedAction>
Suggestions\SuggestedActionsSource.cs (1)
37private abstract partial class SuggestedActionsSource : ForegroundThreadAffinitizedObject, ISuggestedActionsSource3
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\CommitBufferManager.vb (1)
16Inherits ForegroundThreadAffinitizedObject
Microsoft.VisualStudio.LanguageServices (29)
ChangeSignature\VisualStudioChangeSignatureOptionsService.cs (1)
16internal class VisualStudioChangeSignatureOptionsService : ForegroundThreadAffinitizedObject, IChangeSignatureOptionsService
DesignerAttribute\VisualStudioDesignerAttributeService.cs (1)
34ForegroundThreadAffinitizedObject, IDesignerAttributeDiscoveryService.ICallback, IEventListener<object>, IDisposable
FindReferences\StreamingFindUsagesPresenter.cs (1)
37ForegroundThreadAffinitizedObject, IStreamingFindUsagesPresenter
InheritanceMargin\InheritanceGlyphManager.cs (1)
29internal partial class InheritanceGlyphManager : ForegroundThreadAffinitizedObject, IDisposable
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
27internal class InheritanceMarginViewMargin : ForegroundThreadAffinitizedObject, IWpfTextViewMargin
Interop\CleanableWeakComHandleTable.cs (1)
23internal class CleanableWeakComHandleTable<TKey, TValue> : ForegroundThreadAffinitizedObject
KeybindingReset\KeybindingResetDetector.cs (1)
47internal sealed class KeybindingResetDetector : ForegroundThreadAffinitizedObject, IOleCommandTarget
Library\ClassView\AbstractSyncClassViewCommandHandler.cs (1)
22internal abstract class AbstractSyncClassViewCommandHandler : ForegroundThreadAffinitizedObject,
Preview\AbstractChange.cs (1)
13internal abstract class AbstractChange : ForegroundThreadAffinitizedObject
Preview\PreviewEngine.cs (1)
27internal class PreviewEngine : ForegroundThreadAffinitizedObject, IVsPreviewChangesEngine
Preview\PreviewService.cs (1)
21internal class PreviewDialogService : ForegroundThreadAffinitizedObject, IPreviewDialogService, IWorkspaceServiceFactory
Preview\PreviewUpdater.cs (1)
18internal partial class PreviewUpdater : ForegroundThreadAffinitizedObject
Progression\GraphNavigatorExtension.cs (1)
26internal sealed class GraphNavigatorExtension : ForegroundThreadAffinitizedObject, IGraphNavigateToItem
ProjectSystem\InvisibleEditor.cs (1)
20internal partial class InvisibleEditor : ForegroundThreadAffinitizedObject, IInvisibleEditor
ProjectSystem\Legacy\AbstractLegacyProject.cs (1)
30internal abstract partial class AbstractLegacyProject : ForegroundThreadAffinitizedObject
ProjectSystem\Legacy\SolutionEventsBatchScopeCreator.cs (1)
26internal sealed class SolutionEventsBatchScopeCreator : ForegroundThreadAffinitizedObject
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (1)
37private sealed class Service : ForegroundThreadAffinitizedObject, IFrameworkAssemblyPathResolver
ProjectSystem\VisualStudioProjectManagementService.cs (1)
23internal class VisualStudioProjectManagementService : ForegroundThreadAffinitizedObject, IProjectManagementService
Shared\VisualStudioImageIdService.cs (1)
41internal class VisualStudioImageIdService : ForegroundThreadAffinitizedObject, IImageIdService
Snippets\AbstractSnippetCommandHandler.cs (1)
33ForegroundThreadAffinitizedObject,
Snippets\AbstractSnippetExpansionClient.cs (1)
50internal abstract class AbstractSnippetExpansionClient : ForegroundThreadAffinitizedObject, IVsExpansionClient
SymbolSearch\AbstractDelayStartedService.cs (1)
25internal abstract class AbstractDelayStartedService : ForegroundThreadAffinitizedObject
Utilities\VsCodeWindowViewTracker.cs (1)
29internal sealed class VsCodeWindowViewTracker : ForegroundThreadAffinitizedObject, IDisposable, IVsCodeWindowEvents
Venus\ContainedDocument.cs (1)
42internal sealed partial class ContainedDocument : ForegroundThreadAffinitizedObject, IContainedDocument
Workspace\GlobalUndoServiceFactory.WorkspaceGlobalUndoTransaction.cs (1)
27private class WorkspaceUndoTransaction : ForegroundThreadAffinitizedObject, IWorkspaceGlobalUndoTransaction
Workspace\SourceGeneratedFileManager.cs (1)
211private class OpenSourceGeneratedFile : ForegroundThreadAffinitizedObject, IDisposable
Workspace\VisualStudioActiveDocumentTracker.cs (1)
32internal class VisualStudioActiveDocumentTracker : ForegroundThreadAffinitizedObject, IVsSelectionEvents
Workspace\VisualStudioDocumentNavigationService.cs (1)
38internal sealed class VisualStudioDocumentNavigationService : ForegroundThreadAffinitizedObject, IDocumentNavigationService
Workspace\VisualStudioSymbolNavigationService.cs (1)
33internal partial class VisualStudioSymbolNavigationService : ForegroundThreadAffinitizedObject, ISymbolNavigationService
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\ProjectCodeModelFactory.cs (1)
32internal sealed class ProjectCodeModelFactory : ForegroundThreadAffinitizedObject, IProjectCodeModelFactory
6 instantiations of ForegroundThreadAffinitizedObject
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\CommitBufferManager.vb (1)
46MyBase.New(threadingContext, assertIsForeground:=False)
Microsoft.VisualStudio.LanguageServices (5)
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
72_foregroundThreadAffinitization = new ForegroundThreadAffinitizedObject(threadingContext, assertIsForeground: false);
ProjectSystem\OpenTextBufferProvider.cs (1)
61_foregroundAffinitization = new ForegroundThreadAffinitizedObject(threadingContext, assertIsForeground: false);
ProjectSystem\VisualStudioWorkspaceImpl.cs (1)
125_foregroundObject = new ForegroundThreadAffinitizedObject(_threadingContext);
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (1)
68_foregroundAffinitization = new ForegroundThreadAffinitizedObject(workspace._threadingContext, assertIsForeground: true);
Workspace\SourceGeneratedFileManager.cs (1)
81_foregroundThreadAffinitizedObject = new ForegroundThreadAffinitizedObject(threadingContext, assertIsForeground: false);
7 references to ForegroundThreadAffinitizedObject
Microsoft.VisualStudio.LanguageServices (7)
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
59private readonly ForegroundThreadAffinitizedObject _foregroundThreadAffinitization;
ProjectSystem\OpenTextBufferProvider.cs (1)
40private readonly ForegroundThreadAffinitizedObject _foregroundAffinitization;
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
80/// A <see cref="ForegroundThreadAffinitizedObject"/> to make assertions that stuff is on the right thread. 82private readonly ForegroundThreadAffinitizedObject _foregroundObject;
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (2)
38private readonly ForegroundThreadAffinitizedObject _foregroundAffinitization; 354ForegroundThreadAffinitizedObject.ThisCanBeCalledOnAnyThread();
Workspace\SourceGeneratedFileManager.cs (1)
41private readonly ForegroundThreadAffinitizedObject _foregroundThreadAffinitizedObject;