4 writes to NewCount
PresentationFramework (4)
MS\Internal\Documents\MultiPageTextView.cs (4)
835request.NewCount = request.NewCount - pagesMoved; 1444pageRequest.NewCount = (pageRequest.Count > 0) ? pageRequest.NewCount - 1 : pageRequest.NewCount + 1; 1455pageRequest.NewCount = pageRequest.Count; 1654this.NewCount = count;
12 references to NewCount
PresentationFramework (12)
MS\Internal\Documents\MultiPageTextView.cs (12)
547pageRequest.NewPosition, pageRequest.NewSuggestedOffset, pageRequest.Count - pageRequest.NewCount, 831newPosition = GetPositionAtNextPageCore(request.NewPosition, request.NewSuggestedOffset, request.NewCount, out newSuggestedOffset, out pagesMoved, out newPageNumber); 832Invariant.Assert(Math.Abs(request.NewCount) >= Math.Abs(pagesMoved)); 835request.NewCount = request.NewCount - pagesMoved; 837if (request.NewCount == 0 || newPageNumber == -1) 846newPageNumber += (request.NewCount > 0) ? 1 : -1; 1347request.NewPosition, request.NewSuggestedOffset, request.Count - request.NewCount, 1348request.NewCount == 0, null, false, request.UserState)); 1440Invariant.Assert(pageRequest.NewCount != 0); 1444pageRequest.NewCount = (pageRequest.Count > 0) ? pageRequest.NewCount - 1 : pageRequest.NewCount + 1; 1459else if (pageRequest.NewCount != 0)