10 references to _duceResource
PresentationCore (10)
System\Windows\Media\Generated\LinearGradientBrush.cs (7)
170if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_LINEARGRADIENTBRUSH)) 183return _duceResource.GetHandle(channel); 187Debug.Assert(_duceResource.IsOnChannel(channel)); 189if (_duceResource.ReleaseOnChannel(channel)) 202return _duceResource.GetHandle(channel); 207return _duceResource.GetChannelCount(); 212return _duceResource.GetChannel(index);
System\Windows\Media\LinearGradientBrush.cs (3)
135Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 137if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 173data.Handle = _duceResource.GetHandle(channel);