4 references to LargeObjectHeapLimitInChars
Microsoft.CodeAnalysis (4)
Text\LargeText.cs (1)
26
internal const int ChunkSize = SourceText.
LargeObjectHeapLimitInChars
; // 40K Unicode chars is 80KB which is less than the large object heap limit.
Text\SourceText.cs (2)
143
if (length >=
LargeObjectHeapLimitInChars
)
204
if (GetMaxCharCountOrThrowIfHuge(encoding, stream) >=
LargeObjectHeapLimitInChars
)
Text\SourceTextWriter.cs (1)
16
if (length < SourceText.
LargeObjectHeapLimitInChars
)