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