2 writes to _weakTarget
Microsoft.Maui.Controls (2)
BindingExpression.cs (2)
92 _weakTarget = new WeakReference<BindableObject>(target); 113 _weakTarget = null;
8 references to _weakTarget
Microsoft.Maui.Controls (8)
BindingExpression.cs (8)
50 if (_weakSource == null || _weakTarget == null) 53 if (!_weakTarget.TryGetTarget(out BindableObject target)) 85 if (_weakTarget != null && _weakTarget.TryGetTarget(out BindableObject prevTarget) && !ReferenceEquals(prevTarget, target)) 512 if (_weakTarget?.TryGetTarget(out target) != true) 536 if (_weakTarget?.TryGetTarget(out target) != true) 711 if (_expression._weakTarget is not null && _expression._weakTarget.TryGetTarget(out BindableObject obj))