1 write to _horizontalDistances
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
619_horizontalDistances = new int[_horizontalSnapLines.Count];
6 references to _horizontalDistances
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (6)
521[MemberNotNull(nameof(_horizontalDistances))] 712BuildDistanceArray(_horizontalSnapLines, _targetHorizontalSnapLines, _horizontalDistances, currentBounds); 716offset.Y = FindSmallestValidDistance(_horizontalSnapLines, _horizontalDistances, minRange, maxRange, directionOffset.Y); 720IdentifyAndStoreValidLines(_horizontalSnapLines, _horizontalDistances, currentBounds, offset.Y); 1121smallestDistanceHorz = BuildDistanceArray(_horizontalSnapLines, _targetHorizontalSnapLines, _horizontalDistances, dragBounds); 1139IdentifyAndStoreValidLines(_horizontalSnapLines, _horizontalDistances, dragBounds, smallestDistanceHorz);