11 references to InternalSymbolCount
PresentationFramework (11)
src\Framework\System\Windows\Documents\TextContainer.cs (4)
1311
Invariant.Assert(offset >= 1 && offset <= this.
InternalSymbolCount
- 1, "Bogus symbol offset!");
1581
return this.
InternalSymbolCount
;
1836
return this.
InternalSymbolCount
- 2;
3309
Invariant.Assert(count == this.
InternalSymbolCount
, "TextContainer.SymbolCount does not match TextTreeText size!");
src\Framework\System\Windows\Documents\TextPointer.cs (7)
301
if (offset < 1 || offset > textContainer.
InternalSymbolCount
- 1)
600
count = _tree.
InternalSymbolCount
- this.GetSymbolOffset() - 1;
1933
symbolOffset = _tree.
InternalSymbolCount
- 1;
1943
else if (symbolOffset > _tree.
InternalSymbolCount
- 1)
1948
offset -= (symbolOffset - (_tree.
InternalSymbolCount
- 1));
1949
symbolOffset = _tree.
InternalSymbolCount
- 1;
3935
if (offset < 1 || offset > position.TextContainer.
InternalSymbolCount
- 1)