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