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

◆ WriteStartElement() [2/2]

void System.Xml.XmlCanonicalWriter.WriteStartElement ( string prefix,
string localName )
inline

Definition at line 296 of file XmlCanonicalWriter.cs.

297 {
298 if (prefix == null)
299 {
301 }
302 if (localName == null)
303 {
305 }
307 bool flag = _depth == 0;
308 StartElement();
312 _element.localNameLength = Encoding.UTF8.GetByteCount(localName);
314 if (!flag || _inclusivePrefixes == null)
315 {
316 return;
317 }
318 for (int i = 0; i < _scopes[0].xmlnsAttributeCount; i++)
319 {
321 {
324 }
325 }
326 }
static Encoding UTF8
Definition Encoding.cs:526
void AddXmlnsAttribute(ref XmlnsAttribute xmlnsAttribute)
bool IsInclusivePrefix(ref XmlnsAttribute xmlnsAttribute)
override void WriteStartElement(string prefix, string localName)

References System.Xml.XmlCanonicalWriter._depth, System.Xml.XmlCanonicalWriter._elementWriter, System.Xml.XmlCanonicalWriter._inclusivePrefixes, System.Xml.XmlCanonicalWriter._scopes, System.Xml.XmlCanonicalWriter._xmlnsAttributes, System.Xml.XmlCanonicalWriter.AddXmlnsAttribute(), System.Xml.Dictionary, System.Xml.XmlCanonicalWriter.IsInclusivePrefix(), System.prefix, System.Xml.XmlCanonicalWriter.StartElement(), System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(), System.Xml.XmlCanonicalWriter.ThrowIfClosed(), System.Text.Encoding.UTF8, System.Xml.XmlUTF8NodeWriter.WriteStartElement(), and System.Xml.XmlCanonicalWriter.Scope.xmlnsAttributeCount.

Referenced by System.Xml.XmlSigningNodeWriter.WriteStartElement(), System.Xml.XmlSigningNodeWriter.WriteStartElement(), and System.Xml.XmlSigningNodeWriter.WriteStartElement().