forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request unoplatform#14324 from Youssef1313/native-ctors-ge…
…n-fix-hr fix(hr): Fix RegisterAttribute generation for nested/generic types
- Loading branch information
Showing
12 changed files
with
315 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/Uno.UI.RuntimeTests/Tests/NativeCtorGeneratorTests/NestedGenericClasses.Android.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Android.Content; | ||
|
||
namespace Uno.UI.RuntimeTests.Tests.NativeCtorGeneratorTests | ||
{ | ||
public partial class GenericClass<T1, T2> : Android.Views.View | ||
{ | ||
public GenericClass(Context context) : base(context) { } | ||
public GenericClass(Context context, Android.Util.IAttributeSet attributeSet) : base(context, attributeSet) { } | ||
|
||
public partial class NestedGenericClass<T3> : Android.Views.View | ||
{ | ||
public NestedGenericClass(Context context) : base(context) { } | ||
public NestedGenericClass(Context context, Android.Util.IAttributeSet attributeSet) : base(context, attributeSet) { } | ||
} | ||
} | ||
} | ||
|
||
public partial class GenericClassGlobalNamespace<T1, T2> : Android.Views.View | ||
{ | ||
public GenericClassGlobalNamespace(Context context) : base(context) { } | ||
public GenericClassGlobalNamespace(Context context, Android.Util.IAttributeSet attributeSet) : base(context, attributeSet) { } | ||
|
||
public partial class NestedGenericClassGlobalNamespace<T3> : Android.Views.View | ||
{ | ||
public NestedGenericClassGlobalNamespace(Context context) : base(context) { } | ||
public NestedGenericClassGlobalNamespace(Context context, Android.Util.IAttributeSet attributeSet) : base(context, attributeSet) { } | ||
} | ||
} |
Oops, something went wrong.