157 references to WriteState
SMDiagnostics (10)
System\ServiceModel\Diagnostics\PlainXmlWriter.cs (1)
57
public override
WriteState
WriteState
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (9)
819
internal
WriteState
WriteState
823
WriteState
retval =
WriteState
.Error;
826
retval =
WriteState
.Start;
830
retval =
WriteState
.Closed;
837
retval =
WriteState
.Attribute;
840
retval =
WriteState
.Element;
843
retval =
WriteState
.Content;
846
retval =
WriteState
.Content;
System.Data (3)
fx\src\data\System\Data\DataSet.cs (1)
1866
writer.WriteState ==
WriteState
.Element) {
fx\src\data\System\Data\xmlsaver.cs (2)
964
if (schFormat == SchemaFormat.WebServiceSkipSchema && xw.WriteState==
WriteState
.Element) {
2803
public override
WriteState
WriteState {
System.Data.Services (4)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
1611
(!writeCustomElements && xmlWriter.WriteState ==
WriteState
.Element) ||
1612
(writeCustomElements && xmlWriter.WriteState ==
WriteState
.Element || xmlWriter.WriteState ==
WriteState
.Content),
System\Data\Services\Serializers\AtomServiceDocumentSerializer.cs (1)
97
this.Writer.WriteState ==
WriteState
.Element,
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
337
public override
WriteState
WriteState {
System\Xml\Xsl\XmlILCommand.cs (1)
184
wellFormedWriter.WriteState ==
WriteState
.Start &&
System.IdentityModel (2)
System\IdentityModel\DelegatingXmlDictionaryWriter.cs (1)
339
public override
WriteState
WriteState
System\IdentityModel\SamlDelegatingWriter.cs (1)
366
public override
WriteState
WriteState
System.Runtime.Serialization (71)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (14)
58
WriteState
writeState;
159
public override
WriteState
WriteState
163
if (writeState ==
WriteState
.Closed)
165
return
WriteState
.Closed;
169
return
WriteState
.Attribute;
174
return
WriteState
.Start;
176
return
WriteState
.Element;
180
return
WriteState
.Content;
182
return
WriteState
.Error;
222
get { return (WriteState ==
WriteState
.Closed); }
262
writeState =
WriteState
.Closed;
792
if (WriteState !=
WriteState
.Start)
981
if (WriteState !=
WriteState
.Start)
1364
writeState =
WriteState
.Start;
System\Runtime\Serialization\XmlObjectSerializer.cs (2)
157
if (writer.WriteState !=
WriteState
.Element)
167
if (writer.WriteState !=
WriteState
.Element)
System\Runtime\Serialization\XmlSerializableWriter.cs (3)
31
if (WriteState ==
WriteState
.Start)
37
if (WriteState ==
WriteState
.Start)
91
public override
WriteState
WriteState { get { return xmlWriter.WriteState; } }
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
259
internal
WriteState
WriteState
System\Xml\XmlBaseWriter.cs (43)
23
WriteState
writeState;
43
this.writeState =
WriteState
.Start;
52
this.writeState =
WriteState
.Start;
82
AutoComplete(
WriteState
.Closed);
111
get { return writeState ==
WriteState
.Closed; }
145
public override
WriteState
WriteState
161
if (writeState !=
WriteState
.Element)
186
if (writeState !=
WriteState
.Element)
208
if (writeState ==
WriteState
.Attribute)
214
if (writeState !=
WriteState
.Element)
295
writeState =
WriteState
.Attribute;
321
if (writeState !=
WriteState
.Attribute)
371
writeState =
WriteState
.Element;
380
if (writeState ==
WriteState
.Attribute)
403
if (writeState ==
WriteState
.Attribute)
406
if (writeState !=
WriteState
.Element && writeState !=
WriteState
.Content)
409
AutoComplete(
WriteState
.Content);
418
if (writeState ==
WriteState
.Attribute)
449
if (writeState ==
WriteState
.Attribute)
453
AutoComplete(
WriteState
.Element);
503
if (writeState ==
WriteState
.Attribute)
507
if (writeState ==
WriteState
.Element)
519
writeState =
WriteState
.Content;
556
if (this.writeState ==
WriteState
.Element)
558
AutoComplete(
WriteState
.Content);
628
void AutoComplete(
WriteState
writeState)
630
if (this.writeState ==
WriteState
.Element)
666
if (writeState !=
WriteState
.Attribute)
722
if (writeState !=
WriteState
.Start)
725
writeState =
WriteState
.Prolog;
747
if (writeState !=
WriteState
.Start)
758
if (this.writeState ==
WriteState
.Attribute)
774
if (writeState ==
WriteState
.Start || writeState ==
WriteState
.Prolog)
778
writeState =
WriteState
.Start;
1581
if (WriteState ==
WriteState
.Attribute)
1632
if (WriteState ==
WriteState
.Attribute)
1671
if (WriteState ==
WriteState
.Attribute)
1748
if (writeState ==
WriteState
.Attribute)
1750
AutoComplete(
WriteState
.Content);
1774
if (writeState !=
WriteState
.Element && writeState !=
WriteState
.Attribute)
System\Xml\XmlDictionaryWriter.cs (1)
1302
public override
WriteState
WriteState
System\Xml\XmlMtomWriter.cs (7)
242
if (Writer.WriteState ==
WriteState
.Element)
257
if (Writer.WriteState ==
WriteState
.Element)
374
if (Writer.WriteState !=
WriteState
.Closed)
445
if (Writer.WriteState ==
WriteState
.Element ||
446
Writer.WriteState ==
WriteState
.Attribute ||
447
Writer.WriteState ==
WriteState
.Content)
724
public override
WriteState
WriteState
System.ServiceModel (2)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1848
public override
WriteState
WriteState
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (1)
887
public override
WriteState
WriteState
System.ServiceModel.Channels (8)
System\ServiceModel\Channels\XmlByteStreamWriter.cs (8)
30
public override
WriteState
WriteState
300
static
WriteState
ByteStreamWriterStateToWriteState(ByteStreamWriterState byteStreamWriterState)
306
return
WriteState
.Start;
308
return
WriteState
.Element;
310
return
WriteState
.Content;
312
return
WriteState
.Element;
314
return
WriteState
.Closed;
316
return
WriteState
.Error;
System.ServiceModel.Web (3)
System\ServiceModel\Channels\JavascriptXmlWriterWrapper.cs (1)
165
public override
WriteState
WriteState
System\ServiceModel\Channels\StreamBodyWriter.cs (2)
158
if (writer.WriteState ==
WriteState
.Content || this.isQuirkedTo40Behavior)
164
else if (writer.WriteState ==
WriteState
.Start)
System.Transactions (1)
System\Transactions\Trace\PlainXmlWriter.cs (1)
69
public override
WriteState
WriteState
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
2409
if (writer != null && writer.WriteState !=
WriteState
.Error)
2416
else if (writer.WriteState ==
WriteState
.Attribute)
System.Xml (47)
System\Xml\Core\QueryOutputWriterV1.cs (4)
93
public override
WriteState
WriteState {
130
WriteState
ws = this.wrapped.WriteState;
131
if (ws ==
WriteState
.Start || ws ==
WriteState
.Prolog) {
System\Xml\Core\XmlAsyncCheckWriter.cs (1)
161
public override
WriteState
WriteState {
System\Xml\Core\XmlCharCheckingWriter.cs (2)
228
if ( replaceNewLines && WriteState !=
WriteState
.Attribute ) {
256
if ( replaceNewLines && WriteState !=
WriteState
.Attribute ) {
System\Xml\Core\XmlCharCheckingWriterAsync.cs (2)
147
if ( replaceNewLines && WriteState !=
WriteState
.Attribute ) {
175
if ( replaceNewLines && WriteState !=
WriteState
.Attribute ) {
System\Xml\Core\XmlRawWriter.cs (2)
105
public override
WriteState
WriteState {
305
internal virtual void Close(
WriteState
currentState ) {
System\Xml\Core\XmlTextWriter.cs (9)
811
public override
WriteState
WriteState {
815
return
WriteState
.Start;
818
return
WriteState
.Prolog;
820
return
WriteState
.Element;
823
return
WriteState
.Attribute;
826
return
WriteState
.Content;
828
return
WriteState
.Error;
830
return
WriteState
.Closed;
833
return
WriteState
.Error;
System\Xml\Core\XmlWellFormedWriter.cs (20)
188
private static
WriteState
[] state2WriteState = {
189
WriteState
.Start, // State.Start
190
WriteState
.Prolog, // State.TopLevel
191
WriteState
.Prolog, // State.Document
192
WriteState
.Element, // State.Element
193
WriteState
.Content, // State.Content
194
WriteState
.Content, // State.B64Content
195
WriteState
.Attribute, // State.B64Attribute
196
WriteState
.Content, // State.AfterRootEle
197
WriteState
.Attribute, // State.Attribute
198
WriteState
.Attribute, // State.SpecialAttr
199
WriteState
.Content, // State.EndDocument
200
WriteState
.Attribute, // State.RootLevelAttr
201
WriteState
.Attribute, // State.RootLevelSpecAttr
202
WriteState
.Attribute, // State.RootLevelB64Attr
203
WriteState
.Attribute, // State.AfterRootLevelAttr
204
WriteState
.Closed, // State.Closed
205
WriteState
.Error, // State.Error
297
public override
WriteState
WriteState {
304
return
WriteState
.Error;
System\Xml\Core\XmlWrappingWriter.cs (1)
69
public override
WriteState
WriteState { get { return writer.WriteState; } }
System\Xml\Core\XmlWriter.cs (2)
198
public abstract
WriteState
WriteState { get; }
571
if (disposing && WriteState !=
WriteState
.Closed) {
System\Xml\Dom\DocumentXmlWriter.cs (2)
307
internal override void Close(
WriteState
currentState) {
308
if (currentState ==
WriteState
.Error) {
System\Xml\Dom\XmlDocument.cs (1)
1206
if( w.WriteState ==
WriteState
.Start ) {
System\Xml\Serialization\XmlSerializationWriter.cs (1)
921
if (w.WriteState ==
WriteState
.Start) {
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
7887
public override
WriteState
WriteState {
WindowsBase (1)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
750
if (isLastPiece && StreamingXmlWriter.WriteState !=
WriteState
.Closed)