Skip to content

[main] Update dependencies from dotnet/roslyn#8236

Merged
JaynieBai merged 2 commits intomainfrom
darc-main-9d164fc6-edbb-420c-b39b-c1cb5c595170
Dec 19, 2022
Merged

[main] Update dependencies from dotnet/roslyn#8236
JaynieBai merged 2 commits intomainfrom
darc-main-9d164fc6-edbb-420c-b39b-c1cb5c595170

Conversation

@dotnet-maestro
Copy link
Contributor

This pull request updates the following dependencies

From https://github.com/dotnet/roslyn

  • Subscription: 848bf81b-14ec-482f-6736-08da008bd46a
  • Build: 20221208.26
  • Date Produced: December 9, 2022 6:18:47 AM UTC
  • Commit: 716366a3830293571eaaad9b1b2b3929b5216f42
  • Branch: refs/heads/release/dev17.5-vs-deps

@rainersigwald
Copy link
Member

@ladipro do you by chance see an easy way out of this?

@rainersigwald
Copy link
Member

I just pushed a36e36bfaa, but I'm not 100% sure it's right and would appreciate @ladipro or @rokonec's opinion before merging.

@ladipro
Copy link
Member

ladipro commented Dec 16, 2022

@rainersigwald looks good, I was just going to reply with a similar fix. Thank you!

dotnet-maestro bot and others added 2 commits December 16, 2022 13:21
…208.26

Microsoft.Net.Compilers.Toolset
 From Version 4.4.0-2.22458.3 -> To Version 4.5.0-2.22608.26
This triggered some C# compiler errors with newer versions of the
compiler:

```
S:\msbuild\src\StringTools\InternableString.Simple.cs(130,39): error CS8170: Struct members cannot return 'this' or other instance members by reference [S:\msbuild\src\StringTools\StringTools.csproj::TargetFramework=net35]
S:\msbuild\src\StringTools\InternableString.Simple.cs(130,20): error CS8347: Cannot use a result of 'InternableString.Enumerator.Enumerator(ref InternableString)' in this context because it may expose variables referenced by parameter 'spanBuilder' outside of their declaration scope [S:\msbuild\src\StringTools\StringTools.csproj::TargetFramework=net35]
```

Since this implementation is purely for the MSBuildTaskHost net35
compatibility case and self-describes as "inefficient", I think it's ok
to make it a regular non-ref struct.
@rainersigwald rainersigwald force-pushed the darc-main-9d164fc6-edbb-420c-b39b-c1cb5c595170 branch from a36e36b to 5cc5011 Compare December 16, 2022 19:21
@rainersigwald rainersigwald added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Dec 16, 2022
@JaynieBai JaynieBai merged commit ffdbe69 into main Dec 19, 2022
@JaynieBai JaynieBai deleted the darc-main-9d164fc6-edbb-420c-b39b-c1cb5c595170 branch December 19, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants