-
Notifications
You must be signed in to change notification settings - Fork 496
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
Modernize for .NET 6.0 LTS #1049
Conversation
we still need to keep the netstandard2.0 build tested
After this is merged I'll do a separate PR that deals with Trimming. |
|
||
Assert.NotEqual( -1, continuationThreadID ); | ||
Assert.NotEqual( completionThreadID, continuationThreadID ); | ||
} | ||
|
||
static void WaitForTaskWithoutRunningInline( Task task ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add [MethodImpl(MethodImplOptions.NoInlining)]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't about compiler inlining but about whether the runtime runs the task "inline" in the wait function - reaching TaskScheduler.TryRunInline
Essentially #1002 but properly.