Tim Cassell

Results 245 comments of Tim Cassell

@AndreyAkinshin Before 1.0, I was thinking some of the public types that are only public for the generated projects to consume could be made internal, and add `[InternalsVisibleTo]` so the...

If #226 gets merged, ProtoPromise comes with `CancelationToken` that can have aborts registered to it.

@mikkelbu Interestingly, I got the opposite effect with the nunit3-console. Though I could only run the net472 tests with it, not net5.0. ``` nunit3-console ProtoPromiseTests.dll --where "namespace == ProtoPromiseTests.APIs" SequenceTests...

Considering this spec > Removing the static modifier from a lambda in a valid program does not change the meaning of the program.` I would find it useful to be...

> Being able to pass static lambdas to function pointers would be nice, but I must warn you, older Unity versions don't always handle `calli` properly, especially with IL2CPP. That's...

Wouldn't this only be correct on immutable objects? The current `MemberNotNullWhen` doesn't have to worry about mutability, because both values are "returned" at the same time. Is that a concern...

Hm, looks like [EnricoMi/publish-unit-test-result-action](https://github.com/EnricoMi/publish-unit-test-result-action) added NUnit XML support back in June. I'll have to try it out. It may be worth integrating that. [Edit] Looks like it only works on...

> what alternatives are there to be considered? @alex3683 You could check out my library as an alternative. https://github.com/timcassell/ProtoPromise I implemented all the async synchronization primitives (not the collections).

I looked into it, and saw that even your own solution fails this simple test. ([Credit](https://itnext.io/reentrant-recursive-async-lock-is-impossible-in-c-e9593f4aa38a)) ```cs AsyncLock _asyncLock = new AsyncLock(allowReentry: true); int CurrentThreadId => Thread.CurrentThread.ManagedThreadId; async Task MainAsync()...