7 overrides of SymbolCount
PresentationFramework (7)
System\Windows\Documents\TextTreeFixupNode.cs (1)
237
internal override int
SymbolCount
System\Windows\Documents\TextTreeObjectNode.cs (1)
204
internal override int
SymbolCount
System\Windows\Documents\TextTreeRootNode.cs (1)
251
internal override int
SymbolCount
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
181
internal override int
SymbolCount
System\Windows\Documents\TextTreeTextBlock.cs (1)
398
internal override int
SymbolCount
System\Windows\Documents\TextTreeTextElementNode.cs (1)
211
internal override int
SymbolCount
System\Windows\Documents\TextTreeTextNode.cs (1)
391
internal override int
SymbolCount
1 write to SymbolCount
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3200
containingNode.
SymbolCount
+= symbolCount;
34 references to SymbolCount
PresentationFramework (34)
System\Windows\Documents\SplayTreeNode.cs (4)
49
nodeSymbolCount = node.
SymbolCount
;
486
root.LeftSymbolCount = leftSubTree.LeftSymbolCount + leftSubTree.
SymbolCount
;
888
rightChildNode.LeftSymbolCount += this.LeftSymbolCount + this.
SymbolCount
;
953
this.LeftSymbolCount -= leftChildNode.LeftSymbolCount + leftChildNode.
SymbolCount
;
System\Windows\Documents\TextContainer.cs (20)
512
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
562
if (textNode == null || nodeOffset == 0 || nodeOffset == node.
SymbolCount
)
577
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
595
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
626
if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.
SymbolCount
)
844
if (position.Node.
SymbolCount
== 0)
854
Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().
SymbolCount
> 0) ||
855
(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().
SymbolCount
> 0));
1194
UpdateContainerSymbolCount(objectNode.GetContainingNode(), objectNode.
SymbolCount
, objectNode.IMECharCount);
1333
if (offset == nodeOffset + node.
SymbolCount
- 1)
1339
if (offset == nodeOffset + node.
SymbolCount
)
2163
Invariant.Assert(node.
SymbolCount
> 0, "Only TextTreeTextNodes may have zero symbol counts!");
2179
if (nextNode.
SymbolCount
== 0)
2186
Invariant.Assert(textNode.GetPreviousNode() == null || textNode.GetPreviousNode().
SymbolCount
> 0, "Found three consecutive zero-width text nodes! (1)");
2187
Invariant.Assert(nextNode.GetNextNode() == null || nextNode.GetNextNode().
SymbolCount
> 0, "Found three consecutive zero-width text nodes! (2)");
2206
if (previousNode != null && previousNode.
SymbolCount
== 0 && !((TextTreeNode)previousNode).AfterEndReferenceCount)
2220
if (nextNode != null && nextNode.
SymbolCount
== 0 && !((TextTreeNode)nextNode).BeforeStartReferenceCount)
2732
symbolCount += childNode.LeftSymbolCount + childNode.
SymbolCount
;
3082
nextNode.LeftSymbolCount += maxChildNode.LeftSymbolCount + maxChildNode.
SymbolCount
;
3146
Invariant.Assert(clone != null || node is TextTreeTextNode && node.
SymbolCount
== 0);
System\Windows\Documents\TextPointer.cs (3)
602
count += textNode.
SymbolCount
;
2926
offset = node.GetSymbolOffset(tree.Generation) + node.
SymbolCount
- 1;
2930
offset = node.GetSymbolOffset(tree.Generation) + node.
SymbolCount
;
System\Windows\Documents\TextTreeNode.cs (5)
479
if (this.
SymbolCount
== 0)
490
else if (nodeOffset == this.
SymbolCount
)
500
Invariant.Assert(nodeOffset == this.
SymbolCount
- 1);
522
offset = this.
SymbolCount
- 1;
526
offset = this.
SymbolCount
;
System\Windows\Documents\TextTreeTextNode.cs (2)
208
Invariant.Assert(previousNode == null || previousNode.
SymbolCount
> 0 || previousNode.AfterEndReferenceCount,
219
Invariant.Assert(nextNode == null || nextNode.
SymbolCount
> 0 || nextNode.BeforeStartReferenceCount,