Skip to content

Commit

Permalink
fix!: Remove ApplyCompiledBindings from code generated by `Dependency…
Browse files Browse the repository at this point in the history
…ObjectGenerator`

BREAKING CHANGE: `DependencyObjectGenerator` no longer generated an empty ApplyCompiledBindings method.
  • Loading branch information
Youssef1313 committed May 23, 2023
1 parent c29fff3 commit fa87ac3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,7 @@ public void RestoreBindings()
{
__Store.RestoreBindings();
}

/// <summary>
/// Obsolete method kept for binary compatibility
/// </summary>
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
[global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
public void ApplyCompiledBindings()
{
}


private global::Uno.UI.DataBinding.ManagedWeakReference _selfWeakReference;
global::Uno.UI.DataBinding.ManagedWeakReference IWeakReferenceProvider.WeakReference
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,15 +536,6 @@ public void RestoreBindings()
__Store.RestoreBindings();
}}
/// <summary>
/// Obsolete method kept for binary compatibility
/// </summary>
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
[global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
public void ApplyCompiledBindings()
{{
}}
private global::Uno.UI.DataBinding.ManagedWeakReference _selfWeakReference;
global::Uno.UI.DataBinding.ManagedWeakReference IWeakReferenceProvider.WeakReference
{{
Expand Down
1 change: 0 additions & 1 deletion src/Uno.UI/UI/Xaml/FrameworkElement.netstd.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public partial class FrameworkElement : IEnumerable
private protected sealed override void OnFwEltLoading()
{
OnLoadingPartial();
ApplyCompiledBindings();

void InvokeLoading()
{
Expand Down

0 comments on commit fa87ac3

Please sign in to comment.