2 instantiations of WorkspaceChangeEventArgs
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\LegacySolutionEvents\RemoteLegacySolutionEventsAggregationService.cs (1)
53new WorkspaceChangeEventArgs(kind, oldSolution, newSolution, projectId, documentId), cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Workspace_Events.cs (1)
69var args = new WorkspaceChangeEventArgs(kind, oldSolution, newSolution, projectId, documentId);
47 references to WorkspaceChangeEventArgs
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1410var eventArgs = new List<WorkspaceChangeEventArgs>();
Microsoft.CodeAnalysis.EditorFeatures (10)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
280private void OnWorkspaceChanged(object? sender, WorkspaceChangeEventArgs args)
EditAndContinue\PdbMatchingSourceTextProvider.cs (1)
48private void WorkspaceChanged(object? sender, WorkspaceChangeEventArgs e)
EditorConfigSettings\Aggregator\SettingsAggregator.cs (1)
50private void UpdateProviders(object? sender, WorkspaceChangeEventArgs e)
Remote\SolutionChecksumUpdater.cs (1)
144private void OnWorkspaceChanged(object? sender, WorkspaceChangeEventArgs e)
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (1)
22private void OnWorkspaceChanged(object? sender, WorkspaceChangeEventArgs e)
Shared\Tagging\EventSources\TaggerEventSources.WorkspaceChangedEventSource.cs (1)
48private void OnWorkspaceChanged(object? sender, WorkspaceChangeEventArgs eventArgs)
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (4)
32private readonly AsyncBatchingWorkQueue<WorkspaceChangeEventArgs> _eventQueue; 43_eventQueue = new AsyncBatchingWorkQueue<WorkspaceChangeEventArgs>( 64private void OnWorkspaceChanged(object? sender, WorkspaceChangeEventArgs e) 82private async ValueTask ProcessWorkspaceChangeEventsAsync(ImmutableSegmentedList<WorkspaceChangeEventArgs> events, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Features (13)
Diagnostics\CodeAnalysisDiagnosticAnalyzerService.cs (1)
64private void OnWorkspaceChanged(object? sender, WorkspaceChangeEventArgs e)
ExternalAccess\UnitTesting\LegacySolutionEvents\UnitTestingLegacySolutionEventsListener.cs (1)
48public ValueTask OnWorkspaceChangedAsync(WorkspaceChangeEventArgs args, CancellationToken cancellationToken)
ExternalAccess\UnitTesting\SolutionCrawler\IUnitTestingWorkCoordinator.cs (1)
9void OnWorkspaceChanged(WorkspaceChangeEventArgs args);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (2)
96public void OnWorkspaceChanged(WorkspaceChangeEventArgs args) 131private void ProcessEvent(WorkspaceChangeEventArgs args, string eventName)
LegacySolutionEvents\ILegacySolutionEventsAggregationService.cs (2)
25ValueTask OnWorkspaceChangedAsync(WorkspaceChangeEventArgs args, CancellationToken cancellationToken); 47public async ValueTask OnWorkspaceChangedAsync(WorkspaceChangeEventArgs args, CancellationToken cancellationToken)
LegacySolutionEvents\ILegacySolutionEventsListener.cs (1)
19ValueTask OnWorkspaceChangedAsync(WorkspaceChangeEventArgs args, CancellationToken cancellationToken);
LegacySolutionEvents\IRemoteLegacySolutionEventsAggregationService.cs (5)
19/// <param name="oldSolutionChecksum"><inheritdoc cref="WorkspaceChangeEventArgs.OldSolution"/></param> 20/// <param name="newSolutionChecksum"><inheritdoc cref="WorkspaceChangeEventArgs.NewSolution"/></param> 21/// <param name="kind"><inheritdoc cref="WorkspaceChangeEventArgs.Kind"/></param> 22/// <param name="projectId"><inheritdoc cref="WorkspaceChangeEventArgs.ProjectId"/></param> 23/// <param name="documentId"><inheritdoc cref="WorkspaceChangeEventArgs.DocumentId"/></param>
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\AbstractRefreshQueue.cs (1)
78protected virtual void OnLspSolutionChanged(object? sender, WorkspaceChangeEventArgs e)
Handler\Diagnostics\AbstractWorkspacePullDiagnosticsHandler.cs (1)
72private void OnLspSolutionChanged(object? sender, WorkspaceChangeEventArgs e)
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (1)
63protected override void OnLspSolutionChanged(object? sender, WorkspaceChangeEventArgs e)
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (2)
65private void OnLspSolutionChanged(object? sender, WorkspaceChangeEventArgs e) 73private async Task OnLspSolutionChangedAsync(WorkspaceChangeEventArgs e)
Workspaces\LspWorkspaceRegistrationService.cs (2)
59private void OnLspWorkspaceChanged(object? sender, WorkspaceChangeEventArgs e) 82public EventHandler<WorkspaceChangeEventArgs>? LspSolutionChanged;
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Workspace_Events.cs (3)
32public event EventHandler<WorkspaceChangeEventArgs> WorkspaceChanged 62var ev = GetEventHandlers<WorkspaceChangeEventArgs>(WorkspaceChangeEventName); 69var args = new WorkspaceChangeEventArgs(kind, oldSolution, newSolution, projectId, documentId);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
WorkspaceExtensions.cs (2)
57internal static EventWaiter VerifyWorkspaceChangedEvent(this Workspace workspace, Action<WorkspaceChangeEventArgs> action) 60workspace.WorkspaceChanged += wew.Wrap<WorkspaceChangeEventArgs>((sender, args) => action(args));
Microsoft.VisualStudio.LanguageServices (7)
DesignerAttribute\VisualStudioDesignerAttributeService.cs (1)
103private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
Implementation\VirtualMemoryNotificationListener.cs (1)
173private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
78private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
Packaging\PackageInstallerServiceFactory.cs (1)
423private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
StackTraceExplorer\StackTraceExplorerViewModel.cs (1)
108private void Workspace_WorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
ValueTracking\ValueTrackingToolWindow.cs (1)
72private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
Workspace\SourceGeneratedFileManager.cs (1)
424private void OnWorkspaceChanged(object sender, WorkspaceChangeEventArgs e)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (4)
ProjectSystemShim\Framework\WorkspaceChangeWatcher.vb (4)
15Private _changeEvents As New List(Of WorkspaceChangeEventArgs) 26Private Sub OnWorkspaceChanged(sender As Object, e As WorkspaceChangeEventArgs) 30Friend Async Function GetNewChangeEventsAsync() As Task(Of IEnumerable(Of WorkspaceChangeEventArgs)) 35_changeEvents = New List(Of WorkspaceChangeEventArgs)()