Jonas Nyrup

Results 305 comments of Jonas Nyrup

Hej Peter og Rasmus Så har jeg fået afklaring og jeg vil gerne hjælpe til med vedligeholdelsen af C5.

@dlidstrom opret venligst et separat GH issue til dette, det gør det meget lettere at holde styr på.

We had a similar problem in a WPF app, where the previewer wouldn't launch unless it was started a a special thread. Off the top of my head I can't...

Closing due to inactivity. If re-opening please include a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example).

While option 2 has increased nesting, it very explicitly ensures that the state of `WithExpecation` shouldn't leak as it ends with the lifetime of the inner scope 👍 Could this...

> When will this be released? With v7 - we don't have an ETA

Given [BinaryFormatter Obsoletion Strategy](https://github.com/dotnet/designs/blob/main/accepted/2020/better-obsoletion/binaryformatter-obsoletion.md) it doesn't seem that using `BinaryFormatter` would be a good path forward.

Some observations: All FluentAssertions extensions currently use a sub namespace, e.g. `FluentAssertions.Json`, `FluentAssertions.Mvc`, etc. Currently without `using FluentAssertions.Json` ```c# ((JToken)null).Should(); // GenericCollectionAssertions ((JValue)null).Should(); // Ambiguous between `ObjectAssertions`, `GenericCollectionAssertions` and `ComparableTypeAssertions`...

@dennisdoomen No, that sentence didn't make an sense. I don't think moving this extension from `FluentAssertions.Json` to `FluentAssertions` would cause major problems, as none of the three types extended on...

You can extend the equivalency comparisons with the `BeEquivalentTo` from FluentAssertions.Json to add the special handling of `JToken`. Here are two examples depending on whether you want to to it...