2 writes to _target
PresentationCore (2)
Core\CSharp\System\Windows\Media\HostVisual.cs (2)
163_target = target; 205_target = null;
17 references to _target
PresentationCore (17)
Core\CSharp\System\Windows\Media\HostVisual.cs (17)
156if (_target != null) 200Debug.Assert(_target != null); 201Debug.Assert(_target.Dispatcher.Thread == Thread.CurrentThread); 221targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel); 225_target.OutOfBandChannel.CloseBatch(); 226_target.OutOfBandChannel.Commit(); 256&& _target != null 270if (_target.CheckAccess()) 272Debug.Assert(_target._contentRoot.IsOnChannel(channel)); 273Debug.Assert(_target.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel); 274bool created = _target._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType); 276targetsHandle = _target._contentRoot.GetHandle(channel); 293object returnValue = _target.Dispatcher.Invoke( 387if (_target != null && _connectedChannels.Contains(channel)) 391_target._contentRoot.GetHandle(channel), 401_target._contentRoot.ReleaseOnChannel(channel);