4 types derived from XmlTextWriter
SMDiagnostics (1)
System\ServiceModel\Diagnostics\EncodingFallbackAwareXmlTextWriter.cs (1)
11class EncodingFallbackAwareXmlTextWriter : XmlTextWriter
System.Activities.Presentation (1)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
256class NamespaceIndentingXmlWriter : XmlTextWriter
System.Data (1)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
256class NamespaceIndentingXmlWriter : XmlTextWriter
System.Xml (1)
System\Xml\Dom\XmlDomTextWriter.cs (1)
18internal class XmlDOMTextWriter : XmlTextWriter {
90 instantiations of XmlTextWriter
PresentationBuildTasks (2)
BuildTasks\Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
131manifestWriter = new XmlTextWriter(appManifestFile, System.Text.Encoding.UTF8);
BuildTasks\MS\Internal\Localization\LocalizationParserHooks.cs (1)
116using (XmlTextWriter writer = new XmlTextWriter(memStream, new UTF8Encoding(false)))
PresentationFramework (8)
src\Framework\MS\Internal\LayoutDump.cs (2)
50XmlTextWriter writer = new XmlTextWriter(stringWriter); 110XmlTextWriter writer = new XmlTextWriter(stringWriter);
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
186XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
1479XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter); 1537XmlTextWriter xamlXmlWriter = new XmlTextWriter(xamlStreamWriter);
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
205XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
src\Framework\System\Windows\Markup\XamlWriter.cs (2)
130XmlTextWriter xmlWriter = new XmlTextWriter(writer); 170XmlTextWriter xmlWriter = new XmlTextWriter(stream, null);
System.Configuration (1)
System\Configuration\ConfigurationSection.cs (1)
79XmlTextWriter writer = new XmlTextWriter(strWriter);
System.Data (37)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
398using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
110using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
139using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
109using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
208using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
111using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
141using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
206using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
110using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
208using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
208using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
164using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
184using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\DataSet.cs (12)
333XmlTextWriter w = new XmlTextWriter(strWriter); 1363XmlTextWriter writer = new XmlTextWriter(strWriter); 1383XmlTextWriter w = new XmlTextWriter(strWriter); 1400XmlTextWriter writer = new XmlTextWriter(strWriter); 1416XmlTextWriter writer = new XmlTextWriter(strWriter); 1822XmlTextWriter xw = new XmlTextWriter( fileName, null ); 1839XmlTextWriter w = new XmlTextWriter(stream, null); 1850XmlTextWriter w = new XmlTextWriter(writer); 2619XmlTextWriter w = new XmlTextWriter(stream, null); 2631XmlTextWriter w = new XmlTextWriter(writer); 2673XmlTextWriter xw = new XmlTextWriter(fileName, null); 3354XmlWriter writer = new XmlTextWriter(stream, null);
fx\src\data\System\Data\DataTable.cs (7)
4799XmlTextWriter w = new XmlTextWriter(stream, null) ; 4814XmlTextWriter w = new XmlTextWriter(writer) ; 4896using(XmlTextWriter xw = new XmlTextWriter( fileName, null )) { 4919XmlTextWriter w = new XmlTextWriter(stream, null) ; 4935XmlTextWriter w = new XmlTextWriter(writer); 5030XmlTextWriter xw = new XmlTextWriter( fileName, null ); 5947XmlWriter writer = new XmlTextWriter(stream, null);
fx\src\data\System\Data\xmlsaver.cs (1)
731xw = new XmlTextWriter(filePath + fileName + "_" + prefixes[ns] + ".xsd", null);
System.IdentityModel (1)
System\IdentityModel\EnvelopedSignatureWriter.cs (1)
102base.InitializeTracingWriter(new XmlTextWriter(_preCanonicalTracingStream, Encoding.UTF8));
System.ServiceModel (8)
System\ServiceModel\Channels\MessageHeader.cs (1)
54XmlTextWriter textWriter = new XmlTextWriter(stringWriter);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (1)
823XmlTextWriter writer = new XmlTextWriter(textWriter);
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
293using (XmlTextWriter commentWriter = new XmlTextWriter(memoryStream, Encoding.UTF8))
System\ServiceModel\Security\InfoCardHelper.cs (1)
799using (XmlWriter writer = new XmlTextWriter(buffer, Encoding.UTF8))
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
182using (XmlTextWriter xmlWriter = new XmlTextWriter(writer))
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
2293writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8); 2307writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8);
System\ServiceModel\Security\WSTrust.cs (1)
1413using (XmlDictionaryWriter writer = XmlDictionaryWriter.CreateDictionaryWriter(new XmlTextWriter(stream, Encoding.UTF8)))
System.ServiceModel.Internals (5)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (5)
337using (XmlTextWriter writer = new XmlTextWriter(stringWriter)) 478using (XmlTextWriter writer = new XmlTextWriter(stringWriter)) 727using (XmlTextWriter xml = new XmlTextWriter(stringWriter)) 819using (XmlTextWriter xml = new XmlTextWriter(stringWriter)) 848using (XmlTextWriter xml = new XmlTextWriter(stringWriter))
System.Transactions (1)
System\Transactions\Trace\TraceXPathNavigator.cs (1)
464XmlTextWriter writer = new XmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture));
System.Web (2)
Compilation\PreservationFileWriter.cs (1)
37_writer = new XmlTextWriter(preservationFile, Encoding.UTF8);
UI\Page.cs (1)
5284using (XmlTextWriter writer = new XmlTextWriter(Response.Output)) {
System.Web.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
677 XmlTextWriter textWriter = new XmlTextWriter(new StringWriter(stringBuilder, CultureInfo.InvariantCulture));
System.Web.Extensions (1)
Script\Services\ServicesUtilities.cs (1)
116using (XmlTextWriter writer = new XmlTextWriter(ms, Encoding.UTF8)) {
System.Web.Services (5)
System\Web\Services\Description\ServiceDescription.cs (2)
413XmlTextWriter xmlWriter = new XmlTextWriter(writer); 587XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System\Web\Services\Discovery\DiscoveryDocument.cs (1)
98XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
240XmlTextWriter writer = new XmlTextWriter(new StreamWriter(message.Stream, RequestEncoding != null ? RequestEncoding : new UTF8Encoding(false), bufferSize));
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
254return new XmlTextWriter(new StreamWriter(message.Stream, new UTF8Encoding(false), bufferSize));
System.Windows.Forms (3)
winforms\Managed\System\Resources\ResXResourceWriter.cs (3)
308xmlTextWriter = new XmlTextWriter(textWriter); 311xmlTextWriter = new XmlTextWriter(stream, System.Text.Encoding.UTF8); 315xmlTextWriter = new XmlTextWriter(fileName, System.Text.Encoding.UTF8);
System.Windows.Forms.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
677 XmlTextWriter textWriter = new XmlTextWriter(new StringWriter(stringBuilder, CultureInfo.InvariantCulture));
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ComponentSerializationService.cs (1)
301using (XmlTextWriter writer = new XmlTextWriter(stringWriter))
System.Workflow.Runtime (1)
Tracking\TrackingProfileSerializer.cs (1)
872XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System.Xml (5)
System\Xml\Core\XmlReader.cs (1)
1180XmlTextWriter w = new XmlTextWriter(sw);
System\Xml\Schema\XmlSchema.cs (2)
135XmlTextWriter xmlWriter = new XmlTextWriter(stream, null); 153XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System\Xml\Serialization\XmlSerializer.cs (2)
279XmlTextWriter xmlWriter = new XmlTextWriter(textWriter); 298XmlTextWriter xmlWriter = new XmlTextWriter(stream, null);
WindowsBase (7)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (2)
520using (XmlTextWriter writer = new XmlTextWriter(s, System.Text.Encoding.UTF8)) 782_streamingXmlWriter = new XmlTextWriter(s, System.Text.Encoding.UTF8);
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
776_xmlWriter = new XmlTextWriter(writerStream, System.Text.Encoding.UTF8);
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (2)
546using (XmlTextWriter writer = new XmlTextWriter(new IgnoreFlushAndCloseStream(s), 1001using (XmlTextWriter xWriter = new XmlTextWriter(s, System.Text.Encoding.UTF8))
Base\System\IO\Packaging\ZipPackage.cs (2)
1047using (XmlTextWriter writer = new XmlTextWriter(s, System.Text.Encoding.UTF8)) 1501_streamingXmlWriter = new XmlTextWriter(s, System.Text.Encoding.UTF8);
156 references to XmlTextWriter
PresentationBuildTasks (2)
BuildTasks\Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
93XmlTextWriter manifestWriter = null;
BuildTasks\MS\Internal\Localization\LocalizationParserHooks.cs (1)
116using (XmlTextWriter writer = new XmlTextWriter(memStream, new UTF8Encoding(false)))
PresentationFramework (48)
src\Framework\MS\Internal\LayoutDump.cs (35)
50XmlTextWriter writer = new XmlTextWriter(stringWriter); 70internal static void DumpLayoutAndVisualTree(XmlTextWriter writer, string tagName, Visual root) 110XmlTextWriter writer = new XmlTextWriter(stringWriter); 130internal static void DumpLayoutTree(XmlTextWriter writer, string tagName, UIElement root) 172internal delegate bool DumpCustomUIElement(XmlTextWriter writer, UIElement element, bool uiElementsOnly); 177internal delegate void DumpCustomDocumentPage(XmlTextWriter writer, DocumentPage page); 202internal static void DumpVisual(XmlTextWriter writer, Visual visual, Visual parent) 245private static void DumpUIElement(XmlTextWriter writer, UIElement element, Visual parent, bool uiElementsOnly) 299internal static void DumpDocumentPage(XmlTextWriter writer, DocumentPage page, Visual parent) 337private static void DumpVisualChildren(XmlTextWriter writer, string tagName, Visual visualParent) 359internal static void DumpUIElementChildren(XmlTextWriter writer, string tagName, Visual visualParent) 383internal static void DumpPoint(XmlTextWriter writer, string tagName, Point point) 394internal static void DumpSize(XmlTextWriter writer, string tagName, Size size) 405internal static void DumpRect(XmlTextWriter writer, string tagName, Rect rect) 466private static bool DumpDocumentPageView(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 482private static bool DumpText(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 515private static bool DumpFlowDocumentScrollViewer(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 541private static bool DumpFlowDocumentView(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 581private static void DumpFlowDocumentPage(XmlTextWriter writer, DocumentPage page) 602private static void DumpTextRange(XmlTextWriter writer, string content) 616private static void DumpTextRange(XmlTextWriter writer, ITextPointer start, ITextPointer end) 630private static void DumpLineRange(XmlTextWriter writer, int cpStart, int cpEnd, int cpContentEnd, int cpEllipses) 649private static void DumpLineResults(XmlTextWriter writer, ReadOnlyCollection<LineResult> lines, Visual visualParent) 690private static void DumpParagraphResults(XmlTextWriter writer, string tagName, ReadOnlyCollection<ParagraphResult> paragraphs, Visual visualParent) 738private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent) 760private static void DumpContainerParagraphResult(XmlTextWriter writer, ContainerParagraphResult paragraph, Visual visualParent) 778private static void DumpFloaterParagraphResult(XmlTextWriter writer, FloaterParagraphResult paragraph, Visual visualParent) 796private static void DumpUIElementParagraphResult(XmlTextWriter writer, UIElementParagraphResult paragraph, Visual visualParent) 813private static void DumpFigureParagraphResult(XmlTextWriter writer, FigureParagraphResult paragraph, Visual visualParent) 831private static void DumpTableParagraphResult(XmlTextWriter writer, TableParagraphResult paragraph, Visual visualParent) 860private static void DumpSubpageParagraphResult(XmlTextWriter writer, SubpageParagraphResult paragraph, Visual visualParent) 878private static void DumpColumnResults(XmlTextWriter writer, ReadOnlyCollection<ColumnResult> columns, Visual visualParent) 904private static Visual DumpParagraphOffset(XmlTextWriter writer, ParagraphResult paragraph, Visual visualParent) 932private static void DumpTableCalculatedMetrics(XmlTextWriter writer, object element) 949private static void DumpTableCell(XmlTextWriter writer, ParagraphResult paragraph, Visual cellVisual, Visual tableVisual)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
186XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
1479XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter); 1537XmlTextWriter xamlXmlWriter = new XmlTextWriter(xamlStreamWriter);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (5)
69if (xmlWriter is XmlTextWriter) 71saveWriterFormatting = ((XmlTextWriter)xmlWriter).Formatting; 72((XmlTextWriter)xmlWriter).Formatting = Formatting.None; 116if (xmlWriter is XmlTextWriter) 118((XmlTextWriter)xmlWriter).Formatting = saveWriterFormatting;
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
205XmlTextWriter xmlWriter = new XmlTextWriter(stringWriter);
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (2)
178_xmlTextWriter = writer as XmlTextWriter; 1688private XmlTextWriter _xmlTextWriter;
src\Framework\System\Windows\Markup\XamlWriter.cs (2)
130XmlTextWriter xmlWriter = new XmlTextWriter(writer); 170XmlTextWriter xmlWriter = new XmlTextWriter(stream, null);
System.Configuration (1)
System\Configuration\ConfigurationSection.cs (1)
79XmlTextWriter writer = new XmlTextWriter(strWriter);
System.Data (41)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1255getSchemaSerializable.Statements.Add(MethodCall(This(), "WriteXmlSchema", New(typeof(System.Xml.XmlTextWriter),new CodeExpression[] {Argument("stream"),Primitive(null)})));
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
398using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
110using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
139using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
109using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
208using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
111using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
141using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
206using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
110using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
208using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
207using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
208using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
164using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
184using (XmlTextWriter xmlTextWriter = new XmlTextWriter (strwriter)) {
fx\src\data\System\Data\DataSet.cs (11)
333XmlTextWriter w = new XmlTextWriter(strWriter); 1363XmlTextWriter writer = new XmlTextWriter(strWriter); 1383XmlTextWriter w = new XmlTextWriter(strWriter); 1400XmlTextWriter writer = new XmlTextWriter(strWriter); 1416XmlTextWriter writer = new XmlTextWriter(strWriter); 1822XmlTextWriter xw = new XmlTextWriter( fileName, null ); 1839XmlTextWriter w = new XmlTextWriter(stream, null); 1850XmlTextWriter w = new XmlTextWriter(writer); 2619XmlTextWriter w = new XmlTextWriter(stream, null); 2631XmlTextWriter w = new XmlTextWriter(writer); 2673XmlTextWriter xw = new XmlTextWriter(fileName, null);
fx\src\data\System\Data\DataTable.cs (6)
4799XmlTextWriter w = new XmlTextWriter(stream, null) ; 4814XmlTextWriter w = new XmlTextWriter(writer) ; 4896using(XmlTextWriter xw = new XmlTextWriter( fileName, null )) { 4919XmlTextWriter w = new XmlTextWriter(stream, null) ; 4935XmlTextWriter w = new XmlTextWriter(writer); 5030XmlTextWriter xw = new XmlTextWriter( fileName, null );
fx\src\data\System\Data\xmlsaver.cs (6)
736if (xw is XmlTextWriter) { 737((XmlTextWriter)xw).Formatting = Formatting.Indented; 919XmlTextWriter textw = xw as XmlTextWriter; 2707XmlTextWriter textWriter = _xmltextWriter as XmlTextWriter;
System.IdentityModel (1)
System\IdentityModel\SignedXml.cs (1)
934using (XmlWriter bufferWriter = XmlTextWriter.Create(_bufferedStream, settings))
System.ServiceModel (6)
System\ServiceModel\Channels\MessageHeader.cs (1)
54XmlTextWriter textWriter = new XmlTextWriter(stringWriter);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (1)
823XmlTextWriter writer = new XmlTextWriter(textWriter);
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
293using (XmlTextWriter commentWriter = new XmlTextWriter(memoryStream, Encoding.UTF8))
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (2)
150XmlTextWriter xmlTextWriter = writer as XmlTextWriter;
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
182using (XmlTextWriter xmlWriter = new XmlTextWriter(writer))
System.ServiceModel.Internals (8)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (8)
337using (XmlTextWriter writer = new XmlTextWriter(stringWriter)) 478using (XmlTextWriter writer = new XmlTextWriter(stringWriter)) 727using (XmlTextWriter xml = new XmlTextWriter(stringWriter)) 743static void WriteExceptionToTraceString(XmlTextWriter xml, Exception exception, int remainingLength, int remainingAllowedRecursionDepth) 819using (XmlTextWriter xml = new XmlTextWriter(stringWriter)) 848using (XmlTextWriter xml = new XmlTextWriter(stringWriter)) 881static bool WriteStartElement(XmlTextWriter xml, string localName, ref int remainingLength) 893static bool WriteXmlElementString(XmlTextWriter xml, string localName, string value, ref int remainingLength)
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
374using (XmlWriter writer = XmlTextWriter.Create(sample, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true }))
System.Transactions (1)
System\Transactions\Trace\TraceXPathNavigator.cs (1)
464XmlTextWriter writer = new XmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture));
System.Web (2)
Compilation\PreservationFileWriter.cs (1)
22private XmlTextWriter _writer;
UI\Page.cs (1)
5284using (XmlTextWriter writer = new XmlTextWriter(Response.Output)) {
System.Web.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
677 XmlTextWriter textWriter = new XmlTextWriter(new StringWriter(stringBuilder, CultureInfo.InvariantCulture));
System.Web.Extensions (1)
Script\Services\ServicesUtilities.cs (1)
116using (XmlTextWriter writer = new XmlTextWriter(ms, Encoding.UTF8)) {
System.Web.Services (4)
System\Web\Services\Description\ServiceDescription.cs (2)
413XmlTextWriter xmlWriter = new XmlTextWriter(writer); 587XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System\Web\Services\Discovery\DiscoveryDocument.cs (1)
98XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
240XmlTextWriter writer = new XmlTextWriter(new StreamWriter(message.Stream, RequestEncoding != null ? RequestEncoding : new UTF8Encoding(false), bufferSize));
System.Windows.Forms (1)
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
236XmlTextWriter xmlTextWriter;
System.Windows.Forms.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
677 XmlTextWriter textWriter = new XmlTextWriter(new StringWriter(stringBuilder, CultureInfo.InvariantCulture));
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ComponentSerializationService.cs (1)
301using (XmlTextWriter writer = new XmlTextWriter(stringWriter))
System.Workflow.Runtime (17)
Tracking\TrackingProfileSerializer.cs (17)
872XmlTextWriter xmlWriter = new XmlTextWriter(writer); 882private void Write(TrackingProfile profile, XmlTextWriter writer) 910private void WriteTrackPoints(TrackingProfile profile, XmlTextWriter writer) 958private void WriteActivityTrackPoint(ActivityTrackPoint point, XmlTextWriter writer) 1012private void WriteWorkflowTrackPoint(WorkflowTrackPoint point, XmlTextWriter writer) 1029private void WriteUserTrackPoint(UserTrackPoint point, XmlTextWriter writer) 1088private void WriteActivityTrackingLocation(ActivityTrackingLocation loc, XmlTextWriter writer) 1116private void WriteUserTrackingLocation(UserTrackingLocation loc, XmlTextWriter writer) 1160private void WriteWorkflowTrackingLocation(WorkflowTrackingLocation loc, XmlTextWriter writer) 1180private void WriteExtracts(ExtractCollection extracts, XmlTextWriter writer) 1196private void WriteExtract(TrackingExtract extract, XmlTextWriter writer) 1217private void WriteConditions(TrackingConditionCollection conditions, XmlTextWriter writer) 1233private void WriteCondition(TrackingCondition condition, XmlTextWriter writer) 1262private void WriteAnnotations(TrackingAnnotationCollection annotations, XmlTextWriter writer) 1285private void WriteEvents(IList<ActivityExecutionStatus> events, XmlTextWriter writer) 1315private void WriteWorkflowEvents(IList<TrackingWorkflowEvent> events, XmlTextWriter writer) 1347private void InitWriter(XmlTextWriter writer)
System.Xml (12)
System\Xml\Core\XmlReader.cs (5)
1063((XmlTextWriter)xtw).QuoteChar = this.QuoteChar; 1080Debug.Assert(xtw is XmlTextWriter); 1088((XmlTextWriter)xtw).QuoteChar = this.QuoteChar; 1180XmlTextWriter w = new XmlTextWriter(sw); 1188void SetNamespacesFlag(XmlTextWriter xtw) {
System\Xml\Core\XmlReaderAsync.cs (3)
192((XmlTextWriter)xtw).QuoteChar = this.QuoteChar; 209Debug.Assert(xtw is XmlTextWriter); 217((XmlTextWriter)xtw).QuoteChar = this.QuoteChar;
System\Xml\Schema\XmlSchema.cs (2)
135XmlTextWriter xmlWriter = new XmlTextWriter(stream, null); 153XmlTextWriter xmlWriter = new XmlTextWriter(writer);
System\Xml\Serialization\XmlSerializer.cs (2)
279XmlTextWriter xmlWriter = new XmlTextWriter(textWriter); 298XmlTextWriter xmlWriter = new XmlTextWriter(stream, null);
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
4417/// Write this <see cref="XElement"/> to the passed in <see cref="XmlTextWriter"/>. 4420/// The <see cref="XmlTextWriter"/> to write this <see cref="XElement"/> to.
WindowsBase (5)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
520using (XmlTextWriter writer = new XmlTextWriter(s, System.Text.Encoding.UTF8))
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
949private XmlTextWriter _xmlWriter;
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (2)
546using (XmlTextWriter writer = new XmlTextWriter(new IgnoreFlushAndCloseStream(s), 1001using (XmlTextWriter xWriter = new XmlTextWriter(s, System.Text.Encoding.UTF8))
Base\System\IO\Packaging\ZipPackage.cs (1)
1047using (XmlTextWriter writer = new XmlTextWriter(s, System.Text.Encoding.UTF8))