4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationLayer.cs (4)
112_animationClocks = null; 123_animationClocks = animationClocks; 171_animationClocks = null; 205_animationClocks = animationClockList;
21 references to _animationClocks
PresentationCore (21)
System\Windows\Media\Animation\AnimationLayer.cs (21)
44_animationClocks[0].CurrentStateInvalidated -= handler; 50else if (_animationClocks != null) 90else if (_animationClocks == null) 103Debug.Assert(_animationClocks != null); 105int count = _animationClocks.Count; 109_ownerStorage.DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 121Debug.Assert(_animationClocks == null); 145Debug.Assert(_animationClocks != null 146&& _animationClocks.Count > 0, 151int index = _animationClocks.IndexOf(animationClock); 159_animationClocks[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated); 163_animationClocks.RemoveAt(index); 169if (_animationClocks.Count == 0) 191List<AnimationClock> animationClockList = _animationClocks as List<AnimationClock>; 196int oldClocksCount = (_animationClocks == null) ? 0 : _animationClocks.Count; 202animationClockList.Add(_animationClocks[i]); 231&& _animationClocks[0].CurrentState == ClockState.Stopped) 238if (_animationClocks == null) 259int count = _animationClocks.Count; 265AnimationClock clock = _animationClocks[i];