4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationStorage.cs (4)
527_animationClocks = null; 557_animationClocks = null; 645storage._animationClocks = new FrugalObjectList<AnimationClock>(animationClocks.Count); 668storage._animationClocks = newClockCollection;
27 references to _animationClocks
PresentationCore (27)
System\Windows\Media\Animation\AnimationStorage.cs (27)
46Debug.Assert( _animationClocks == null 47|| _animationClocks.Count > 0); 52return _animationClocks == null 501Debug.Assert( _animationClocks != null 502&& _animationClocks.Count > 0, 507int index = _animationClocks.IndexOf(animationClock); 512_animationClocks.RemoveAt(index); 525if (_animationClocks.Count == 0) 548if (_animationClocks != null) 550Debug.Assert(_animationClocks.Count > 0); 552for (int i = 0; i < _animationClocks.Count; i++) 554DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 604|| storage._animationClocks == null) 615storage._animationClocks[0].CurrentStateInvalidated -= handler; 651storage._animationClocks.Add(animationClocks[i]); 659Debug.Assert(storage._animationClocks != null); 661FrugalObjectList<AnimationClock> newClockCollection = new FrugalObjectList<AnimationClock>(storage._animationClocks.Count + animationClocks.Count); 663for (int i = 0; i < storage._animationClocks.Count; i++) 665newClockCollection.Add(storage._animationClocks[i]); 801storage._animationClocks[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated); 848Debug.Assert(storage._animationClocks != null && storage._animationClocks.Count > 0, 852storage._animationClocks[0].CurrentStateInvalidated -= new EventHandler(storage.OnCurrentStateInvalidated); 908&& storage._animationClocks[0].CurrentState == ClockState.Stopped) 913if ( storage._animationClocks == null 952if (storage._animationClocks != null) 954FrugalObjectList<AnimationClock> clocks = storage._animationClocks;