Fixes this error that occurs during test runs: (as described in #224)
ERROR System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: chunkLength
at System.Text.StringBuilder.ToString()
You may notice that I added 3 commits: a failing test, with necessary scope changes to the internal class OutputInterceptor; the change to make the test pass; then I reverted the first commit.
Adds type SafeStringWriter which operates over an instance of StringBuilder in an ostensibly thread-safe way.
Fixes this error that occurs during test runs: (as described in #224)
You may notice that I added 3 commits: a failing test, with necessary scope changes to the internal class OutputInterceptor; the change to make the test pass; then I reverted the first commit.
Adds type
SafeStringWriter
which operates over an instance ofStringBuilder
in an ostensibly thread-safe way.