2 writes to _weakSource
Microsoft.Maui.Controls (2)
BindingExpression.cs (2)
91
_weakSource
= new WeakReference<object>(sourceObject);
112
_weakSource
= null;
7 references to _weakSource
Microsoft.Maui.Controls (7)
BindingExpression.cs (7)
50
if (
_weakSource
== null || _weakTarget == null)
59
if (
_weakSource
.TryGetTarget(out var source) && _targetProperty != null)
88
if (
_weakSource
!= null &&
_weakSource
.TryGetTarget(out var previousSource) && !ReferenceEquals(previousSource, sourceObject))
99
if (
_weakSource
!= null &&
_weakSource
.TryGetTarget(out var sourceObject))
516
if (
_weakSource
?.TryGetTarget(out currentSource) == true)