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