Jason Bock

Results 96 comments of Jason Bock

Note: I would put XML docs on `Verify()` that people should stop calling it, and move to handling the expectations objects as a disposable one. Eventually, I'd obsolete it, but...

One idea is that `Dispose()` would only be concerned about any potential clean-up, like for SAMIs. It would **not** do the `Verify()` call for you, unless you haven't done it...

From what I've heard AppVeyor is easy to set up, other things just ended up taking higher priority. I'll take a look at your links.

I realize there's a PR for this, but at this point, it may be somewhat stale. It may be better to start with a clean slate when I work on...

Still looking for help on this in 2024. I know I should just get it done, but.... :|

Related issue: the generated delegates used the hash code of the method's signature to differentiate methods that have the same name but different signatures. This changes every time a test...

One thing that **may** be coming in the future is the ability to pass ref structs to generics. Details can be found [here](https://github.com/dotnet/csharplang/issues/7608). It's unclear if it'll show up in...

Did some experimental work, seems like I can create some core types for `Span` and `ReadOnlySpan`. [Here](https://sharplab.io/#v2:EYLgtghglgdgNAExAagD4AEBMBGAsAKHQAYACdbAOgGEB7MABxpgFMYAXAWRoWYBsBuAgXQBmEqwCuYEgDUIvKAghsoTAMptlzAgG8CASAByTZnBIGAogDd5E5avjn8+ubwmmn+gCLMAZhAleNld3AgBfIXwAbTVmACcoeSgALwhgXmYAXWExNIBnNjiIAGM2MkwSAEE4gHMpVjZdA3o4mjZmUuYEKtr69gAKAEoSHRII/HGCGPjEhVT0rJySPOZ5LvKeurAGgB4AFQA+AxBNvsb8PWcWqBt2kjjVhCZeAE8SAAUHhChirX2DgD84hsbnsTEEVwSt2Y90ezzeeyBIPcEP012hsIgTxgr1kSSUKnUmjuIMUYJgEIMsHacRg8lO2wGwwAvAcSGwABZQPIUUkEhwkZl4hT8olaCjGFiU5zU+J03gMhr9VxkwkwDRaZbE5gstmc7m8/HkwVarTS/Sy2n06pbJV7EjInWCo7OfT9fU8x1mD2GkXklkkfpe4Wqhwa9oUEI682W+WKgafLo/P6HYG2f3Ogxun3MZHk71cz1GtUB/q59Nqswq0Xq7UUawVhyDc2iMjYABsJCgDAUxSgZRo9HiyhocXjbH+/Xtjt1JBYAHcg7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ewdr7fSAcg4hzDpQCiVEaKjhjsxOONkE5OXRgKVOL505qKulnCYQA) is the sharplab.io link. The types are this: ```c# public delegate Span SpanReturnValue();...

FWIW it looks like `allows ref struct` is going to be in C# 13 (https://devblogs.microsoft.com/dotnet/csharp-13-explore-preview-features/?utm_source=dlvr.it&utm_medium=mastodon#allows-ref-struct), so I **should** be able to create "generic" versions of `Argument` and friends that can...

Actually....what I just realized is that all I need to do is add `where T : allows ref struct` to the existing `Argument` and **everything** will work. Even `Predicate` has...