Skip to content

[inflight/current] Fix CS0111 duplicate GetNativeCharacterSpacing in PickerHandlerTests.iOS#35419

Merged
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix/picker-ios-duplicate-character-spacing-method
May 13, 2026
Merged

[inflight/current] Fix CS0111 duplicate GetNativeCharacterSpacing in PickerHandlerTests.iOS#35419
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
SyedAbdulAzeemSF4852:fix/picker-ios-duplicate-character-spacing-method

Conversation

@SyedAbdulAzeemSF4852

Copy link
Copy Markdown
Contributor

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

  • 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

@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label May 13, 2026
@dotnet-policy-service

Copy link
Copy Markdown
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.

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label May 13, 2026
@sheiksyedm sheiksyedm marked this pull request as ready for review May 13, 2026 13:13
@kubaflo kubaflo merged commit d1d11c4 into dotnet:inflight/current May 13, 2026
2 of 12 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR7 milestone May 13, 2026
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">
|
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants