10 references to _duceResource
PresentationCore (10)
System\Windows\Media\Generated\RadialGradientBrush.cs (7)
197if (_duceResource.CreateOrAddRefOnChannel(this, channel, System.Windows.Media.Composition.DUCE.ResourceType.TYPE_RADIALGRADIENTBRUSH)) 210return _duceResource.GetHandle(channel); 216Debug.Assert(_duceResource.IsOnChannel(channel)); 218if (_duceResource.ReleaseOnChannel(channel)) 233return _duceResource.GetHandle(channel); 238return _duceResource.GetChannelCount(); 243return _duceResource.GetChannel(index);
System\Windows\Media\RadialGradientBrush.cs (3)
62Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 64if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 102data.Handle = _duceResource.GetHandle(channel);