4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationLayer.cs (4)
117
_animationClocks
= null;
128
_animationClocks
= animationClocks;
176
_animationClocks
= null;
210
_animationClocks
= animationClockList;
21 references to _animationClocks
PresentationCore (21)
System\Windows\Media\Animation\AnimationLayer.cs (21)
49
_animationClocks
[0].CurrentStateInvalidated -= handler;
55
else if (
_animationClocks
!= null)
95
else if (
_animationClocks
== null)
108
Debug.Assert(
_animationClocks
!= null);
110
int count =
_animationClocks
.Count;
114
_ownerStorage.DetachAnimationClock(
_animationClocks
[i], _removeRequestedHandler);
126
Debug.Assert(
_animationClocks
== null);
150
Debug.Assert(
_animationClocks
!= null
151
&&
_animationClocks
.Count > 0,
156
int index =
_animationClocks
.IndexOf(animationClock);
164
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated);
168
_animationClocks
.RemoveAt(index);
174
if (
_animationClocks
.Count == 0)
196
List<AnimationClock> animationClockList =
_animationClocks
as List<AnimationClock>;
201
int oldClocksCount = (
_animationClocks
== null) ? 0 :
_animationClocks
.Count;
207
animationClockList.Add(
_animationClocks
[i]);
236
&&
_animationClocks
[0].CurrentState == ClockState.Stopped)
243
if (
_animationClocks
== null)
264
int count =
_animationClocks
.Count;
270
AnimationClock clock =
_animationClocks
[i];