8 writes to m_file
Microsoft.VisualBasic.Core (8)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (3)
405m_file = New FileStream(m_sFullPath, FileMode.Open, CType(m_access, FileAccess), CType(m_share, FileShare)) 407m_file = New FileStream(m_sFullPath, FileMode.Create, CType(m_access, FileAccess), CType(m_share, FileShare)) 437m_file = Nothing
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (1)
35m_file = New FileStream(m_sFullPath, FileMode.Open, CType(m_access, FileAccess), CType(m_share, FileShare))
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (3)
43m_file = New FileStream(m_sFullPath, FileMode.Open, CType(m_access, FileAccess), CType(m_share, FileShare)) 45m_file = New FileStream(m_sFullPath, FileMode.Create, CType(m_access, FileAccess), CType(m_share, FileShare)) 48m_file = New FileStream(m_sFullPath, FileMode.Create, CType(m_access, FileAccess), CType(m_share, FileShare))
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (1)
35m_file = New FileStream(m_sFullPath, fm, CType(fa, FileAccess), CType(m_share, FileShare))
33 references to m_file
Microsoft.VisualBasic.Core (33)
Microsoft\VisualBasic\CompilerServices\VB6BinaryFile.vb (3)
51m_file.Lock(lStartByte, lLength) 76m_file.Unlock(lStartByte, lLength) 96m_file.Position = BaseZeroPosition
Microsoft\VisualBasic\CompilerServices\VB6File.vb (18)
435If Not m_file Is Nothing Then 436m_file.Close() 482Return m_file.Length 564If BaseZeroPosition > m_file.Length Then 565m_file.SetLength(BaseZeroPosition) 568m_file.Position = BaseZeroPosition 571m_eof = (m_position >= m_file.Length) 594m_file.Position = offset 611m_file.Lock(0, Int32.MaxValue) 618m_file.Unlock(0, Int32.MaxValue) 626m_file.Lock((Record - 1), 1) 628m_file.Lock((Record - 1) * m_lRecordLen, m_lRecordLen) 637m_file.Unlock((Record - 1), 1) 639m_file.Unlock((Record - 1) * m_lRecordLen, m_lRecordLen) 648m_file.Lock((RecordStart - 1), (RecordEnd - RecordStart) + 1) 650m_file.Lock((RecordStart - 1) * m_lRecordLen, ((RecordEnd - RecordStart) + 1) * m_lRecordLen) 659m_file.Unlock((RecordStart - 1), (RecordEnd - RecordStart) + 1) 661m_file.Unlock((RecordStart - 1) * m_lRecordLen, ((RecordEnd - RecordStart) + 1) * m_lRecordLen)
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (2)
53m_sr = New StreamReader(m_file, m_Encoding, False, 128) 54m_eof = (m_file.Length = 0) 'Don't do a Peek here or it will buffer data, causing side-effects with the Lock function.
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (3)
61m_sw = New StreamWriter(m_file, m_Encoding) 67lEndOfFile = m_file.Length 68m_file.Position = lEndOfFile
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (7)
100stm = m_file 139m_file.Lock(lStartByte, lLength) 155m_file.Unlock(lStartByte, lLength) 163GetStreamReader = New StreamReader(m_file, m_Encoding) 167m_eof = (m_position >= m_file.Length) 315If m_file.Position >= m_file.Length Then