4 writes to _animationClocks
PresentationCore (4)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (4)
533
_animationClocks
= null;
563
_animationClocks
= null;
653
storage.
_animationClocks
= new FrugalObjectList<AnimationClock>(animationClocks.Count);
676
storage.
_animationClocks
= newClockCollection;
27 references to _animationClocks
PresentationCore (27)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (27)
48
Debug.Assert(
_animationClocks
== null
49
||
_animationClocks
.Count > 0);
54
return
_animationClocks
== null
507
Debug.Assert(
_animationClocks
!= null
508
&&
_animationClocks
.Count > 0,
513
int index =
_animationClocks
.IndexOf(animationClock);
518
_animationClocks
.RemoveAt(index);
531
if (
_animationClocks
.Count == 0)
554
if (
_animationClocks
!= null)
556
Debug.Assert(
_animationClocks
.Count > 0);
558
for (int i = 0; i <
_animationClocks
.Count; i++)
560
DetachAnimationClock(
_animationClocks
[i], _removeRequestedHandler);
612
|| storage.
_animationClocks
== null)
623
storage.
_animationClocks
[0].CurrentStateInvalidated -= handler;
659
storage.
_animationClocks
.Add(animationClocks[i]);
667
Debug.Assert(storage.
_animationClocks
!= null);
669
FrugalObjectList<AnimationClock> newClockCollection = new FrugalObjectList<AnimationClock>(storage.
_animationClocks
.Count + animationClocks.Count);
671
for (int i = 0; i < storage.
_animationClocks
.Count; i++)
673
newClockCollection.Add(storage.
_animationClocks
[i]);
810
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
857
Debug.Assert(storage.
_animationClocks
!= null && storage.
_animationClocks
.Count > 0,
861
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
917
&& storage.
_animationClocks
[0].CurrentState == ClockState.Stopped)
922
if ( storage.
_animationClocks
== null
961
if (storage.
_animationClocks
!= null)
963
FrugalObjectList<AnimationClock> clocks = storage.
_animationClocks
;