6 references to MaxInputElementsPerIteration
System.Memory (6)
System\Text\EncodingExtensions.cs (6)
39if (chars.Length <= MaxInputElementsPerIteration) 230if (bytes.Length <= MaxInputElementsPerIteration) 432int byteCountForThisSlice = (chars.Length <= MaxInputElementsPerIteration) 434: encoder.GetByteCount(chars.Slice(0, MaxInputElementsPerIteration), flush: false /* this isn't the end of the data */); 525int charCountForThisSlice = (bytes.Length <= MaxInputElementsPerIteration) 527: decoder.GetCharCount(bytes.Slice(0, MaxInputElementsPerIteration), flush: false /* this isn't the end of the data */);