4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationStorage.cs (4)
534
_animationClocks
= null;
564
_animationClocks
= null;
652
storage.
_animationClocks
= new FrugalObjectList<AnimationClock>(animationClocks.Count);
675
storage.
_animationClocks
= newClockCollection;
27 references to _animationClocks
PresentationCore (27)
System\Windows\Media\Animation\AnimationStorage.cs (27)
47
Debug.Assert(
_animationClocks
== null
48
||
_animationClocks
.Count > 0);
53
return
_animationClocks
== null
508
Debug.Assert(
_animationClocks
!= null
509
&&
_animationClocks
.Count > 0,
514
int index =
_animationClocks
.IndexOf(animationClock);
519
_animationClocks
.RemoveAt(index);
532
if (
_animationClocks
.Count == 0)
555
if (
_animationClocks
!= null)
557
Debug.Assert(
_animationClocks
.Count > 0);
559
for (int i = 0; i <
_animationClocks
.Count; i++)
561
DetachAnimationClock(
_animationClocks
[i], _removeRequestedHandler);
611
|| storage.
_animationClocks
== null)
622
storage.
_animationClocks
[0].CurrentStateInvalidated -= handler;
658
storage.
_animationClocks
.Add(animationClocks[i]);
666
Debug.Assert(storage.
_animationClocks
!= null);
668
FrugalObjectList<AnimationClock> newClockCollection = new FrugalObjectList<AnimationClock>(storage.
_animationClocks
.Count + animationClocks.Count);
670
for (int i = 0; i < storage.
_animationClocks
.Count; i++)
672
newClockCollection.Add(storage.
_animationClocks
[i]);
808
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
855
Debug.Assert(storage.
_animationClocks
!= null && storage.
_animationClocks
.Count > 0,
859
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
915
&& storage.
_animationClocks
[0].CurrentState == ClockState.Stopped)
920
if ( storage.
_animationClocks
== null
959
if (storage.
_animationClocks
!= null)
961
FrugalObjectList<AnimationClock> clocks = storage.
_animationClocks
;