7 references to MAX_UNICODESTRING_LEN
System.Windows.Forms (7)
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (7)
380if (capacity < NativeMethods.MAX_UNICODESTRING_LEN) 534&& buffer.Capacity < NativeMethods.MAX_UNICODESTRING_LEN) 537int capacity = noOfTimes * NativeMethods.MAX_PATH < NativeMethods.MAX_UNICODESTRING_LEN ? noOfTimes * NativeMethods.MAX_PATH : NativeMethods.MAX_UNICODESTRING_LEN; 7604&& length < NativeMethods.MAX_UNICODESTRING_LEN) 7612length = noOfTimes * length >= NativeMethods.MAX_UNICODESTRING_LEN 7613? NativeMethods.MAX_UNICODESTRING_LEN : noOfTimes * length;