3 references to GetMaxCharCountOrThrowIfHuge
Microsoft.CodeAnalysis (3)
EncodedStringText.cs (1)
142if (encoding.GetMaxCharCountOrThrowIfHuge(data) < LargeObjectHeapLimitInChars)
Text\LargeText.cs (1)
64var maxCharRemainingGuess = encoding.GetMaxCharCountOrThrowIfHuge(stream);
Text\SourceText.cs (1)
193if (encoding.GetMaxCharCountOrThrowIfHuge(stream) >= LargeObjectHeapLimitInChars)