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

◆ ExtendRecordBuffer()

void System.Xml.Xsl.Xslt.XsltInput.ExtendRecordBuffer ( int position)
inlineprivate

Definition at line 260 of file XsltInput.cs.

261 {
262 if (_records.Length <= position)
263 {
264 int num = _records.Length * 2;
265 if (num <= position)
266 {
267 num = position + 1;
268 }
269 Record[] array = new Record[num];
270 Array.Copy(_records, array, _records.Length);
271 _records = array;
272 }
273 }

References System.Xml.Xsl.Xslt.XsltInput._records, System.array, System.Array.Copy(), and System.Xml.Dictionary.

Referenced by System.Xml.Xsl.Xslt.XsltInput.ReadElement(), and System.Xml.Xsl.Xslt.XsltInput.ReadTextNodes().