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

[DevTools] Ambiguous match found. #6848

Closed
workgroupengineering opened this issue Nov 3, 2021 · 0 comments · Fixed by #6849
Closed

[DevTools] Ambiguous match found. #6848

workgroupengineering opened this issue Nov 3, 2021 · 0 comments · Fixed by #6849
Labels

Comments

@workgroupengineering
Copy link
Contributor

Describe the bug
Throw Exception "Ambiguous match found" when navigate into property Parent.

To Reproduce
Steps to reproduce the behavior:

  1. Run ControlCatalog.NetCore
  2. Press F12
  3. Select MainWindows
  4. Double click on Parent Property

Expected behavior
navigate to Parent property without throw Exception .

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

Throw Exception is there

property = _selectedEntity.GetType().GetProperty(SelectedProperty.Name)?.GetValue(_selectedEntity);

the reason is because Parent property is declared several times with different return type in same hierarchy .

public new IControl? Parent => (IControl?)base.Parent;

public IStyledElement? Parent { get; private set; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant