4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationLayer.cs (4)
117_animationClocks = null; 128_animationClocks = animationClocks; 176_animationClocks = null; 210_animationClocks = animationClockList;
21 references to _animationClocks
PresentationCore (21)
System\Windows\Media\Animation\AnimationLayer.cs (21)
49_animationClocks[0].CurrentStateInvalidated -= handler; 55else if (_animationClocks != null) 95else if (_animationClocks == null) 108Debug.Assert(_animationClocks != null); 110int count = _animationClocks.Count; 114_ownerStorage.DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 126Debug.Assert(_animationClocks == null); 150Debug.Assert(_animationClocks != null 151&& _animationClocks.Count > 0, 156int index = _animationClocks.IndexOf(animationClock); 164_animationClocks[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated); 168_animationClocks.RemoveAt(index); 174if (_animationClocks.Count == 0) 196List<AnimationClock> animationClockList = _animationClocks as List<AnimationClock>; 201int oldClocksCount = (_animationClocks == null) ? 0 : _animationClocks.Count; 207animationClockList.Add(_animationClocks[i]); 236&& _animationClocks[0].CurrentState == ClockState.Stopped) 243if (_animationClocks == null) 264int count = _animationClocks.Count; 270AnimationClock clock = _animationClocks[i];