2 references to TryGetMaxCharCount
Microsoft.CodeAnalysis (2)
EncodedStringText.cs (1)
187
if (encoding.
TryGetMaxCharCount
(data.Length, out int maxCharCount) && maxCharCount < LargeObjectHeapLimitInChars)
Text\SourceText.cs (1)
1316
if (encoding.
TryGetMaxCharCount
(stream.Length, out int maxCharCount))