4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationStorage.cs (4)
528_animationClocks = null; 558_animationClocks = null; 646storage._animationClocks = new FrugalObjectList<AnimationClock>(animationClocks.Count); 669storage._animationClocks = newClockCollection;
27 references to _animationClocks
PresentationCore (27)
System\Windows\Media\Animation\AnimationStorage.cs (27)
47Debug.Assert( _animationClocks == null 48|| _animationClocks.Count > 0); 53return _animationClocks == null 502Debug.Assert( _animationClocks != null 503&& _animationClocks.Count > 0, 508int index = _animationClocks.IndexOf(animationClock); 513_animationClocks.RemoveAt(index); 526if (_animationClocks.Count == 0) 549if (_animationClocks != null) 551Debug.Assert(_animationClocks.Count > 0); 553for (int i = 0; i < _animationClocks.Count; i++) 555DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 605|| storage._animationClocks == null) 616storage._animationClocks[0].CurrentStateInvalidated -= handler; 652storage._animationClocks.Add(animationClocks[i]); 660Debug.Assert(storage._animationClocks != null); 662FrugalObjectList<AnimationClock> newClockCollection = new FrugalObjectList<AnimationClock>(storage._animationClocks.Count + animationClocks.Count); 664for (int i = 0; i < storage._animationClocks.Count; i++) 666newClockCollection.Add(storage._animationClocks[i]); 802storage._animationClocks[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated); 849Debug.Assert(storage._animationClocks != null && storage._animationClocks.Count > 0, 853storage._animationClocks[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated); 909&& storage._animationClocks[0].CurrentState == ClockState.Stopped) 914if ( storage._animationClocks == null 953if (storage._animationClocks != null) 955FrugalObjectList<AnimationClock> clocks = storage._animationClocks;