-
How about adding special equality comparers for `float` and `double` types, which allow you to specify the allowed tolerance for difference?
As far as I know there are none in .NET or this library.
ljani updated
4 years ago
-
Both interfaces are used throughout C# to provide objects with equality checks.
Adding these will mean we can introduce comparers and equality comparers into the framework.
-
I suggest the following changes.
1. Introduce three different path comparator kinds.
- [x] Textual only. This one should operate on strict string equality, and named accordingly (something like `…
-
When comparing `ITypeSymbol` with a custom symbol equality comparer in IEnumerable.ToDictionary call fires a warning.
### Steps to repro
```
class EqualityComparer : IEqualityComparer
{
pub…
-
I use `Expect.floatClose` in my tests, but often need to compare records such as
```fsharp
type TextData = {
TextString: string
Position: Vector
Rotation: float
Size: float
}
```
whe…
-
When ServiceBus is used as transport and pub/sub is used the ```bundle-1``` topic subscriptions are created with a SQL filter like this:
```
[NServiceBus.EnclosedMessageTypes] LIKE '%(full …
-
Because I am not sure that the following is something we want (Push with RobotAdapter, which uses comparers):
![image](https://user-images.githubusercontent.com/6352844/59114900-108b7d00-8940-11e9-…
-
### Source/destination types
We have database entities for Entity Framework that are being serialized. This code worked fine with .NET 7, but now that we are upgrading to .NET 8, it is apparently …
-
It would be really nice if we could have a method in both the ComparerBuilder and EqualityComparerBuilder classes to allow a member to be compared using delegates for both the equality comparison and …
-
## Proposal
.NET Core provides APIs to compare strings for ordinal case-insensitive equality (such as via `StringComparer.OrdinalIgnoreCase`). The current implementation of this API is to call `ToU…