11 references to InternalSymbolCount
PresentationFramework (11)
System\Windows\Documents\TextContainer.cs (4)
1291Invariant.Assert(offset >= 1 && offset <= this.InternalSymbolCount - 1, "Bogus symbol offset!"); 1561return this.InternalSymbolCount; 1816return this.InternalSymbolCount - 2; 3288Invariant.Assert(count == this.InternalSymbolCount, "TextContainer.SymbolCount does not match TextTreeText size!");
System\Windows\Documents\TextPointer.cs (7)
288if (offset < 1 || offset > textContainer.InternalSymbolCount - 1) 584count = _tree.InternalSymbolCount - this.GetSymbolOffset() - 1; 1911symbolOffset = _tree.InternalSymbolCount - 1; 1921else if (symbolOffset > _tree.InternalSymbolCount - 1) 1926offset -= (symbolOffset - (_tree.InternalSymbolCount - 1)); 1927symbolOffset = _tree.InternalSymbolCount - 1; 3904if (offset < 1 || offset > position.TextContainer.InternalSymbolCount - 1)