22 references to Create
Extensibility.MessageEncoder.IntegrationTests (2)
CustomTextMessageEncoder.cs (2)
72using (XmlWriter writer = XmlWriter.Create(stream, _writerSettings)) 84using (XmlWriter writer = XmlWriter.Create(stream, _writerSettings))
illink (2)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
420using (var writer = XmlWriter.Create(memory, new XmlWriterSettings { Encoding = Encoding.UTF8 }))
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
TestAssembly.cs (1)
39using (var writer = XmlWriter.Create(ManifestStream, new XmlWriterSettings { CloseOutput = false }))
System.Data.Common (1)
System\Data\SQLTypes\SqlXml.cs (1)
185XmlWriter ww = XmlWriter.Create(writerStream, writerSettings);
System.IO.Packaging (3)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
467using (XmlWriter writer = XmlWriter.Create(s, new XmlWriterSettings { Encoding = System.Text.Encoding.UTF8 }))
System\IO\Packaging\PartBasedPackageProperties.cs (1)
687_xmlWriter = XmlWriter.Create(writerStream, new XmlWriterSettings { Encoding = System.Text.Encoding.UTF8 });
System\IO\Packaging\ZipPackage.cs (1)
911using (XmlWriter writer = XmlWriter.Create(s, new XmlWriterSettings { Encoding = System.Text.Encoding.UTF8 }))
System.Private.Xml (5)
System\Xml\Core\XmlAutoDetectWriter.cs (1)
414_wrapped = ((XmlWellFormedWriter)XmlWriter.Create(_strm!, _writerSettings)).RawWriter!;
System\Xml\Serialization\XmlSerializer.cs (1)
358XmlWriter xmlWriter = XmlWriter.Create(stream, s_writerSettings);
System\Xml\Xslt\XslCompiledTransform.cs (3)
272using XmlWriter writer = XmlWriter.Create(results, OutputSettings); 310using XmlWriter writer = XmlWriter.Create(results, OutputSettings); 355using XmlWriter writer = XmlWriter.Create(results, OutputSettings);
System.Private.Xml.Linq (5)
System\Xml\Linq\XDocument.cs (2)
602using (XmlWriter w = XmlWriter.Create(stream, ws)) 636XmlWriter w = XmlWriter.Create(stream, ws);
System\Xml\Linq\XElement.cs (2)
1063using (XmlWriter w = XmlWriter.Create(stream, ws)) 1086XmlWriter w = XmlWriter.Create(stream, ws);
System\Xml\Linq\XStreamingElement.cs (1)
119using (XmlWriter w = XmlWriter.Create(stream, ws))
System.Xaml (2)
System\Xaml\XamlServices.cs (1)
158using (var writer = XmlWriter.Create(stream, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true }))
System\Xaml\XamlXmlWriter.cs (1)
57InitializeXamlXmlWriter(XmlWriter.Create(stream, new XmlWriterSettings { CloseOutput = true }), schemaContext, settings);