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