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