2 writes to _target
PresentationCore (2)
System\Windows\Media\HostVisual.cs (2)
151_target = target; 193_target = null;
19 references to _target
PresentationCore (19)
System\Windows\Media\HostVisual.cs (19)
144if (_target != null) 188Debug.Assert(_target != null); 189Debug.Assert(_target.Dispatcher.Thread == Thread.CurrentThread); 209targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel); 213_target.OutOfBandChannel.CloseBatch(); 214_target.OutOfBandChannel.Commit(); 244&& _target != null 258if (_target.CheckAccess()) 260Debug.Assert(_target._contentRoot.IsOnChannel(channel)); 261Debug.Assert(_target.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel); 262bool created = _target._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType); 264targetsHandle = _target._contentRoot.GetHandle(channel); 281object returnValue = _target.Dispatcher.Invoke( 385if (_target != null && _connectedChannels.TryGetValue(channel, out channelDispatcher)) 395_target._contentRoot.GetHandle(channel), 396_target._contentRoot); 414targetHandle: _target._contentRoot.GetHandle(channel), 415contentRoot: _target._contentRoot,