4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationStorage.cs (4)
532
_animationClocks
= null;
562
_animationClocks
= null;
650
storage.
_animationClocks
= new FrugalObjectList<AnimationClock>(animationClocks.Count);
673
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
506
Debug.Assert(
_animationClocks
!= null
507
&&
_animationClocks
.Count > 0,
512
int index =
_animationClocks
.IndexOf(animationClock);
517
_animationClocks
.RemoveAt(index);
530
if (
_animationClocks
.Count == 0)
553
if (
_animationClocks
!= null)
555
Debug.Assert(
_animationClocks
.Count > 0);
557
for (int i = 0; i <
_animationClocks
.Count; i++)
559
DetachAnimationClock(
_animationClocks
[i], _removeRequestedHandler);
609
|| storage.
_animationClocks
== null)
620
storage.
_animationClocks
[0].CurrentStateInvalidated -= handler;
656
storage.
_animationClocks
.Add(animationClocks[i]);
664
Debug.Assert(storage.
_animationClocks
!= null);
666
FrugalObjectList<AnimationClock> newClockCollection = new FrugalObjectList<AnimationClock>(storage.
_animationClocks
.Count + animationClocks.Count);
668
for (int i = 0; i < storage.
_animationClocks
.Count; i++)
670
newClockCollection.Add(storage.
_animationClocks
[i]);
806
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
853
Debug.Assert(storage.
_animationClocks
!= null && storage.
_animationClocks
.Count > 0,
857
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
913
&& storage.
_animationClocks
[0].CurrentState == ClockState.Stopped)
918
if ( storage.
_animationClocks
== null
957
if (storage.
_animationClocks
!= null)
959
FrugalObjectList<AnimationClock> clocks = storage.
_animationClocks
;