1 write to NewSolution
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\WorkspaceChangeEventArgs.cs (1)
72
this.
NewSolution
= newSolution ?? throw new ArgumentNullException(nameof(newSolution));
40 references to NewSolution
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Workspaces\WorkspaceTests_EditorFeatures.cs (4)
1439
Assert.Equal(eventArgs[0].
NewSolution
, eventArgs[1].
NewSolution
);
1444
Assert.Equal(updatedText, (await eventArgs[0].
NewSolution
.GetDocument(originalDocumentId).GetTextAsync().ConfigureAwait(false)).ToString());
1445
Assert.Equal(updatedText, (await eventArgs[1].
NewSolution
.GetDocument(originalDocumentId).GetTextAsync().ConfigureAwait(false)).ToString());
Microsoft.CodeAnalysis.EditorFeatures (7)
EditAndContinue\PdbMatchingSourceTextProvider.cs (1)
69
var newDocument = e.
NewSolution
.GetDocument(e.DocumentId);
InlineRename\InlineRenameSession.cs (1)
397
var changedDocuments = args.
NewSolution
.GetChangedDocuments(args.OldSolution);
Remote\SolutionChecksumUpdater.cs (1)
109
var newDocument = e.
NewSolution
.GetRequiredDocument(documentId);
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (3)
38
var newProject = e.
NewSolution
.GetRequiredProject(e.ProjectId);
42
var workspace = e.
NewSolution
.Workspace;
46
var relatedDocumentIds = e.
NewSolution
.GetRelatedDocumentIds(documentId);
SolutionEvents\HostLegacySolutionEventsWorkspaceEventListener.cs (1)
80
var project = e.OldSolution.GetProject(projectId) ?? e.
NewSolution
.GetProject(projectId);
Microsoft.CodeAnalysis.Features (9)
ExternalAccess\UnitTesting\LegacySolutionEvents\UnitTestingLegacySolutionEventsListener.cs (1)
50
var coordinator = GetCoordinator(args.
NewSolution
);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.cs (7)
155
EnqueueFullSolutionEvent(args.
NewSolution
, UnitTestingInvocationReasons.DocumentAdded);
160
EnqueueSolutionChangedEvent(args.OldSolution, args.
NewSolution
);
170
EnqueueFullProjectEvent(args.
NewSolution
, args.ProjectId, UnitTestingInvocationReasons.DocumentAdded);
176
EnqueueProjectChangedEvent(args.OldSolution, args.
NewSolution
, args.ProjectId);
186
EnqueueFullDocumentEvent(args.
NewSolution
, args.DocumentId, UnitTestingInvocationReasons.DocumentAdded);
192
EnqueueDocumentChangedEvent(args.OldSolution, args.
NewSolution
, args.DocumentId);
210
EnqueueFullProjectEvent(args.
NewSolution
, args.ProjectId, UnitTestingInvocationReasons.AdditionalDocumentChanged);
LegacySolutionEvents\IRemoteLegacySolutionEventsAggregationService.cs (1)
20
/// <param name="newSolutionChecksum"><inheritdoc cref="WorkspaceChangeEventArgs.
NewSolution
"/></param>
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\AbstractRefreshQueue.cs (1)
83
var document = e.
NewSolution
.GetRequiredDocument(e.DocumentId);
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (3)
74
var document = e.
NewSolution
.GetRequiredDocument(e.DocumentId);
79
var document = e.
NewSolution
.GetRequiredAdditionalDocument(e.DocumentId);
87
var newDocument = e.
NewSolution
.GetRequiredDocument(e.DocumentId);
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (2)
84
var newProject = e.
NewSolution
.GetProject(projectId);
95
e.
NewSolution
.GetSourceGeneratorExecutionVersion(projectId))
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Workspace\WorkspaceChangeEventArgs.cs (3)
15
/// <see cref="
NewSolution
"/>. This is so that we can trigger document change events on all
25
/// and <see cref="
NewSolution
"/>. Note that the workspace starts with its solution set to an empty solution.
33
/// and <see cref="
NewSolution
"/>. Note <see cref="WorkspaceChangeKind.SolutionRemoved"/> replaces the previous
Microsoft.VisualStudio.LanguageServices (3)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
90
var newDocument = e.
NewSolution
.GetDocument(e.DocumentId);
Workspace\SourceGeneratedFileManager.cs (2)
434
e.
NewSolution
.GetSourceGeneratorExecutionVersion(projectId))
441
var newProject = e.
NewSolution
.GetProject(projectId);
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs (1)
78
var solution = e.
NewSolution
;