2 writes to m_Buffer
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (2)
531
m_Buffer
= Nothing
735
m_Buffer
= TempArray
32 references to m_Buffer
Microsoft.VisualBasic.Core (32)
Microsoft\VisualBasic\FileIO\TextFieldParser.vb (32)
157
If m_Reader Is Nothing Or
m_Buffer
Is Nothing Then
326
If m_Reader Is Nothing Or
m_Buffer
Is Nothing Then
352
If m_Reader Is Nothing Or
m_Buffer
Is Nothing Then
381
If m_Reader Is Nothing Or
m_Buffer
Is Nothing Then
420
If m_Reader Is Nothing Or
m_Buffer
Is Nothing Then
424
Dim Builder As New System.Text.StringBuilder(
m_Buffer
.Length)
427
Builder.Append(
m_Buffer
, m_Position, m_CharsRead - m_Position)
656
Debug.Assert(
m_Buffer
IsNot Nothing, "There's no buffer")
661
Dim BufferLength As Integer =
m_Buffer
.Length
667
ReDim
m_Buffer
(BufferLength - 1)
671
m_CharsRead = m_Reader.Read(
m_Buffer
, 0, BufferLength)
688
Debug.Assert(
m_Buffer
IsNot Nothing, "There's no buffer")
690
Debug.Assert(m_Position >= 0 And m_Position <=
m_Buffer
.Length, "The cursor is out of range")
696
Array.Copy(
m_Buffer
, m_Position,
m_Buffer
, 0, ContentLength)
699
Dim CharsRead As Integer = m_Reader.Read(
m_Buffer
, ContentLength,
m_Buffer
.Length - ContentLength)
717
Debug.Assert(
m_Buffer
IsNot Nothing, "There's no buffer")
724
If m_CharsRead =
m_Buffer
.Length Then
726
Dim BufferSize As Integer =
m_Buffer
.Length + DEFAULT_BUFFER_LENGTH
734
Array.Copy(
m_Buffer
, TempArray,
m_Buffer
.Length)
738
Dim CharsRead As Integer = m_Reader.Read(
m_Buffer
, m_CharsRead,
m_Buffer
.Length - m_CharsRead)
739
Debug.Assert(CharsRead <=
m_Buffer
.Length - m_CharsRead, "We've read more chars than we have space for")
811
Debug.Assert(
m_Buffer
IsNot Nothing, "There's no buffer")
828
Dim Character As Char =
m_Buffer
(i)
835
Builder.Append(
m_Buffer
, Cursor, i - Cursor + 1)
838
Builder.Append(
m_Buffer
, Cursor, i - Cursor + 1)
846
If
m_Buffer
(Cursor) = vbLf Then
851
If
m_Buffer
(Cursor) = vbLf Then
869
Builder.Append(
m_Buffer
, Cursor, Size)