Skip to content

Interpolated string handler IOperation support#56276

Merged
333fred merged 10 commits intodotnet:mainfrom
333fred:interpolated-iop
Oct 29, 2021
Merged

Interpolated string handler IOperation support#56276
333fred merged 10 commits intodotnet:mainfrom
333fred:interpolated-iop

Conversation

@333fred
Copy link
Copy Markdown
Member

@333fred 333fred commented Sep 9, 2021

Support for interpolated strings in IOperation. Implements part 1 of #54718. CFG will come in a follow-up to keep the review size manageable.

@ghost ghost added the Area-Analyzers label Sep 9, 2021
@333fred 333fred marked this pull request as ready for review October 21, 2021 23:23
@333fred 333fred requested a review from a team as a code owner October 21, 2021 23:23
@333fred
Copy link
Copy Markdown
Member Author

333fred commented Oct 21, 2021

@AlekseyTs @dotnet/roslyn-compiler this is now ready for review. I'll do CFG support in a follow-up.

* upstream/main: (209 commits)
  Skip BasicGenerateConstructorDialog.VerifyDeselect
  fix comment
  Retry SetForegroundWindow with DTE.MainWindow
  Skip BasicGenerateConstructorDialog.VerifyReordering
  removed integration test
  fix test
  integration test for analyzer impacted by changes to assembly loading
  Add MS.CA.CSharp.Workspaces and MS.CA.VB.Workspaces as VSIX analyzer assets
  Keep around references
  For correctness builds run on a VS2022 image.
  feedback
  Add solution sync time telemetry (dotnet#57269)
  Also update the dotnet version.
  Update Building, Debugging, and Testing on Windows.md
  Update Building, Debugging, and Testing on Unix.md
  Bump global.json pinned SDK version to NET 6 RC2
  remove unused usings
  DOc comment
  Update src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.GeneratedFileReplacingCompilationTracker.cs
  Make non-partial
  ...
@333fred 333fred marked this pull request as draft October 22, 2021 18:15
@333fred
Copy link
Copy Markdown
Member Author

333fred commented Oct 22, 2021

Converting this back to draft while I investigate the bootstrap failure.

@333fred 333fred marked this pull request as ready for review October 26, 2021 21:21
@333fred
Copy link
Copy Markdown
Member Author

333fred commented Oct 26, 2021

@AlekseyTs @dotnet/roslyn-compiler I've fixed up the CFG issues that were blocking boostrap and this is ready for review. I've specifically kept the CFG implementation minimal: real support will be a followup.

@AlekseyTs
Copy link
Copy Markdown
Contributor

Done with review pass (commit 9).

Copy link
Copy Markdown
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (commit 10), assuming CI is passing.

@333fred
Copy link
Copy Markdown
Member Author

333fred commented Oct 28, 2021

@dotnet/roslyn-compiler for a second review.

@chsienki chsienki self-assigned this Oct 29, 2021
@333fred 333fred merged commit 5256b88 into dotnet:main Oct 29, 2021
@ghost ghost added this to the Next milestone Oct 29, 2021
@333fred 333fred deleted the interpolated-iop branch October 29, 2021 17:30
Comment on lines +9 to +10
public const string AppendFormattedMethod = "AppendFormatted";
public const string AppendLiteralMethod = "AppendLiteral";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could be useful as public API in WellKnownMemberNames?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

If we get a request for it, we could potentially add it.

@allisonchou allisonchou modified the milestones: Next, 17.1.P2 Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants