4 references to BytesPerWChar
mscorlib (4)
system\io\__consolestream.cs (4)
213readSuccess = Win32Native.ReadConsoleW(hFile, p + offset, count / BytesPerWChar, out charsRead, IntPtr.Zero); 214bytesRead = charsRead * BytesPerWChar; 268writeSuccess = Win32Native.WriteConsoleW(hFile, p + offset, count / BytesPerWChar, out charsWritten, IntPtr.Zero); 269Contract.Assert(!writeSuccess || count / BytesPerWChar == charsWritten);