-
Notifications
You must be signed in to change notification settings - Fork 1.9k
System.MissingMethodException in PropertyPropagationExtensions fix #28456
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| #nullable disable | ||
| using System; | ||
| using System.Collections; | ||
| using System.Collections.Generic; | ||
| using System.Linq; | ||
|
|
@@ -8,6 +9,15 @@ namespace Microsoft.Maui.Controls.Internals | |
| /// <include file="../../../docs/Microsoft.Maui.Controls.Internals/PropertyPropagationExtensions.xml" path="Type[@FullName='Microsoft.Maui.Controls.Internals.PropertyPropagationExtensions']/Docs/*" /> | ||
| public static class PropertyPropagationExtensions | ||
| { | ||
| [Obsolete] | ||
| internal static void PropagatePropertyChanged(string propertyName, Element element, IEnumerable children) | ||
| { | ||
| if (children == null) | ||
| return; | ||
|
|
||
| PropagatePropertyChanged(propertyName, element, children.OfType<IVisualTreeElement>().ToList()); | ||
| } | ||
|
|
||
| internal static void PropagatePropertyChanged(string propertyName, Element element, IReadOnlyList<IVisualTreeElement> children) | ||
mattleibow marked this conversation as resolved.
Show resolved
Hide resolved
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we remove internal from this one?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removing the internal would force this to be merged on .net 10, no?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, this will have to go into net10. But, is there a reason for this to be IReadOnlyList instead of
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see all the other overloads take |
||
| { | ||
| if (propertyName == null || propertyName == VisualElement.FlowDirectionProperty.PropertyName) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.