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