31 references to Create
dotnet (1)
Commands\Run\EnvironmentVariablesToMSBuild.cs (1)
127using var writer = XmlWriter.Create(stream, new XmlWriterSettings
Extensibility.MessageEncoder.IntegrationTests (2)
CustomTextMessageEncoder.cs (2)
72using (XmlWriter writer = XmlWriter.Create(stream, _writerSettings)) 84using (XmlWriter writer = XmlWriter.Create(stream, _writerSettings))
ILCompiler.DependencyAnalysisFramework (1)
DgmlWriter.cs (1)
55using (XmlWriter xmlWriter = XmlWriter.Create(stream, writerSettings))
illink (2)
Microsoft.DotNet.ApiCompatibility (1)
Logging\SuppressionEngine.cs (1)
134XmlWriter xmlWriter = XmlWriter.Create(stream, new XmlWriterSettings()
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
BlazorWriteSatelliteAssemblyFile.cs (1)
46using var writer = XmlWriter.Create(stream, xmlWriterSettings);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (6)
GeneratePackageAssetsTargetsFile.cs (1)
56using (var xmlWriter = XmlWriter.Create(memoryStream, settings))
GenerateStaticWebAssetEndpointsPropsFile.cs (1)
78using (var xmlWriter = XmlWriter.Create(memoryStream, settings))
GenerateStaticWebAssetsPropsFile.cs (1)
143using (var xmlWriter = XmlWriter.Create(memoryStream, settings))
Legacy\GenerateStaticWebAssetsPropsFile50.cs (1)
96using (var xmlWriter = XmlWriter.Create(memoryStream, settings))
Legacy\GenerateV1StaticWebAssetsManifest.cs (1)
63using var xmlWriter = XmlWriter.Create(memory, settings);
StaticWebAssetsGeneratePackagePropsFile.cs (1)
46using (var xmlWriter = XmlWriter.Create(memoryStream, settings))
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
TrxLogger.cs (1)
420using XmlWriter writer = XmlWriter.Create(fs, new XmlWriterSettings { NewLineHandling = NewLineHandling.Entitize, Indent = true });
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)
461using (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)
610using (XmlWriter w = XmlWriter.Create(stream, ws)) 644XmlWriter 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)
159using (var writer = XmlWriter.Create(stream, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true }))
System\Xaml\XamlXmlWriter.cs (1)
55InitializeXamlXmlWriter(XmlWriter.Create(stream, new XmlWriterSettings { CloseOutput = true }), schemaContext, settings);