6 writes to _position
Microsoft.CodeAnalysis.Workspaces (6)
Shared\Utilities\XmlFragmentParser.cs (6)
140_position = 0; 151_position = s_rootStart.Length; 171_position += EncodeAndAdvance(s_rootStart, _position, buffer, ref index, ref count); 174_position += EncodeAndAdvance(s_currentStart, _position - s_rootStart.Length, buffer, ref index, ref count); 177_position += EncodeAndAdvance(_text, _position - s_rootStart.Length - s_currentStart.Length, buffer, ref index, ref count); 180_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)
149if (_position > 0) 171_position += EncodeAndAdvance(s_rootStart, _position, buffer, ref index, ref count); 174_position += EncodeAndAdvance(s_currentStart, _position - s_rootStart.Length, buffer, ref index, ref count); 177_position += EncodeAndAdvance(_text, _position - s_rootStart.Length - s_currentStart.Length, buffer, ref index, ref count); 180_position += EncodeAndAdvance(s_currentEnd, _position - s_rootStart.Length - s_currentStart.Length - _text.Length, buffer, ref index, ref count);