4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationStorage.cs (4)
535
_animationClocks
= null;
565
_animationClocks
= null;
653
storage.
_animationClocks
= new FrugalObjectList<AnimationClock>(animationClocks.Count);
676
storage.
_animationClocks
= newClockCollection;
27 references to _animationClocks
PresentationCore (27)
System\Windows\Media\Animation\AnimationStorage.cs (27)
50
Debug.Assert(
_animationClocks
== null
51
||
_animationClocks
.Count > 0);
56
return
_animationClocks
== null
509
Debug.Assert(
_animationClocks
!= null
510
&&
_animationClocks
.Count > 0,
515
int index =
_animationClocks
.IndexOf(animationClock);
520
_animationClocks
.RemoveAt(index);
533
if (
_animationClocks
.Count == 0)
556
if (
_animationClocks
!= null)
558
Debug.Assert(
_animationClocks
.Count > 0);
560
for (int i = 0; i <
_animationClocks
.Count; i++)
562
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]);
809
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
856
Debug.Assert(storage.
_animationClocks
!= null && storage.
_animationClocks
.Count > 0,
860
storage.
_animationClocks
[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated);
916
&& storage.
_animationClocks
[0].CurrentState == ClockState.Stopped)
921
if ( storage.
_animationClocks
== null
960
if (storage.
_animationClocks
!= null)
962
FrugalObjectList<AnimationClock> clocks = storage.
_animationClocks
;