Jonas Nyrup
Jonas Nyrup
### Description When chaining into an assertion using `Which` the failure message can be confusing, when the inner assertion fails, as the determined caller identity is from the outer assertion....
When comparing two object graphs using `BeEquivalentTo` the equivalency of identically named and typed properties can be overridden using the `Using`+`WhenTypeIs` combo. ```c# var subject = new { Date =...
When linking dll's using `PreserveNewest` like this ```xml SqlServerTypes\x64\msvcr100.dll PreserveNewest ``` I get build errors: ``` The item "App.config" in item list "ScFilesToTransform" does not define a value for metadata...
The `ToString` in `HoffmanPavleyRankedShortestPathAlgorithm` is implemented as ``` public override string ToString() { return String.Format("{0} at {1} {2}", this.Weight, this.DeviationEdge); } ``` This will obviously throw an exception as the...
* Instead of calling `ToLower[Invariant]` on a string, we can use a `StringComparison` overload of `Equals` or `Compare`. * Instead of calling `Substring` on a string, we can use `String.Compare[Ordinal]`...
Places where a `CancellationToken` is available but not passed on to functions that takes an optional `CancellationToken`. Some were found by making optional `CancellationToken`s mandatory, others by regex'ing the source...
**Product and Version Used**: v4.1.0 **Steps to Reproduce**: C# 10 introduced [Improved Interpolated Strings](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/improved-interpolated-strings) and .NET 6 added an overload `StringBuilder.Append(ref AppendInterpolatedStringHandler)` which lets you write ```cs new StringBuilder().Append($"13{37}"); ```...
To complement [CS4014](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs4014) that detects `async` calls not `await`'ed, it could be nice to have an analyzer to detect implicit conversions from async delegates to sync ones. ```csharp async Task...
Take this snippet of code. ``` public static bool SequenceEqual( this IEnumerable first, IEnumerable second, IEqualityComparer comparer = null) { if (first is ICollection firstCollection && second is ICollection secondCollection...
First a big thanks. We recently added https://coveralls.io/github/fluentassertions/fluentassertions which has greatly helped us ensuring contributions are not lacking coverage. Looking in the list view `GenericCollectionAssertions.cs` is missing coverage on 25...