Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution asset cache refactoring #46948

Merged
merged 5 commits into from
Aug 27, 2020
Merged

Solution asset cache refactoring #46948

merged 5 commits into from
Aug 27, 2020

Conversation

tmat
Copy link
Member

@tmat tmat commented Aug 19, 2020

Refactor AssetStorage on the server side.

  • Renames AssetStorage to SolutionAssetCache.
  • Remove IAssetSource from SolutionAssetCache as it it snot used by the type itself.
  • Move the default instance from ServiceBase to RemoteWorkspaceManager.

@tmat tmat requested a review from a team as a code owner August 19, 2020 01:25
@tmat tmat marked this pull request as draft August 19, 2020 01:25
@tmat tmat force-pushed the SolutionAssetCache branch from b7f42d1 to 092e5c1 Compare August 24, 2020 18:10
/// <summary>
/// Create solution for given checksum from base solution
/// </summary>
private readonly struct SolutionCreator
Copy link
Member Author

@tmat tmat Aug 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private readonly struct SolutionCreator [](start = 8, length = 39)

Moved to a nested struct.

@tmat tmat marked this pull request as ready for review August 25, 2020 00:28
@tmat tmat force-pushed the SolutionAssetCache branch from 092e5c1 to d928709 Compare August 26, 2020 19:18
@tmat tmat force-pushed the SolutionAssetCache branch from d928709 to c5715b6 Compare August 26, 2020 21:05
@tmat tmat merged commit 59b6a03 into dotnet:master Aug 27, 2020
@ghost ghost added this to the Next milestone Aug 27, 2020
@tmat tmat deleted the SolutionAssetCache branch August 27, 2020 03:20
333fred added a commit to 333fred/roslyn that referenced this pull request Aug 27, 2020
…-only-errors

* upstream/master: (236 commits)
  Fix bug when "End statement" is used in single-line if (dotnet#47062)
  Solution asset cache refactoring (dotnet#46948)
  add specific tests to validate behavior between keys and snapshots
  Extract into separate files
  rename parameters
  rename parameters
  rename parameters
  rename parameters
  Add CancellationToken parameters to SyntaxTreeOptionsProvider
  Reuse nullable override checks for delegate conversions (dotnet#46953)
  Introduce warning for multiple entry points (sync + async) (dotnet#46832)
  Switch from throwing NotImplementedException and return E_NOTIMPL
  Delete Building for Core CLR.md (dotnet#47146)
  Adjust PrintMembers to avoid boxing and avoid extra space (dotnet#47095)
  Track asynchronous operation in InProcLanguageServer
  Use Task.FromCanceled where appropriate
  Apply suggestions from code review
  Address feedback
  Expose ParseOptions on generator context (dotnet#46919)
  Remove redundant statement in added tests
  ...
@allisonchou allisonchou modified the milestones: Next, 16.8.P3 Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants