Open
Description
The generated code for the class below fails to compile due to wrong re-ordering of the generic constraints:
public class ContentFlyout<TControl, TModel> : Flyout,
IDisposable
where TControl: ReactiveUserControl<TModel>, new()
where TModel : ReactiveObject
{
...
}
internal class RxContentFlyoutEvents<TControl, TModel> where TControl : new() , global::ReactiveUI.ReactiveUserControl<TModel> where TModel : global::ReactiveUI.ReactiveObject
InstanceEvents.SourceGenerated.cs(4,77,4,80): error CS0401: The new() constraint must be the last constraint specified
Metadata
Metadata
Assignees
Labels
No labels