Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Use ValueTask shared from corelib#26636

Merged
stephentoub merged 1 commit into
dotnet:masterfrom
stephentoub:valuetaskruntime
Feb 1, 2018
Merged

Use ValueTask shared from corelib#26636
stephentoub merged 1 commit into
dotnet:masterfrom
stephentoub:valuetaskruntime

Conversation

@stephentoub
Copy link
Copy Markdown
Member

@stephentoub stephentoub commented Jan 29, 2018

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Jan 29, 2018

src\Common\src\CoreLib\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs(86,9): error CS8137: Cannot define a class or member that utilizes tuples because the compiler required type 'System.Runtime.CompilerServices.TupleElementNamesAttribute' cannot be found. Are you missing a reference? 

@stephentoub
Copy link
Copy Markdown
Member Author

Depends on dotnet/coreclr#16098 being merged and mirrored to corefx.

@stephentoub stephentoub changed the title Use shared corelib files for ValueTask's System\Runtime\CompilerServices classes Use ValueTask shared from corelib Jan 30, 2018

namespace System
{
internal static class ThrowHelper
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.

I do not think that the ThrowHelper should be common. It should be always local to the project to avoid bloating every assembly with every other assembly exception messages.

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.

Ok

@stephentoub stephentoub force-pushed the valuetaskruntime branch 3 times, most recently from f9cad42 to 3b67051 Compare February 1, 2018 19:12
@stephentoub stephentoub merged commit 7b6abc2 into dotnet:master Feb 1, 2018
dotnet-bot pushed a commit to dotnet/coreclr that referenced this pull request Feb 1, 2018
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
@stephentoub stephentoub deleted the valuetaskruntime branch February 1, 2018 22:22
jkotas pushed a commit to dotnet/coreclr that referenced this pull request Feb 1, 2018
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
dotnet-bot pushed a commit to dotnet/corert that referenced this pull request Feb 2, 2018
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
jkotas pushed a commit to dotnet/corert that referenced this pull request Feb 2, 2018
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@karelz karelz added this to the 2.1.0 milestone Feb 4, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants