Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public abstract partial class XmlReader : IDisposable
internal const int BiggerBufferSize = 8192;
internal const int MaxStreamLengthForDefaultBufferSize = 64 * 1024; // 64kB

internal const int AsyncBufferSize = 64 * 1024; //64KB
// Chosen to be small enough that the character buffer in XmlTextReader when using Async = true
// is not allocated on the Large Object Heap (LOH)
internal const int AsyncBufferSize = 32 * 1024;

// Settings
public virtual XmlReaderSettings? Settings => null;
Expand Down