3 writes to m_Encoding
Microsoft.VisualBasic.Core (3)
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (1)
52m_Encoding = GetFileIOEncoding()
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (1)
60m_Encoding = GetFileIOEncoding()
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (1)
99m_Encoding = GetFileIOEncoding()
43 references to m_Encoding
Microsoft.VisualBasic.Core (43)
Microsoft\VisualBasic\CompilerServices\VB6BinaryFile.vb (2)
184Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 185ByteLength = m_Encoding.GetByteCount(Value)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (26)
672Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 673m_position += m_Encoding.GetByteCount(Result) + 2 1026Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 1027Dim ByteLength As Integer = m_Encoding.GetByteCount(s) 1034Dim Bytes() As Byte = m_Encoding.GetBytes(s) 1035s = m_Encoding.GetString(Bytes, 0, lengthToWrite) 1037Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 1038ByteLength = m_Encoding.GetByteCount(s) 1042s = m_Encoding.GetString(Bytes, 0, lengthToWrite) 1043ByteLength = m_Encoding.GetByteCount(s) 1057Diagnostics.Debug.Assert(m_Encoding.GetByteCount(s) = lengthToWrite) 1070Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 1071Dim ByteLength As Integer = m_Encoding.GetByteCount(s) 1090Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 1091Dim ByteLength As Integer = m_Encoding.GetByteCount(s) 1108Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 1109Dim ByteLength As Integer = m_Encoding.GetByteCount(s) 1522Return m_Encoding.GetString(byteArray) 1852Debug.Assert(m_Encoding.GetByteCount(sTemp) = ByteLength) 1859Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 1860ByteLength = m_Encoding.GetByteCount(sTemp) 1867Debug.Assert(m_Encoding.GetByteCount(sTemp) = FixedStringLength) 1873Dim Bytes() As Byte = m_Encoding.GetBytes(sTemp) 1874sTemp = m_Encoding.GetString(Bytes, 0, FixedStringLength) 1876ByteLength = m_Encoding.GetByteCount(sTemp) 1891Debug.Assert(ByteLength = m_Encoding.GetByteCount(sTemp) AndAlso ByteLength <= FixedStringLength)
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (3)
53m_sr = New StreamReader(m_file, m_Encoding, False, 128) 60Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 61m_position += m_Encoding.GetByteCount(s) + 2
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (5)
61m_sw = New StreamWriter(m_file, m_Encoding) 86Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 87m_position += m_Encoding.GetByteCount(s) + 2 108Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 109Dim ByteLength As Integer = m_Encoding.GetByteCount(s)
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (7)
103m_sw = New StreamWriter(stm, m_Encoding) 105m_bw = New BinaryWriter(stm, m_Encoding) 109m_br = New BinaryReader(stm, m_Encoding) 113m_sr = New StreamReader(stm, m_Encoding, False, 128) 163GetStreamReader = New StreamReader(m_file, m_Encoding) 417Diagnostics.Debug.Assert(Not m_Encoding Is Nothing) 418Length = m_Encoding.GetByteCount(Value)