4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationLayer.cs (4)
113
_animationClocks
= null;
124
_animationClocks
= animationClocks;
172
_animationClocks
= null;
206
_animationClocks
= animationClockList;
21 references to _animationClocks
PresentationCore (21)
System\Windows\Media\Animation\AnimationLayer.cs (21)
45
_animationClocks
[0].CurrentStateInvalidated -= handler;
51
else if (
_animationClocks
!= null)
91
else if (
_animationClocks
== null)
104
Debug.Assert(
_animationClocks
!= null);
106
int count =
_animationClocks
.Count;
110
_ownerStorage.DetachAnimationClock(
_animationClocks
[i], _removeRequestedHandler);
122
Debug.Assert(
_animationClocks
== null);
146
Debug.Assert(
_animationClocks
!= null
147
&&
_animationClocks
.Count > 0,
152
int index =
_animationClocks
.IndexOf(animationClock);
160
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated);
164
_animationClocks
.RemoveAt(index);
170
if (
_animationClocks
.Count == 0)
192
List<AnimationClock> animationClockList =
_animationClocks
as List<AnimationClock>;
197
int oldClocksCount = (
_animationClocks
== null) ? 0 :
_animationClocks
.Count;
203
animationClockList.Add(
_animationClocks
[i]);
232
&&
_animationClocks
[0].CurrentState == ClockState.Stopped)
239
if (
_animationClocks
== null)
260
int count =
_animationClocks
.Count;
266
AnimationClock clock =
_animationClocks
[i];