Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteWhitespace() [1/2]

override void System.Xml.XmlWellFormedWriter.WriteWhitespace ( string ws)
inline

Definition at line 1994 of file XmlWellFormedWriter.cs.

1995 {
1996 try
1997 {
1998 if (ws == null)
1999 {
2000 ws = string.Empty;
2001 }
2002 if (!XmlCharType.IsOnlyWhitespace(ws))
2003 {
2005 }
2006 AdvanceState(Token.Whitespace);
2007 if (SaveAttrValue)
2008 {
2010 }
2011 else
2012 {
2014 }
2015 }
2016 catch
2017 {
2018 _currentState = State.Error;
2019 throw;
2020 }
2021 }
static string Xml_NonWhitespace
Definition SR.cs:310
Definition SR.cs:7
void WriteWhitespace(string? ws)

References System.Xml.XmlWellFormedWriter._attrValueCache, System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.Xml.ArgumentException, System.Xml.XmlCharType.IsOnlyWhitespace(), System.Xml.XmlWellFormedWriter.SaveAttrValue, System.Xml.XmlWellFormedWriter.AttributeValueCache.WriteWhitespace(), System.Xml.XmlWriter.WriteWhitespace(), and System.SR.Xml_NonWhitespace.