7 overrides of SymbolCount
PresentationFramework (7)
System\Windows\Documents\TextTreeFixupNode.cs (1)
236internal override int SymbolCount
System\Windows\Documents\TextTreeObjectNode.cs (1)
203internal override int SymbolCount
System\Windows\Documents\TextTreeRootNode.cs (1)
249internal override int SymbolCount
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
179internal override int SymbolCount
System\Windows\Documents\TextTreeTextBlock.cs (1)
397internal override int SymbolCount
System\Windows\Documents\TextTreeTextElementNode.cs (1)
210internal override int SymbolCount
System\Windows\Documents\TextTreeTextNode.cs (1)
390internal override int SymbolCount
1 write to SymbolCount
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3195containingNode.SymbolCount += symbolCount;
34 references to SymbolCount
PresentationFramework (34)
System\Windows\Documents\SplayTreeNode.cs (4)
48nodeSymbolCount = node.SymbolCount; 485root.LeftSymbolCount = leftSubTree.LeftSymbolCount + leftSubTree.SymbolCount; 887rightChildNode.LeftSymbolCount += this.LeftSymbolCount + this.SymbolCount; 952this.LeftSymbolCount -= leftChildNode.LeftSymbolCount + leftChildNode.SymbolCount;
System\Windows\Documents\TextContainer.cs (20)
507if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 557if (textNode == null || nodeOffset == 0 || nodeOffset == node.SymbolCount) 572if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 590if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 621if (node is TextTreeTextNode && nodeOffset > 0 && nodeOffset < node.SymbolCount) 839if (position.Node.SymbolCount == 0) 849Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 850(position.Edge == ElementEdge.BeforeStart && position.Node.GetNextNode() is TextTreeTextNode && position.Node.GetNextNode().SymbolCount > 0)); 1189UpdateContainerSymbolCount(objectNode.GetContainingNode(), objectNode.SymbolCount, objectNode.IMECharCount); 1328if (offset == nodeOffset + node.SymbolCount - 1) 1334if (offset == nodeOffset + node.SymbolCount) 2158Invariant.Assert(node.SymbolCount > 0, "Only TextTreeTextNodes may have zero symbol counts!"); 2174if (nextNode.SymbolCount == 0) 2181Invariant.Assert(textNode.GetPreviousNode() == null || textNode.GetPreviousNode().SymbolCount > 0, "Found three consecutive zero-width text nodes! (1)"); 2182Invariant.Assert(nextNode.GetNextNode() == null || nextNode.GetNextNode().SymbolCount > 0, "Found three consecutive zero-width text nodes! (2)"); 2201if (previousNode != null && previousNode.SymbolCount == 0 && !((TextTreeNode)previousNode).AfterEndReferenceCount) 2215if (nextNode != null && nextNode.SymbolCount == 0 && !((TextTreeNode)nextNode).BeforeStartReferenceCount) 2727symbolCount += childNode.LeftSymbolCount + childNode.SymbolCount; 3077nextNode.LeftSymbolCount += maxChildNode.LeftSymbolCount + maxChildNode.SymbolCount; 3141Invariant.Assert(clone != null || node is TextTreeTextNode && node.SymbolCount == 0);
System\Windows\Documents\TextPointer.cs (3)
597count += textNode.SymbolCount; 2921offset = node.GetSymbolOffset(tree.Generation) + node.SymbolCount - 1; 2925offset = node.GetSymbolOffset(tree.Generation) + node.SymbolCount;
System\Windows\Documents\TextTreeNode.cs (5)
478if (this.SymbolCount == 0) 489else if (nodeOffset == this.SymbolCount) 499Invariant.Assert(nodeOffset == this.SymbolCount - 1); 521offset = this.SymbolCount - 1; 525offset = this.SymbolCount;
System\Windows\Documents\TextTreeTextNode.cs (2)
207Invariant.Assert(previousNode == null || previousNode.SymbolCount > 0 || previousNode.AfterEndReferenceCount, 218Invariant.Assert(nextNode == null || nextNode.SymbolCount > 0 || nextNode.BeforeStartReferenceCount,