10 references to _duceResource
PresentationCore (10)
System\Windows\Media\Generated\LinearGradientBrush.cs (7)
142if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_LINEARGRADIENTBRUSH)) 155return _duceResource.GetHandle(channel); 159Debug.Assert(_duceResource.IsOnChannel(channel)); 161if (_duceResource.ReleaseOnChannel(channel)) 174return _duceResource.GetHandle(channel); 179return _duceResource.GetChannelCount(); 184return _duceResource.GetChannel(index);
System\Windows\Media\LinearGradientBrush.cs (3)
122Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 124if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 160data.Handle = _duceResource.GetHandle(channel);