10 references to _duceResource
PresentationCore (10)
System\Windows\Media\Generated\LinearGradientBrush.cs (7)
153if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_LINEARGRADIENTBRUSH)) 166return _duceResource.GetHandle(channel); 172Debug.Assert(_duceResource.IsOnChannel(channel)); 174if (_duceResource.ReleaseOnChannel(channel)) 189return _duceResource.GetHandle(channel); 194return _duceResource.GetChannelCount(); 199return _duceResource.GetChannel(index);
System\Windows\Media\LinearGradientBrush.cs (3)
121Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 123if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 159data.Handle = _duceResource.GetHandle(channel);