2 writes to _target
PresentationCore (2)
System\Windows\Media\HostVisual.cs (2)
150_target = target; 192_target = null;
19 references to _target
PresentationCore (19)
System\Windows\Media\HostVisual.cs (19)
143if (_target != null) 187Debug.Assert(_target != null); 188Debug.Assert(_target.Dispatcher.Thread == Thread.CurrentThread); 208targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel); 212_target.OutOfBandChannel.CloseBatch(); 213_target.OutOfBandChannel.Commit(); 243&& _target != null 257if (_target.CheckAccess()) 259Debug.Assert(_target._contentRoot.IsOnChannel(channel)); 260Debug.Assert(_target.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel); 261bool created = _target._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType); 263targetsHandle = _target._contentRoot.GetHandle(channel); 280object returnValue = _target.Dispatcher.Invoke( 384if (_target != null && _connectedChannels.TryGetValue(channel, out channelDispatcher)) 394_target._contentRoot.GetHandle(channel), 395_target._contentRoot); 413targetHandle: _target._contentRoot.GetHandle(channel), 414contentRoot: _target._contentRoot,