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