Stuart Lang

Results 145 comments of Stuart Lang

In fairness, the general good guidance of not calling `.Wait` may not apply here if the code is being called by the entrypoint thread. You can't yield the entrypoint thread...

Agreed with @kapsiR and @WiredUK, that is absolutely the best answer to this question and should be repeated in this guidance, as it has the TL;DR plus the full nuanced...

Agreed, the guidance here is a better general reference for people, default to the style that will be less surprising. It even mentions the caveat that for high-performance scenarios it...

Great content in this repo. On the topic of vs-threading, is it worth showing an example of `JoinableTaskFactory`, I know the point being conveyed is that blocking is bad, but...

It's correctly detecting this lock block here: https://github.com/aspnet/EntityFrameworkCore/blob/49f17933f895da27e229bb40334d7875f78ab8f7/src/EFCore/Query/Internal/MethodInfoBasedNodeTypeRegistryFactory.cs#L70 I couldn't say if this would lead to what you are seeing, it looks like fine grained locking so I would be...

I understand that the latest previews for .NET 6 require an opt-in in the project file (certainly for preview 7), so you would need to add: ```xml enable ``` that...

I've ran the test locally here, and it fails due to a weird error, which is the same error I see on all my projects (whatever TFM): > Could not...

Potential fix: https://github.com/daveaglick/Buildalyzer/pull/187

A shameless nerd-snipe, but I wonder if @nohwnd can help us with understanding how the navigation with Test Explorer works or can point us in the direction of someone who...

Fwiw I think that Buildalyzer is a heavy handed approach for this problem, and I say that as a user (and big fan!) of Buildalyzer. A lighter touch approach would...