4 writes to _animationClocks
PresentationCore (4)
System\Windows\Media\Animation\AnimationLayer.cs (4)
113_animationClocks = null; 124_animationClocks = animationClocks; 172_animationClocks = null; 206_animationClocks = animationClockList;
21 references to _animationClocks
PresentationCore (21)
System\Windows\Media\Animation\AnimationLayer.cs (21)
45_animationClocks[0].CurrentStateInvalidated -= handler; 51else if (_animationClocks != null) 91else if (_animationClocks == null) 104Debug.Assert(_animationClocks != null); 106int count = _animationClocks.Count; 110_ownerStorage.DetachAnimationClock(_animationClocks[i], _removeRequestedHandler); 122Debug.Assert(_animationClocks == null); 146Debug.Assert(_animationClocks != null 147&& _animationClocks.Count > 0, 152int index = _animationClocks.IndexOf(animationClock); 160_animationClocks[0].CurrentStateInvalidated -= new EventHandler(OnCurrentStateInvalidated); 164_animationClocks.RemoveAt(index); 170if (_animationClocks.Count == 0) 192List<AnimationClock> animationClockList = _animationClocks as List<AnimationClock>; 197int oldClocksCount = (_animationClocks == null) ? 0 : _animationClocks.Count; 203animationClockList.Add(_animationClocks[i]); 232&& _animationClocks[0].CurrentState == ClockState.Stopped) 239if (_animationClocks == null) 260int count = _animationClocks.Count; 266AnimationClock clock = _animationClocks[i];