5 references to LargeObjectHeapLimitInChars
Microsoft.CodeAnalysis (4)
Text\LargeText.cs (1)
25
internal const int ChunkSize = SourceText.
LargeObjectHeapLimitInChars
; // 40K Unicode chars is 80KB which is less than the large object heap limit.
Text\SourceText.cs (2)
132
if (length >=
LargeObjectHeapLimitInChars
)
193
if (encoding.GetMaxCharCountOrThrowIfHuge(stream) >=
LargeObjectHeapLimitInChars
)
Text\SourceTextWriter.cs (1)
16
if (length < SourceText.
LargeObjectHeapLimitInChars
)
Microsoft.CodeAnalysis.UnitTests (1)
Text\SourceTextTests.cs (1)
265
var expected = new string('l', SourceText.
LargeObjectHeapLimitInChars
);