4 writes to _animationClocks
PresentationCore (4)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (4)
114
_animationClocks
= null;
125
_animationClocks
= animationClocks;
173
_animationClocks
= null;
207
_animationClocks
= animationClockList;
21 references to _animationClocks
PresentationCore (21)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (21)
46
_animationClocks
[0].CurrentStateInvalidated -= handler;
52
else if (
_animationClocks
!= null)
92
else if (
_animationClocks
== null)
105
Debug.Assert(
_animationClocks
!= null);
107
int count =
_animationClocks
.Count;
111
_ownerStorage.DetachAnimationClock(
_animationClocks
[i], _removeRequestedHandler);
123
Debug.Assert(
_animationClocks
== null);
147
Debug.Assert(
_animationClocks
!= null
148
&&
_animationClocks
.Count > 0,
153
int index =
_animationClocks
.IndexOf(animationClock);
161
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated);
165
_animationClocks
.RemoveAt(index);
171
if (
_animationClocks
.Count == 0)
193
List<AnimationClock> animationClockList =
_animationClocks
as List<AnimationClock>;
198
int oldClocksCount = (
_animationClocks
== null) ? 0 :
_animationClocks
.Count;
204
animationClockList.Add(
_animationClocks
[i]);
233
&&
_animationClocks
[0].CurrentState == ClockState.Stopped)
240
if (
_animationClocks
== null)
261
int count =
_animationClocks
.Count;
267
AnimationClock clock =
_animationClocks
[i];