Skip to content

Conversation

@captainsafia
Copy link
Member

Fixes #35990.

Validated manually with the following code snippet:

void Foo(Product? p) { }
var d = Foo;
Parallel.For(0, 100, _ =>
{
    var d1 = RequestDelegateFactory.Create(d);
});
record Product(int Id, string? Title);

@captainsafia captainsafia force-pushed the safia/fix-static-ncontext branch from c638d47 to 12b1093 Compare September 2, 2021 22:28
@captainsafia captainsafia marked this pull request as ready for review September 3, 2021 00:50
@captainsafia
Copy link
Member Author

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2021

@captainsafia captainsafia merged commit 0fc6aa5 into main Sep 3, 2021
@captainsafia captainsafia deleted the safia/fix-static-ncontext branch September 3, 2021 17:00
@ghost ghost added this to the 7.0-preview1 milestone Sep 3, 2021
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.

Exception when running tests for an app that uses Minimal APIs

6 participants