27 writes to OmitXmlDeclaration
System.Activities (2)
System\Activities\Tracking\EtwTrackingParticipant.cs (2)
154OmitXmlDeclaration = true 230OmitXmlDeclaration = true
System.Data (2)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
3612WriterSettings.OmitXmlDeclaration = true;
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
194 writerSettings.OmitXmlDeclaration = true;
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
85settings.OmitXmlDeclaration = true;
System.Data.Services (1)
System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (1)
54customContentWriterSettings.OmitXmlDeclaration = true;
System.Data.Services.Client (1)
parent\Server\System\Data\Services\Epm\EpmCustomContentWriterNodeData.cs (1)
54customContentWriterSettings.OmitXmlDeclaration = true;
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
218settings.OmitXmlDeclaration = true;
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
599settings.OmitXmlDeclaration = omitXmlDeclaration;
System.IdentityModel (1)
System\IdentityModel\XmlUtil.cs (1)
205settings.OmitXmlDeclaration = true;
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
348writerSettings.OmitXmlDeclaration = true;
System.ServiceModel (3)
System\ServiceModel\Channels\ContextProtocol.cs (1)
81writerSettings.OmitXmlDeclaration = true;
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (2)
35settings.OmitXmlDeclaration = false; 116settings.OmitXmlDeclaration = false;
System.ServiceModel.Web (2)
System\ServiceModel\Channels\WebScriptMetadataMessageEncoderFactory.cs (1)
143settings.OmitXmlDeclaration = true;
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
374using (XmlWriter writer = XmlTextWriter.Create(sample, new XmlWriterSettings { Indent = true, OmitXmlDeclaration = true }))
System.Workflow.Activities (1)
Common\CompModHelpers.cs (1)
989settings.OmitXmlDeclaration = true;
System.Workflow.ComponentModel (1)
Shared\CompModHelpers.cs (1)
987settings.OmitXmlDeclaration = true;
System.Workflow.Runtime (1)
Tracking\SqlTrackingService.cs (1)
618settings.OmitXmlDeclaration = true;
System.Xml (6)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
206settings.OmitXmlDeclaration = this.omitXmlDeclaration;
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
162settings.OmitXmlDeclaration = this.omitXmlDeclaration;
System\Xml\Core\XmlWriterSettings.cs (1)
827OmitXmlDeclaration = reader.ReadBoolean();
System\Xml\Serialization\XmlSchemas.cs (1)
565settings.OmitXmlDeclaration = true;
System\Xml\XPath\XPathNavigator.cs (2)
1184writerSettings.OmitXmlDeclaration = true; 1217writerSettings.OmitXmlDeclaration = true;
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
2007ws.OmitXmlDeclaration = true; 7385ws.OmitXmlDeclaration = true;
4 references to OmitXmlDeclaration
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
596if (currentPrec == output.OmitXmlDeclarationPrec && settings.OmitXmlDeclaration != omitXmlDeclaration) {
System.Xml (3)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
119omitXmlDeclaration = settings.OmitXmlDeclaration;
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
104omitXmlDeclaration = settings.OmitXmlDeclaration;
System\Xml\Core\XmlWriterSettings.cs (1)
779writer.Write(OmitXmlDeclaration);