1 write to OldSolution
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceChangeEventArgs.cs (1)
71this.OldSolution = oldSolution ?? throw new ArgumentNullException(nameof(oldSolution));
24 references to OldSolution
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Workspaces\WorkspaceTests_EditorFeatures.cs (4)
1427Assert.Equal(eventArgs[0].OldSolution, eventArgs[1].OldSolution); 1430Assert.Equal(originalText, (await eventArgs[0].OldSolution.GetDocument(originalDocumentId).GetTextAsync().ConfigureAwait(false)).ToString()); 1431Assert.Equal(originalText, (await eventArgs[1].OldSolution.GetDocument(originalDocumentId).GetTextAsync().ConfigureAwait(false)).ToString());
Microsoft.CodeAnalysis.EditorFeatures (5)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
295var oldProject = args.OldSolution.GetProject(args.ProjectId);
EditAndContinue\PdbMatchingSourceTextProvider.cs (1)
61var oldDocument = e.OldSolution.GetDocument(e.DocumentId);
Remote\SolutionChecksumUpdater.cs (1)
148var oldDocument = e.OldSolution.GetDocument(e.DocumentId);
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (1)
27var oldProject = e.OldSolution.GetRequiredProject(e.ProjectId);
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (1)
74var project = e.OldSolution.GetProject(projectId) ?? e.NewSolution.GetProject(projectId);
Microsoft.CodeAnalysis.Features (6)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (5)
144EnqueueSolutionChangedEvent(args.OldSolution, args.NewSolution, eventName); 160EnqueueProjectChangedEvent(args.OldSolution, args.NewSolution, args.ProjectId, eventName); 165EnqueueFullProjectEvent(args.OldSolution, args.ProjectId, UnitTestingInvocationReasons.DocumentRemoved, eventName); 176EnqueueDocumentChangedEvent(args.OldSolution, args.NewSolution, args.DocumentId, eventName); 181EnqueueFullDocumentEvent(args.OldSolution, args.DocumentId, UnitTestingInvocationReasons.DocumentRemoved, eventName);
LegacySolutionEvents\IRemoteLegacySolutionEventsAggregationService.cs (1)
19/// <param name="oldSolutionChecksum"><inheritdoc cref="WorkspaceChangeEventArgs.OldSolution"/></param>
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (1)
89var oldDocument = e.OldSolution.GetDocument(e.DocumentId);
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (2)
84if (e.OldSolution.GetSourceGeneratorExecutionVersion(projectId) != 91var oldProject = e.OldSolution.GetProject(projectId);
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\WorkspaceChangeEventArgs.cs (3)
14/// these events contain the same <see cref="OldSolution"/>, and they all contain the same 24/// If linked documents are being changed, there may be multiple events with the same <see cref="OldSolution"/> 32/// If linked documents are being changed, there may be multiple events with the same <see cref="OldSolution"/>
Microsoft.VisualStudio.LanguageServices (3)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
85var oldDocument = e.OldSolution.GetDocument(e.DocumentId);
Workspace\SourceGeneratedFileManager.cs (2)
430if (e.OldSolution.GetSourceGeneratorExecutionVersion(projectId) != 437var oldProject = e.OldSolution.GetProject(projectId);