8 references to MaxSmallInputElementCount
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.Sealed.cs (8)
45if (s?.Length <= MaxSmallInputElementCount) 58Debug.Assert(s.Length <= MaxSmallInputElementCount); 60byte* pDestination = stackalloc byte[MaxSmallInputElementCount * MaxUtf8BytesPerChar]; 67bytesWritten = GetBytesCommon(pSource, sourceLength, pDestination, MaxSmallInputElementCount * MaxUtf8BytesPerChar); 123if (bytes?.Length <= MaxSmallInputElementCount) 136Debug.Assert(bytes.Length <= MaxSmallInputElementCount); 138char* pDestination = stackalloc char[MaxSmallInputElementCount]; // each byte produces at most one char 145charsWritten = GetCharsCommon(pSource, sourceLength, pDestination, MaxSmallInputElementCount);