2 types derived from XmlTextWriter
Microsoft.Build (1)
ProjectWriter.cs (1)
18internal sealed class ProjectWriter : XmlTextWriter
System.Private.Xml (1)
System\Xml\Dom\XmlDomTextWriter.cs (1)
12internal sealed class XmlDOMTextWriter : XmlTextWriter
79 instantiations of XmlTextWriter
Microsoft.Build.Tasks.Core (4)
AddToWin32Manifest.cs (1)
171using (var xmlWriter = new XmlTextWriter(ManifestPath, Encoding.UTF8))
BootstrapperUtil\BootstrapperBuilder.cs (1)
1996using (var xmlwriter = new XmlTextWriter(System.IO.Path.Combine(s_logPath, fileName), Encoding.UTF8))
ManifestUtil\ManifestFormatter.cs (1)
28var w = new XmlTextWriter(m, Encoding.UTF8)
ManifestUtil\XmlUtil.cs (1)
119var w = new XmlTextWriter(m, Encoding.UTF8);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
PDB\PDBWinMdExpTests.vb (1)
201Dim writer As New System.Xml.XmlTextWriter(New StringWriter(builder))
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
120manifestWriter = new XmlTextWriter(appManifestFile, System.Text.Encoding.UTF8);
MS\Internal\Localization\LocalizationParserHooks.cs (1)
108using (XmlTextWriter writer = new XmlTextWriter(memStream, new UTF8Encoding(false)))
PresentationFramework (8)
MS\Internal\LayoutDump.cs (2)
45XmlTextWriter writer = new XmlTextWriter(stringWriter); 105XmlTextWriter writer = new XmlTextWriter(stringWriter);
System\windows\Documents\TextEditorCopyPaste.cs (1)
135XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
System\Windows\Documents\TextRangeBase.cs (2)
1462XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter); 1512XmlTextWriter xamlXmlWriter = new XmlTextWriter(xamlStreamWriter);
System\Windows\Documents\WpfPayload.cs (1)
196XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
System\Windows\Markup\XamlWriter.cs (2)
79XmlTextWriter xmlWriter = new XmlTextWriter(writer); 104XmlTextWriter xmlWriter = new XmlTextWriter(stream, null);
ReachFramework (18)
AlphaFlattener\Flattener.cs (3)
464XmlTextWriter writer = new System.Xml.XmlTextWriter(stream, System.Text.Encoding.UTF8); 481System.Xml.XmlTextWriter resWriter = new System.Xml.XmlTextWriter(resString); 487System.Xml.XmlTextWriter bodyWriter = new System.Xml.XmlTextWriter(bodyString);
Packaging\PartEditor.cs (1)
255_xmlWriter = new XmlTextWriter(stream, System.Text.Encoding.UTF8);
Packaging\XpsFixedDocumentReaderWriter.cs (1)
1123using (XmlTextWriter writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8))
Packaging\XpsFixedPageReaderWriter.cs (3)
462_resourceXmlWriter = new XmlTextWriter(_resourceStream); 464_resourceDictionaryXmlWriter = new XmlTextWriter(_resourceDictionaryStream); 467_pageXmlWriter = new XmlTextWriter(_pageStream);
Serialization\Manager\NullPackagingPolicy.cs (6)
80_currentDSWriter = new XmlTextWriter(_currentFixedDocumentSequenceWriter); 143_currentFDWriter = new XmlTextWriter(_currentFixedDocumentWriter); 212_currentFPWriter = new XmlTextWriter(_currentFixedPageWriter); 215_resourceXmlWriter = new XmlTextWriter(_resourceStream); 217_resourceDictionaryXmlWriter = new XmlTextWriter(_resourceDictionaryStream); 219_pageXmlWriter = new XmlTextWriter(_pageStream);
Serialization\Manager\ReachSerializationUtils.cs (1)
1060_linkXmlWriter = new XmlTextWriter(_linkStream);
Serialization\Manager\XpsOMPackagingPolicy.cs (2)
249_currentResourceXmlWriter = new XmlTextWriter(_currentResourceStream); 250_currentPageContentXmlWriter = new XmlTextWriter(_currentPageContentStream);
Serialization\VisualSerializer.cs (1)
676XmlTextWriter xwriter = new XmlTextWriter(swriter);
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationSection.cs (1)
59XmlTextWriter writer = new XmlTextWriter(strWriter)
System.Data.Common (37)
System\Data\Common\ObjectStorage.cs (1)
490using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
123using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
157using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
121using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
233using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
124using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
159using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
231using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
124using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
233using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
230using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
185using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SqlUDTStorage.cs (1)
209using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\DataSet.cs (12)
404XmlTextWriter w = new XmlTextWriter(strWriter); 1454XmlTextWriter writer = new XmlTextWriter(strWriter); 1472XmlTextWriter w = new XmlTextWriter(strWriter); 1491XmlTextWriter writer = new XmlTextWriter(strWriter); 1508XmlTextWriter writer = new XmlTextWriter(strWriter); 1988XmlTextWriter xw = new XmlTextWriter(fileName, null); 2011XmlTextWriter w = new XmlTextWriter(stream, null); 2026XmlTextWriter w = new XmlTextWriter(writer); 2919XmlTextWriter w = new XmlTextWriter(stream, null); 2932XmlTextWriter w = new XmlTextWriter(writer); 2972XmlTextWriter xw = new XmlTextWriter(fileName, null); 3531XmlWriter writer = new XmlTextWriter(stream, null);
System\Data\DataTable.cs (7)
5356XmlTextWriter w = new XmlTextWriter(stream, null); 5376XmlTextWriter w = new XmlTextWriter(writer); 5470using (XmlTextWriter xw = new XmlTextWriter(fileName, null)) 5499XmlTextWriter w = new XmlTextWriter(stream, null); 5518XmlTextWriter w = new XmlTextWriter(writer); 5626XmlTextWriter xw = new XmlTextWriter(fileName, null); 6731XmlWriter writer = new XmlTextWriter(stream, null);
System\Data\xmlsaver.cs (1)
858xw = new XmlTextWriter(_filePath + _fileName + "_" + _prefixes[ns] + ".xsd", null);
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\XmlWriterTraceListener.cs (1)
163_xmlBlobWriter = new XmlTextWriter(new StringWriter(_strBldr, CultureInfo.CurrentCulture));
System.Private.Xml (3)
System\Xml\Core\XmlReader.cs (1)
1241XmlTextWriter w = new(sw);
System\Xml\Schema\XmlSchema.cs (2)
107XmlTextWriter xmlWriter = new XmlTextWriter(stream, null); 125XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
134XmlWriter writer = new XmlTextWriter(ms, null);
System.Windows.Forms (3)
System\Resources\ResXResourceWriter.cs (3)
157_xmlTextWriter = new XmlTextWriter(_textWriter); 161_xmlTextWriter = new XmlTextWriter(_stream, Encoding.UTF8); 166_xmlTextWriter = new XmlTextWriter(_fileName, Encoding.UTF8);
125 references to XmlTextWriter
Microsoft.Build.Tasks.Core (4)
AddToWin32Manifest.cs (1)
171using (var xmlWriter = new XmlTextWriter(ManifestPath, Encoding.UTF8))
BootstrapperUtil\BootstrapperBuilder.cs (1)
1996using (var xmlwriter = new XmlTextWriter(System.IO.Path.Combine(s_logPath, fileName), Encoding.UTF8))
ManifestUtil\ManifestFormatter.cs (1)
28var w = new XmlTextWriter(m, Encoding.UTF8)
ManifestUtil\XmlUtil.cs (1)
119var w = new XmlTextWriter(m, Encoding.UTF8);
netstandard (1)
netstandard.cs (1)
2504[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlTextWriter))]
PresentationBuildTasks (2)
Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
82XmlTextWriter manifestWriter = null;
MS\Internal\Localization\LocalizationParserHooks.cs (1)
108using (XmlTextWriter writer = new XmlTextWriter(memStream, new UTF8Encoding(false)))
PresentationFramework (48)
MS\Internal\LayoutDump.cs (35)
45XmlTextWriter writer = new XmlTextWriter(stringWriter); 65internal static void DumpLayoutAndVisualTree(XmlTextWriter writer, string tagName, Visual root) 105XmlTextWriter writer = new XmlTextWriter(stringWriter); 125internal static void DumpLayoutTree(XmlTextWriter writer, string tagName, UIElement root) 167internal delegate bool DumpCustomUIElement(XmlTextWriter writer, UIElement element, bool uiElementsOnly); 172internal delegate void DumpCustomDocumentPage(XmlTextWriter writer, DocumentPage page); 197internal static void DumpVisual(XmlTextWriter writer, Visual visual, Visual parent) 240private static void DumpUIElement(XmlTextWriter writer, UIElement element, Visual parent, bool uiElementsOnly) 294internal static void DumpDocumentPage(XmlTextWriter writer, DocumentPage page, Visual parent) 332private static void DumpVisualChildren(XmlTextWriter writer, string tagName, Visual visualParent) 353internal static void DumpUIElementChildren(XmlTextWriter writer, string tagName, Visual visualParent) 377internal static void DumpPoint(XmlTextWriter writer, string tagName, Point point) 388internal static void DumpSize(XmlTextWriter writer, string tagName, Size size) 399internal static void DumpRect(XmlTextWriter writer, string tagName, Rect rect) 460private static bool DumpDocumentPageView(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 476private static bool DumpText(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 509private static bool DumpFlowDocumentScrollViewer(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 535private static bool DumpFlowDocumentView(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 575private static void DumpFlowDocumentPage(XmlTextWriter writer, DocumentPage page) 596private static void DumpTextRange(XmlTextWriter writer, string content) 610private static void DumpTextRange(XmlTextWriter writer, ITextPointer start, ITextPointer end) 624private static void DumpLineRange(XmlTextWriter writer, int cpStart, int cpEnd, int cpContentEnd, int cpEllipses) 643private static void DumpLineResults(XmlTextWriter writer, ReadOnlyCollection<LineResult> lines, Visual visualParent) 684private static void DumpParagraphResults(XmlTextWriter writer, string tagName, ReadOnlyCollection<ParagraphResult> paragraphs, Visual visualParent) 732private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent) 754private static void DumpContainerParagraphResult(XmlTextWriter writer, ContainerParagraphResult paragraph, Visual visualParent) 772private static void DumpFloaterParagraphResult(XmlTextWriter writer, FloaterParagraphResult paragraph, Visual visualParent) 790private static void DumpUIElementParagraphResult(XmlTextWriter writer, UIElementParagraphResult paragraph, Visual visualParent) 807private static void DumpFigureParagraphResult(XmlTextWriter writer, FigureParagraphResult paragraph, Visual visualParent) 825private static void DumpTableParagraphResult(XmlTextWriter writer, TableParagraphResult paragraph, Visual visualParent) 854private static void DumpSubpageParagraphResult(XmlTextWriter writer, SubpageParagraphResult paragraph, Visual visualParent) 872private static void DumpColumnResults(XmlTextWriter writer, ReadOnlyCollection<ColumnResult> columns, Visual visualParent) 898private static Visual DumpParagraphOffset(XmlTextWriter writer, ParagraphResult paragraph, Visual visualParent) 926private static void DumpTableCalculatedMetrics(XmlTextWriter writer, object element) 943private static void DumpTableCell(XmlTextWriter writer, ParagraphResult paragraph, Visual cellVisual, Visual tableVisual)
System\windows\Documents\TextEditorCopyPaste.cs (1)
135XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
System\Windows\Documents\TextRangeBase.cs (2)
1462XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter); 1512XmlTextWriter xamlXmlWriter = new XmlTextWriter(xamlStreamWriter);
System\Windows\Documents\TextRangeSerialization.cs (5)
61if (xmlWriter is XmlTextWriter) 63saveWriterFormatting = ((XmlTextWriter)xmlWriter).Formatting; 64((XmlTextWriter)xmlWriter).Formatting = Formatting.None; 108if (xmlWriter is XmlTextWriter) 110((XmlTextWriter)xmlWriter).Formatting = saveWriterFormatting;
System\Windows\Documents\WpfPayload.cs (1)
196XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
157_xmlTextWriter = writer as XmlTextWriter; 1664private XmlTextWriter _xmlTextWriter;
System\Windows\Markup\XamlWriter.cs (2)
79XmlTextWriter xmlWriter = new XmlTextWriter(writer); 104XmlTextWriter xmlWriter = new XmlTextWriter(stream, null);
ReachFramework (10)
AlphaFlattener\Flattener.cs (3)
464XmlTextWriter writer = new System.Xml.XmlTextWriter(stream, System.Text.Encoding.UTF8); 481System.Xml.XmlTextWriter resWriter = new System.Xml.XmlTextWriter(resString); 487System.Xml.XmlTextWriter bodyWriter = new System.Xml.XmlTextWriter(bodyString);
Packaging\PartEditor.cs (2)
192internal XmlTextWriter XmlWriter 328private XmlTextWriter _xmlWriter;
Packaging\XpsFixedDocumentReaderWriter.cs (2)
850XmlTextWriter xmlWriter = _partEditor.XmlWriter; 1123using (XmlTextWriter writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8))
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (1)
482XmlTextWriter xmlWriter = _partEditor.XmlWriter;
Serialization\Manager\NullPackagingPolicy.cs (1)
951XmlTextWriter _currentDSWriter;
Serialization\VisualSerializer.cs (1)
676XmlTextWriter xwriter = new XmlTextWriter(swriter);
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationSection.cs (1)
59XmlTextWriter writer = new XmlTextWriter(strWriter)
System.Data.Common (40)
System\Data\Common\ObjectStorage.cs (1)
490using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
123using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
157using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
121using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
233using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
124using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
159using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
231using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
124using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
233using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
232using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
230using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
185using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\Common\SqlUDTStorage.cs (1)
209using (XmlTextWriter xmlTextWriter = new XmlTextWriter(strwriter))
System\Data\DataSet.cs (11)
404XmlTextWriter w = new XmlTextWriter(strWriter); 1454XmlTextWriter writer = new XmlTextWriter(strWriter); 1472XmlTextWriter w = new XmlTextWriter(strWriter); 1491XmlTextWriter writer = new XmlTextWriter(strWriter); 1508XmlTextWriter writer = new XmlTextWriter(strWriter); 1988XmlTextWriter xw = new XmlTextWriter(fileName, null); 2011XmlTextWriter w = new XmlTextWriter(stream, null); 2026XmlTextWriter w = new XmlTextWriter(writer); 2919XmlTextWriter w = new XmlTextWriter(stream, null); 2932XmlTextWriter w = new XmlTextWriter(writer); 2972XmlTextWriter xw = new XmlTextWriter(fileName, null);
System\Data\DataTable.cs (6)
5356XmlTextWriter w = new XmlTextWriter(stream, null); 5376XmlTextWriter w = new XmlTextWriter(writer); 5470using (XmlTextWriter xw = new XmlTextWriter(fileName, null)) 5499XmlTextWriter w = new XmlTextWriter(stream, null); 5518XmlTextWriter w = new XmlTextWriter(writer); 5626XmlTextWriter xw = new XmlTextWriter(fileName, null);
System\Data\xmlsaver.cs (6)
865if (xw is XmlTextWriter) 867((XmlTextWriter)xw).Formatting = Formatting.Indented; 1086XmlTextWriter? textw = xw as XmlTextWriter; 3143XmlTextWriter? textWriter = _xmltextWriter as XmlTextWriter;
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\XmlWriterTraceListener.cs (1)
22private XmlTextWriter? _xmlBlobWriter;
System.Private.Xml (12)
System\Xml\Core\XmlReader.cs (7)
1119using (XmlTextWriter xtw = CreateWriterForInnerOuterXml(sw)) 1137private void WriteNode(XmlTextWriter xtw, bool defattr) 1188private void WriteAttributeValue(XmlTextWriter xtw) 1222using (XmlTextWriter xtw = CreateWriterForInnerOuterXml(sw)) 1239private XmlTextWriter CreateWriterForInnerOuterXml(StringWriter sw) 1241XmlTextWriter w = new(sw); 1247private void SetNamespacesFlag(XmlTextWriter xtw)
System\Xml\Core\XmlReaderAsync.cs (3)
193using (XmlTextWriter xtw = CreateWriterForInnerOuterXml(sw)) 211private async Task WriteNodeAsync(XmlTextWriter xtw, bool defattr) 276using (XmlTextWriter xtw = CreateWriterForInnerOuterXml(sw))
System\Xml\Schema\XmlSchema.cs (2)
107XmlTextWriter xmlWriter = new XmlTextWriter(stream, null); 125XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System.Private.Xml.Linq (2)
System\Xml\Linq\XElement.cs (2)
1309/// Write this <see cref="XElement"/> to the passed in <see cref="XmlTextWriter"/>. 1312/// The <see cref="XmlTextWriter"/> to write this <see cref="XElement"/> to.
System.Windows.Forms (2)
System\Resources\ResXResourceWriter.cs (2)
91private XmlTextWriter? _xmlTextWriter; 237private XmlTextWriter Writer
System.Xml (1)
System.Xml.cs (1)
233[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlTextWriter))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
161[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlTextWriter))]