66 references to XmlOutputMethod
System.Data.SqlXml (11)
System\Xml\Xsl\Xslt\Compiler.cs (1)
383Settings.OutputMethod = XmlOutputMethod.AutoDetect;
System\Xml\Xsl\Xslt\XsltLoader.cs (10)
492XmlOutputMethod outputMethod; 647if (settings.OutputMethod == XmlOutputMethod.Html && output.IndentPrec == Output.NeverDeclaredPrec) { 652settings.OutputMethod == XmlOutputMethod.Xml ? "text/xml" : 653settings.OutputMethod == XmlOutputMethod.Html ? "text/html" : 654settings.OutputMethod == XmlOutputMethod.Text ? "text/plain" : null; 2604private XmlQualifiedName ParseOutputMethod(string attValue, out XmlOutputMethod method) { 2607method = XmlOutputMethod.AutoDetect; 2613case "xml" : method = XmlOutputMethod.Xml; break; 2614case "html" : method = XmlOutputMethod.Html; break; 2615case "text" : method = XmlOutputMethod.Text; break;
System.Xml (55)
System\Xml\Core\QueryOutputWriter.cs (2)
41if (settings.OutputMethod == XmlOutputMethod.Xml) { 66else if (settings.OutputMethod == XmlOutputMethod.Html) {
System\Xml\Core\QueryOutputWriterV1.cs (2)
43if (settings.OutputMethod == XmlOutputMethod.Xml) { 81else if (settings.OutputMethod == XmlOutputMethod.Html) {
System\Xml\Core\XmlAutoDetectWriter.cs (30)
35Debug.Assert(writerSettings.OutputMethod == XmlOutputMethod.AutoDetect); 77EnsureWrappedWriter(XmlOutputMethod.Xml); 85CreateWrappedWriter(XmlOutputMethod.Html); 87CreateWrappedWriter(XmlOutputMethod.Xml); 93EnsureWrappedWriter(XmlOutputMethod.Xml); 153EnsureWrappedWriter(XmlOutputMethod.Xml); 158EnsureWrappedWriter(XmlOutputMethod.Xml); 163EnsureWrappedWriter(XmlOutputMethod.Xml); 168EnsureWrappedWriter(XmlOutputMethod.Xml); 173EnsureWrappedWriter(XmlOutputMethod.Xml); 179EnsureWrappedWriter(XmlOutputMethod.Xml); 185EnsureWrappedWriter(XmlOutputMethod.Xml); 190EnsureWrappedWriter(XmlOutputMethod.Xml); 195EnsureWrappedWriter(XmlOutputMethod.Xml); 200EnsureWrappedWriter(XmlOutputMethod.Xml); 205EnsureWrappedWriter(XmlOutputMethod.Xml); 210EnsureWrappedWriter(XmlOutputMethod.Xml); 215EnsureWrappedWriter(XmlOutputMethod.Xml); 220EnsureWrappedWriter(XmlOutputMethod.Xml); 225EnsureWrappedWriter(XmlOutputMethod.Xml); 230EnsureWrappedWriter(XmlOutputMethod.Xml); 235EnsureWrappedWriter(XmlOutputMethod.Xml); 259EnsureWrappedWriter(XmlOutputMethod.Xml); 265EnsureWrappedWriter(XmlOutputMethod.Xml); 285EnsureWrappedWriter(XmlOutputMethod.Xml); 296EnsureWrappedWriter(XmlOutputMethod.Xml); 333private void EnsureWrappedWriter(XmlOutputMethod outMethod) { 351CreateWrappedWriter(XmlOutputMethod.Xml); 360private void CreateWrappedWriter(XmlOutputMethod outMethod) { 368if (outMethod == XmlOutputMethod.Html && this.writerSettings.IndentInternal == TriState.Unknown)
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
94protected XmlOutputMethod outputMethod;
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
78protected XmlOutputMethod outputMethod;
System\Xml\Core\XmlWriterSettings.cs (19)
84XmlOutputMethod outputMethod; 291public XmlOutputMethod OutputMethod { 502case XmlOutputMethod.Xml: 510case XmlOutputMethod.Html: 518case XmlOutputMethod.Text: 521case XmlOutputMethod.AutoDetect: 532case XmlOutputMethod.Xml: 540case XmlOutputMethod.Html: 548case XmlOutputMethod.Text: 551case XmlOutputMethod.AutoDetect: 562if (this.OutputMethod != XmlOutputMethod.AutoDetect) { 599case XmlOutputMethod.Xml: 607case XmlOutputMethod.Html: 615case XmlOutputMethod.Text: 618case XmlOutputMethod.AutoDetect: 627if (this.OutputMethod != XmlOutputMethod.AutoDetect) { 688outputMethod = XmlOutputMethod.Xml; 845outputMethod = (XmlOutputMethod)reader.ReadSByte(0, (sbyte)XmlOutputMethod.AutoDetect);