Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some fixes applied, to be regenerated #8

Conversation

masesdevelopers
Copy link
Contributor

Description

Partial PR with some updates; needs a new class generation and maybe some reviews of JNetReflector

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@masesdevelopers masesdevelopers added the enhancement New feature or request label May 31, 2024
@masesdevelopers masesdevelopers self-assigned this May 31, 2024
Copy link
Contributor Author

@masesdevelopers masesdevelopers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updates needed from JNetReflector

@@ -785,7 +785,7 @@ public partial class NumberFormatterSettings : MASES.JCOBridge.C2JBridge.JVMBrid
/// <see href="https://developer.android.com/reference/android/icu/number/NumberFormatterSettings.html"/>
/// </summary>
/// <typeparam name="T"></typeparam>
public partial class NumberFormatterSettings<T> : MASES.JCOBridge.C2JBridge.JVMBridgeBase<NumberFormatterSettings<T>> where T: Android.Icu.Number.NumberFormatterSettings<?>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type is reported as ? instead of T

@@ -54,10 +54,6 @@ public UnicodeSetIterator(Android.Icu.Text.UnicodeSet arg0)
/// </summary>
public int codepointEnd { get { return IGetField<int>("codepointEnd"); } set { ISetField("codepointEnd", value); } }
/// <summary>
/// <see href="https://developer.android.com/reference/android/icu/text/UnicodeSetIterator.html#string"/>
/// </summary>
public Java.Lang.String string { get { return IGetField<Java.Lang.String>("string"); } set { ISetField("string", value); } }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are many properties whose name clashes with C# language keyword

@@ -1952,7 +1952,7 @@ public partial class Range : MASES.JCOBridge.C2JBridge.JVMBridgeBase<Range>
/// <see href="https://developer.android.com/reference/android/util/Range.html"/>
/// </summary>
/// <typeparam name="T"></typeparam>
public partial class Range<T> : MASES.JCOBridge.C2JBridge.JVMBridgeBase<Range<T>> where T: Java.Lang.Comparable<? super T>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reports ? super T instead of T

@masesdevelopers masesdevelopers merged commit 81708e2 into masesgroup:master May 31, 2024
3 of 6 checks passed
@masesdevelopers masesdevelopers deleted the 7-code-compilation-reports-errors-review-the-reflected-code branch May 31, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant