27 references to TextBlockType
System.Private.Xml (27)
System\Xml\Cache\XPathDocumentBuilder.cs (23)
222case TextBlockType.Text: 228goto case TextBlockType.Whitespace; 233goto case TextBlockType.Whitespace; 243case TextBlockType.SignificantWhitespace: 244case TextBlockType.Whitespace: 333WriteString(text, TextBlockType.Text); 370WriteString(ws, TextBlockType.Whitespace); 378WriteString(text, TextBlockType.Text); 383WriteString(new string(buffer, index, count), TextBlockType.Text); 391WriteString(data, TextBlockType.Text); 396WriteString(new string(buffer, index, count), TextBlockType.Text); 402public void WriteString(string? text, TextBlockType textType) 420WriteString(char.ToString(ch), TextBlockType.Text); 428WriteString(new string([highChar, lowChar]), TextBlockType.Text); 771TextBlockType textType; 853private TextBlockType _textType; 863_textType = TextBlockType.None; 869public TextBlockType TextType 879get { return _textType != TextBlockType.None; } 901public void WriteTextBlock(string? text, TextBlockType textType) 908if (_textType == TextBlockType.None) 935if (_textType == TextBlockType.None) 938_textType = TextBlockType.None;
System\Xml\XPath\XPathDocument.cs (4)
222builder.WriteString(reader.Value, TextBlockType.Text); 238builder.WriteString(reader.Value, TextBlockType.Text); 243builder.WriteString(reader.Value, TextBlockType.SignificantWhitespace); 258builder.WriteString(reader.Value, TextBlockType.Whitespace);