We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de8b37a + 4011a79 commit 70d5193Copy full SHA for 70d5193
src/Compilers/Core/Portable/Serialization/ObjectWriter.cs
@@ -484,7 +484,8 @@ private void WriteArray(Array array)
484
// don't blow the stack. 'LongRunning' ensures that we get a dedicated thread
485
// to do this work. That way we don't end up blocking the threadpool.
486
var task = Task.Factory.StartNew(
487
- () => WriteArrayValues(array),
+ a => WriteArrayValues((Array)a),
488
+ array,
489
_cancellationToken,
490
TaskCreationOptions.LongRunning,
491
TaskScheduler.Default);
0 commit comments