11 writes to End
System.Windows.Forms.Primitives (11)
System\Windows\Forms\Automation\UiaTextRange.cs (11)
177End = MoveEndpointForward(End, TextUnit.TextUnit_Character, 1, out _); 195End = Math.Min(Math.Max(End, Start + 1), text.Length); 199End++; 247End = Math.Min(Math.Max(End, Start + 1), text.Length); 251End++; 484End = Start; 489End = MoveEndpointBackward(End, unit, count, out moved); 528End = MoveEndpointForward(End, unit, count, out moved); 546End = MoveEndpointBackward(End, unit, count, out moved); 575End = e; 1193End = limit;
33 references to End
System.Windows.Forms.Primitives (33)
System\Windows\Forms\Automation\UiaTextRange.cs (33)
78if (Start < 0 || End < 0 || Start > End) 84return End - Start; 121*pRetVal = ComHelpers.GetComPointer<ITextRangeProvider>(new UiaTextRange(_enclosingElement, _provider, Start, End)); 140*pRetVal = ComHelpers.TryGetObjectForIUnknown((IUnknown*)range, out UiaTextRange? editRange) && editRange.Start == Start && editRange.End == End; 162int e1 = (endpoint == (int)TextPatternRangeEndpoint.TextPatternRangeEndpoint_Start) ? Start : End; 163int e2 = (targetEndpoint == (int)TextPatternRangeEndpoint.TextPatternRangeEndpoint_Start) ? editRange.Start : editRange.End; 177End = MoveEndpointForward(End, TextUnit.TextUnit_Character, 1, out _); 195End = Math.Min(Math.Max(End, Start + 1), text.Length); 197while (!AtWordBoundary(text, End)) 212int endLine = _provider.GetLineFromCharIndex(End); 247End = Math.Min(Math.Max(End, Start + 1), text.Length); 249while (!AtParagraphBoundary(text, End)) 359|| (_provider.IsMultiline && End < _provider.TextLength 360&& End - Start == 1 && text[End] == '\n')) 397Point endPoint = _provider.GetPositionFromCharForUpperRightCorner(End - 1, text); 433maxLength = End + 1; 463Start = End; 488int end = End; 489End = MoveEndpointBackward(End, unit, count, out moved); 492if (end != End) 515int end = End; 528End = MoveEndpointForward(End, unit, count, out moved); 531*pRetVal = end == End ? 0 : moved; 546End = MoveEndpointBackward(End, unit, count, out moved); 549*pRetVal = end == End ? 0 : moved; 567: textRange.End; 583_provider.SetSelection(Start, End); 597: Math.Max(0, _provider.GetLineFromCharIndex(End) - _provider.LinesPerPage + 1); 723int end = End; 1191if (End > limit && limit > 0)