21 references to Element
System.Data.Common (2)
System\Data\DataSet.cs (1)
2045writer.WriteState == WriteState.Element)
System\Data\xmlsaver.cs (1)
1147if (_schFormat == SchemaFormat.WebServiceSkipSchema && xw.WriteState == WriteState.Element)
System.Private.DataContractSerialization (17)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (1)
146return WriteState.Element;
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
188if (writer.WriteState != WriteState.Element)
System\Xml\XmlBaseWriter.cs (15)
154if (_writeState != WriteState.Element) 178if (_writeState != WriteState.Element) 206if (_writeState != WriteState.Element) 360_writeState = WriteState.Element; 424_writeState = WriteState.Element; 459if (_writeState != WriteState.Element && _writeState != WriteState.Content) 504AutoComplete(WriteState.Element); 554await AutoCompleteAsync(WriteState.Element).ConfigureAwait(false); 615if (_writeState == WriteState.Element) 647if (_writeState == WriteState.Element) 696if (_writeState == WriteState.Element) 704return _writeState == WriteState.Element ? AutoCompleteAsync(WriteState.Content) : Task.CompletedTask; 775if (_writeState == WriteState.Element) 784if (_writeState == WriteState.Element) 1827if (_writeState != WriteState.Element && _writeState != WriteState.Attribute)
System.Private.Xml (2)
System\Xml\Core\XmlTextWriter.cs (1)
996return WriteState.Element;
System\Xml\Core\XmlWellFormedWriter.cs (1)
181WriteState.Element, // State.Element