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