Skip to content

[SourceLink] Metadata As Source service should use solution snapshot instead of Workspace.CurrentSolution #57353

@davidwengier

Description

@davidwengier

There are many potential race conditions in this method (previosuly existing as well) caused by accessing workspace.CurrentSolution. The workspace is mutable and the current solution may change arbitrarily while this method is executing.

Originally posted by @tmat in #57073 (comment)


Applies to both providers.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions