4 writes to _animationClocks
PresentationCore (4)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (4)
114_animationClocks = null; 125_animationClocks = animationClocks; 173_animationClocks = null; 207_animationClocks = animationClockList;
21 references to _animationClocks
PresentationCore (21)
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (21)
46_animationClocks[0].CurrentStateInvalidated -= handler; 52else if (_animationClocks != null) 92else if (_animationClocks == null) 105Debug.Assert(_animationClocks != null); 107int count = _animationClocks.Count; 111_ownerStorage.DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 123Debug.Assert(_animationClocks == null); 147Debug.Assert(_animationClocks != null 148&& _animationClocks.Count > 0, 153int index = _animationClocks.IndexOf(animationClock); 161_animationClocks[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated); 165_animationClocks.RemoveAt(index); 171if (_animationClocks.Count == 0) 193List<AnimationClock> animationClockList = _animationClocks as List<AnimationClock>; 198int oldClocksCount = (_animationClocks == null) ? 0 : _animationClocks.Count; 204animationClockList.Add(_animationClocks[i]); 233&& _animationClocks[0].CurrentState == ClockState.Stopped) 240if (_animationClocks == null) 261int count = _animationClocks.Count; 267AnimationClock clock = _animationClocks[i];