6 writes to _position
Microsoft.CodeAnalysis.Workspaces (6)
Shared\Utilities\XmlFragmentParser.cs (6)
139_position = 0;
150_position = s_rootStart.Length;
170_position += EncodeAndAdvance(s_rootStart, _position, buffer, ref index, ref count);
173_position += EncodeAndAdvance(s_currentStart, _position - s_rootStart.Length, buffer, ref index, ref count);
176_position += EncodeAndAdvance(_text, _position - s_rootStart.Length - s_currentStart.Length, buffer, ref index, ref count);
179_position += EncodeAndAdvance(s_currentEnd, _position - s_rootStart.Length - s_currentStart.Length - _text.Length, buffer, ref index, ref count);
5 references to _position
Microsoft.CodeAnalysis.Workspaces (5)
Shared\Utilities\XmlFragmentParser.cs (5)
148if (_position > 0)
170_position += EncodeAndAdvance(s_rootStart, _position, buffer, ref index, ref count);
173_position += EncodeAndAdvance(s_currentStart, _position - s_rootStart.Length, buffer, ref index, ref count);
176_position += EncodeAndAdvance(_text, _position - s_rootStart.Length - s_currentStart.Length, buffer, ref index, ref count);
179_position += EncodeAndAdvance(s_currentEnd, _position - s_rootStart.Length - s_currentStart.Length - _text.Length, buffer, ref index, ref count);