17 types derived from XmlWriter
Microsoft.Web.XmlTransform (1)
System.Data.Common (1)
System.Private.DataContractSerialization (2)
System.Private.Xml (12)
System.Private.Xml.Linq (1)
733 references to XmlWriter
aspire (2)
Aspire.Dashboard (2)
Aspire.Templates.Tests (2)
dotnet (2)
dotnet-user-jwts (2)
dotnet-user-secrets (2)
Extensibility.MessageEncoder.IntegrationTests (4)
ILCompiler.Compiler (2)
ILCompiler.DependencyAnalysisFramework (4)
illink (6)
ILLink.Tasks (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (25)
Microsoft.Build (3)
Microsoft.Build.Tasks.Core (2)
Microsoft.DotNet.ApiCompatibility (2)
Microsoft.DotNet.Build.Tasks.Installers (2)
Microsoft.DotNet.XliffTasks (2)
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (3)
Microsoft.Maui.Resizetizer (6)
Microsoft.NET.HostModel (2)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (12)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
Microsoft.Web.XmlTransform (4)
netstandard (1)
System.Configuration.ConfigurationManager (12)
System.Data.Common (70)
System\Data\DataSet.cs (13)
1964/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to an <see cref='XmlWriter'/> object.</summary>
1965/// <param name="writer">The <see cref='XmlWriter'/> object with which to write.</param>
1968public void WriteXmlSchema(XmlWriter? writer) => WriteXmlSchema(writer, SchemaFormat.Public, null);
1970/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to an <see cref='XmlWriter'/> object.</summary>
1971/// <param name="writer">The <see cref='XmlWriter'/> object with which to write.</param>
1975public void WriteXmlSchema(XmlWriter? writer, Converter<Type, string> multipleTargetConverter)
2031private void WriteXmlSchema(XmlWriter? writer, SchemaFormat schemaFormat, Converter<Type, string>? multipleTargetConverter)
2901public void WriteXml(XmlWriter? writer) => WriteXml(writer, XmlWriteMode.IgnoreSchema);
2938public void WriteXml(XmlWriter? writer, XmlWriteMode mode)
3528XmlWriter writer = new XmlTextWriter(stream, null);
3539private static void WriteXmlSchema(DataSet ds, XmlWriter writer)
3588void IXmlSerializable.WriteXml(XmlWriter writer)
3600private void WriteXmlInternal(XmlWriter writer)
System\Data\DataTable.cs (9)
5332public void WriteXml(XmlWriter? writer) => WriteXml(writer, XmlWriteMode.IgnoreSchema, false);
5336public void WriteXml(XmlWriter? writer, bool writeHierarchy) => WriteXml(writer, XmlWriteMode.IgnoreSchema, writeHierarchy);
5385public void WriteXml(XmlWriter? writer, XmlWriteMode mode)
5392public void WriteXml(XmlWriter? writer, XmlWriteMode mode, bool writeHierarchy)
5561public void WriteXmlSchema(XmlWriter? writer) => WriteXmlSchema(writer, false);
5565public void WriteXmlSchema(XmlWriter? writer, bool writeHierarchy)
6731XmlWriter writer = new XmlTextWriter(stream, null);
6770void IXmlSerializable.WriteXml(XmlWriter writer)
6782private void WriteXmlInternal(XmlWriter writer)
System\Data\xmlsaver.cs (18)
545internal void SchemaTree(XmlDocument xd, XmlWriter xmlWriter, DataSet? ds, DataTable? dt, bool writeHierarchy)
850XmlWriter? xw = null;
1077internal void SetPath(XmlWriter xw)
1103internal void Save(DataSet ds, XmlWriter xw)
1110internal void Save(DataTable dt, XmlWriter xw)
1124internal void Save(DataSet ds, DataTable? dt, XmlWriter xw)
1131internal void Save(DataSet? ds, DataTable? dt, XmlWriter xw, bool writeHierarchy)
1138internal void Save(DataSet? ds, DataTable? dt, XmlWriter xw, bool writeHierarchy, Converter<Type, string>? multipleTargetConverter)
2267internal XmlWriter _xmlw = default!; // Late-initialized
2348internal void Save(XmlWriter xmlw)
2355internal void Save(XmlWriter xmlw, DataTable? table)
2679private XmlWriter? _xmlw;
2803internal void SaveDiffgramData(XmlWriter xw, Hashtable rowsOrder)
2847internal void Save(XmlWriter xw, bool writeSchema)
3127private readonly XmlWriter _xmltextWriter;
3129internal static XmlWriter CreateWriter(XmlWriter xw)
3134private DataTextWriter(XmlWriter w)
System.IO.Packaging (9)
System.Private.DataContractSerialization (26)
System.Private.Xml (185)
System\Xml\Serialization\XmlSerializer.cs (10)
343XmlWriter xmlWriter = XmlWriter.Create(textWriter, s_writerSettings);
358XmlWriter xmlWriter = XmlWriter.Create(stream, s_writerSettings);
364public void Serialize(XmlWriter xmlWriter, object? o)
371public void Serialize(XmlWriter xmlWriter, object? o, XmlSerializerNamespaces? namespaces)
378public void Serialize(XmlWriter xmlWriter, object? o, XmlSerializerNamespaces? namespaces, string? encodingStyle)
385public void Serialize(XmlWriter xmlWriter, object? o, XmlSerializerNamespaces? namespaces, string? encodingStyle, string? id)
423private void SerializeUsingReflection(XmlWriter xmlWriter, object? o, XmlSerializerNamespaces? namespaces, string? encodingStyle, string? id)
870private void SerializePrimitive(XmlWriter xmlWriter, object? o, XmlSerializerNamespaces? namespaces)
System\Xml\Xslt\XslCompiledTransform.cs (22)
242public void Transform(IXPathNavigable input, XmlWriter results)
250public void Transform(IXPathNavigable input, XsltArgumentList? arguments, XmlWriter results)
263using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
272using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
280public void Transform(XmlReader input, XmlWriter results)
288public void Transform(XmlReader input, XsltArgumentList? arguments, XmlWriter results)
301using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
310using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
321public void Transform(string inputUri, XmlWriter results)
330public void Transform(string inputUri, XsltArgumentList? arguments, XmlWriter results)
345using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
355using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
366using XmlWriter writer = XmlWriter.Create(resultsFile, OutputSettings);
376public void Transform(XmlReader input, XsltArgumentList? arguments, XmlWriter results, XmlResolver? documentResolver)
387public void Transform(IXPathNavigable input, XsltArgumentList? arguments, XmlWriter results, XmlResolver? documentResolver)
System\Xml\Xslt\XslTransform.cs (4)
128public void Transform(XPathNavigator input, XsltArgumentList? args, XmlWriter output, XmlResolver? resolver)
135public void Transform(XPathNavigator input, XsltArgumentList? args, XmlWriter output)
206public void Transform(IXPathNavigable input, XsltArgumentList? args, XmlWriter output, XmlResolver? resolver)
213public void Transform(IXPathNavigable input, XsltArgumentList? args, XmlWriter output)
System.Private.Xml.Linq (112)
System.Runtime.Serialization.Schema (1)
System.Security.Cryptography.Xml (1)
System.ServiceModel.Primitives (71)
System.ServiceModel.Primitives.Tests (5)
System.ServiceModel.Syndication (118)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (20)
88void IXmlSerializable.WriteXml(XmlWriter writer)
105public override void WriteTo(XmlWriter writer)
197internal static void WriteCategory(XmlWriter writer, SyndicationCategory category, string version)
368internal static void WriteContentTo(XmlWriter writer, string elementName, SyndicationContent content)
373internal static void WriteElement(XmlWriter writer, string elementName, string value)
381internal void WriteFeedAuthorsTo(XmlWriter writer, Collection<SyndicationPerson> authors)
390internal void WriteFeedContributorsTo(XmlWriter writer, Collection<SyndicationPerson> contributors)
399internal static void WriteFeedLastUpdatedTimeTo(XmlWriter writer, DateTimeOffset lastUpdatedTime, bool isRequired)
411internal void WriteItemAuthorsTo(XmlWriter writer, Collection<SyndicationPerson> authors)
420internal void WriteItemContents(XmlWriter dictWriter, SyndicationItem item)
425internal void WriteItemContributorsTo(XmlWriter writer, Collection<SyndicationPerson> contributors)
434internal static void WriteItemLastUpdatedTimeTo(XmlWriter writer, DateTimeOffset lastUpdatedTime)
445internal static void WriteLink(XmlWriter writer, SyndicationLink link, Uri baseUri)
504protected virtual void WriteItem(XmlWriter writer, SyndicationItem item, Uri feedBaseUri)
511protected virtual void WriteItems(XmlWriter writer, IEnumerable<SyndicationItem> items, Uri feedBaseUri)
1064private void WriteCategoriesTo(XmlWriter writer, Collection<SyndicationCategory> categories)
1072private void WriteFeed(XmlWriter writer)
1082private void WriteFeedTo(XmlWriter writer, SyndicationFeed feed, bool isSourceFeed)
1134private void WriteItemContents(XmlWriter dictWriter, SyndicationItem item, Uri feedBaseUri)
1174private void WritePersonTo(XmlWriter writer, SyndicationPerson p, string elementName)
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (11)
63void IXmlSerializable.WriteXml(XmlWriter writer)
88public override void WriteTo(XmlWriter writer)
119internal static void WriteCategoriesInnerXml(XmlWriter writer, CategoriesDocument categories, Uri baseUri, string version)
289private static void WriteCategories(XmlWriter writer, CategoriesDocument categories, Uri baseUri, string version)
296private static void WriteInlineCategoriesContent(XmlWriter writer, InlineCategoriesDocument categories, string version)
315private static void WriteReferencedCategoriesContent(XmlWriter writer, ReferencedCategoriesDocument categories, string version)
325private static void WriteXmlBase(XmlWriter writer, Uri baseUri)
330private static void WriteXmlLang(XmlWriter writer, string lang)
549private void WriteCollection(XmlWriter writer, ResourceCollectionInfo collection, Uri baseUri)
576private void WriteDocument(XmlWriter writer)
598private void WriteWorkspace(XmlWriter writer, Workspace workspace, Uri baseUri)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (11)
88void IXmlSerializable.WriteXml(XmlWriter writer)
105public override void WriteTo(XmlWriter writer)
125internal void WriteItemContents(XmlWriter writer, SyndicationItem item)
156protected virtual void WriteItem(XmlWriter writer, SyndicationItem item, Uri feedBaseUri)
163protected virtual void WriteItems(XmlWriter writer, IEnumerable<SyndicationItem> items, Uri feedBaseUri)
774private static void WriteAlternateLink(XmlWriter writer, SyndicationLink link, Uri baseUri)
787private void WriteCategory(XmlWriter writer, SyndicationCategory category)
803private void WriteFeed(XmlWriter writer)
966private void WriteItemContents(XmlWriter writer, SyndicationItem item, Uri feedBaseUri)
1136private static void WriteMediaEnclosure(XmlWriter writer, SyndicationLink link, Uri baseUri)
1160private void WritePerson(XmlWriter writer, string elementTag, SyndicationPerson person)
System\ServiceModel\Syndication\ServiceDocumentFormatter.cs (9)
32public abstract void WriteTo(XmlWriter writer);
181protected static void WriteAttributeExtensions(XmlWriter writer, ServiceDocument document, string version)
188protected static void WriteAttributeExtensions(XmlWriter writer, Workspace workspace, string version)
195protected static void WriteAttributeExtensions(XmlWriter writer, ResourceCollectionInfo collection, string version)
202protected static void WriteAttributeExtensions(XmlWriter writer, CategoriesDocument categories, string version)
209protected static void WriteElementExtensions(XmlWriter writer, ServiceDocument document, string version)
216protected static void WriteElementExtensions(XmlWriter writer, Workspace workspace, string version)
223protected static void WriteElementExtensions(XmlWriter writer, ResourceCollectionInfo collection, string version)
230protected static void WriteElementExtensions(XmlWriter writer, CategoriesDocument categories, string version)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (11)
60public abstract void WriteTo(XmlWriter writer);
241protected internal static void WriteAttributeExtensions(XmlWriter writer, SyndicationFeed feed, string version)
248protected internal static void WriteAttributeExtensions(XmlWriter writer, SyndicationItem item, string version)
255protected internal static void WriteAttributeExtensions(XmlWriter writer, SyndicationCategory category, string version)
262protected internal static void WriteAttributeExtensions(XmlWriter writer, SyndicationLink link, string version)
269protected internal static void WriteAttributeExtensions(XmlWriter writer, SyndicationPerson person, string version)
276protected internal static void WriteElementExtensions(XmlWriter writer, SyndicationFeed feed, string version)
283protected internal static void WriteElementExtensions(XmlWriter writer, SyndicationItem item, string version)
290protected internal static void WriteElementExtensions(XmlWriter writer, SyndicationCategory category, string version)
297protected internal static void WriteElementExtensions(XmlWriter writer, SyndicationLink link, string version)
304protected internal static void WriteElementExtensions(XmlWriter writer, SyndicationPerson person, string version)
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (9)
37public abstract void WriteTo(XmlWriter writer);
129protected static void WriteAttributeExtensions(XmlWriter writer, SyndicationItem item, string version)
134protected static void WriteAttributeExtensions(XmlWriter writer, SyndicationCategory category, string version)
139protected static void WriteAttributeExtensions(XmlWriter writer, SyndicationLink link, string version)
144protected static void WriteAttributeExtensions(XmlWriter writer, SyndicationPerson person, string version)
149protected static void WriteElementExtensions(XmlWriter writer, SyndicationItem item, string version)
156protected void WriteElementExtensions(XmlWriter writer, SyndicationCategory category, string version)
161protected void WriteElementExtensions(XmlWriter writer, SyndicationLink link, string version)
166protected void WriteElementExtensions(XmlWriter writer, SyndicationPerson person, string version)
System.Speech (17)
System.Windows.Forms (2)
System.Xml (1)
System.Xml.ReaderWriter (1)