-
> Comparator
> Interface IComparer from C# is not translated correctly. The generated Java class looks as follows:
> public class PostProfileComparer extends IComparer
> {
> public int Compare…
-
Ported from http://roslyn.codeplex.com/workitem/483 by @slaks
Source:
``` C#
class X : IComparer {
int IComparer.Compare(object x, object y) => 0;
}
class Y : X, IComparer {
public int Compa…
-
### Describe the bug 🐞
If we use SortAndBind with an IObservable we have to use ObserveOn(RxApp.MainThreadScheduler) for the compare observable, otherwise the application will freeze. For the depre…
-
@dbjorge commented on [Tue Dec 06 2016](https://github.com/dotnet/corefx/issues/14244)
The documentation for `IComparer` ([@docs.microsoft.com](https://docs.microsoft.com/en-us/dotnet/core/api/system…
-
### Environment
- Git Extensions 4.1.0.16698
- Build 1fe52a137acef1fbd2b653dea263b44ad5844177
- Git 2.37.1.windows.1 (recommended: 2.40.1 or later)
- Microsoft Windows NT 10.0.19045.0
- .NET 6.0.…
-
This proposal is inspired by FI from Java but it's not just a copy. It's aimed to solve some problems with delegates and has different implementation.
## Motivation
We have several ways to pass exec…
sakno updated
3 weeks 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.
-
Consider these three variations:
```C#
public static bool M1(int i, int j) => i i Comparer.Default.Compare(i, j)
-
When generating the `CompareTo(object, IComparer)` for a record type, there is no type-safety for casting. Instead, the `CompareTo(object, IComparer)` simply does a direct-cast to the record type. Thi…
-
### Describe the bug
When a ComboBox is bound to an ObservableCollection, and the selected item is moved to a different position in the collection, e.g. using DynamicData, the ComboBox will deselect …