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