2 writes to _target
PresentationCore (2)
System\Windows\Media\HostVisual.cs (2)
167_target = target; 209_target = null;
19 references to _target
PresentationCore (19)
System\Windows\Media\HostVisual.cs (19)
160if (_target != null) 204Debug.Assert(_target != null); 205Debug.Assert(_target.Dispatcher.Thread == Thread.CurrentThread); 225targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel); 229_target.OutOfBandChannel.CloseBatch(); 230_target.OutOfBandChannel.Commit(); 260&& _target != null 274if (_target.CheckAccess()) 276Debug.Assert(_target._contentRoot.IsOnChannel(channel)); 277Debug.Assert(_target.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel); 278bool created = _target._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType); 280targetsHandle = _target._contentRoot.GetHandle(channel); 297object returnValue = _target.Dispatcher.Invoke( 401if (_target != null && _connectedChannels.TryGetValue(channel, out channelDispatcher)) 411_target._contentRoot.GetHandle(channel), 412_target._contentRoot); 430targetHandle: _target._contentRoot.GetHandle(channel), 431contentRoot: _target._contentRoot,