[inflight/current] Fix CS0111 duplicate GetNativeCharacterSpacing in PickerHandlerTests.iOS#35419
Merged
kubaflo merged 1 commit intoMay 13, 2026
Conversation
Contributor
|
Hey there @@SyedAbdulAzeemSF4852! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
PureWeen
pushed a commit
that referenced
this pull request
Jun 2, 2026
…PickerHandlerTests.iOS (#35419) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Root Cause - PRs #34957 and #34974 each independently added an identical GetNativeCharacterSpacing(PickerHandler) helper method to PickerHandlerTests.iOS.cs at different locations in the file, so when the two PRs were combined the changes merged without a textual conflict and left two identical method definitions inside the PickerHandlerTests class, which the C# compiler rejected with error CS0111 ("type already defines a member with the same parameter types"). ### Description of Change - Removed the duplicate GetNativeCharacterSpacing(PickerHandler) method from PickerHandlerTests.iOS.cs, keeping a single definition of the helper so the Core.DeviceTests project compiles cleanly. ### Output | Before | After | |----------|----------| | <img src="https://github.com/user-attachments/assets/36b5a616-6567-4488-9cee-f456c13f8b60"> | <img src="https://github.com/user-attachments/assets/7f9d1c93-42e5-4d51-bd38-ac8e44fc1d55"> |
PureWeen
pushed a commit
that referenced
this pull request
Jun 11, 2026
…PickerHandlerTests.iOS (#35419) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Root Cause - PRs #34957 and #34974 each independently added an identical GetNativeCharacterSpacing(PickerHandler) helper method to PickerHandlerTests.iOS.cs at different locations in the file, so when the two PRs were combined the changes merged without a textual conflict and left two identical method definitions inside the PickerHandlerTests class, which the C# compiler rejected with error CS0111 ("type already defines a member with the same parameter types"). ### Description of Change - Removed the duplicate GetNativeCharacterSpacing(PickerHandler) method from PickerHandlerTests.iOS.cs, keeping a single definition of the helper so the Core.DeviceTests project compiles cleanly. ### Output | Before | After | |----------|----------| | <img src="https://github.com/user-attachments/assets/36b5a616-6567-4488-9cee-f456c13f8b60"> | <img src="https://github.com/user-attachments/assets/7f9d1c93-42e5-4d51-bd38-ac8e44fc1d55"> |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Root Cause
Description of Change
Output