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
))]
712
BuildDistanceArray(_horizontalSnapLines, _targetHorizontalSnapLines,
_horizontalDistances
, currentBounds);
716
offset.Y = FindSmallestValidDistance(_horizontalSnapLines,
_horizontalDistances
, minRange, maxRange, directionOffset.Y);
720
IdentifyAndStoreValidLines(_horizontalSnapLines,
_horizontalDistances
, currentBounds, offset.Y);
1121
smallestDistanceHorz = BuildDistanceArray(_horizontalSnapLines, _targetHorizontalSnapLines,
_horizontalDistances
, dragBounds);
1139
IdentifyAndStoreValidLines(_horizontalSnapLines,
_horizontalDistances
, dragBounds, smallestDistanceHorz);