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