5 writes to _offset
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (5)
CSharp\Scanner.cs (5)
65_offset = 0; 91_offset++; 99var c = _text[_offset++]; 106_offset++; 124_offset++;
13 references to _offset
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (13)
CSharp\Scanner.cs (13)
89while (_offset < length && char.IsWhiteSpace(_text[_offset])) 94if (_offset == length) 104else if (c == '@' && _offset < length && UnicodeCharacterUtilities.IsIdentifierStartCharacter(_text[_offset])) 116Debug.Assert(_offset > 0); 117Debug.Assert(UnicodeCharacterUtilities.IsIdentifierStartCharacter(_text[_offset - 1])); 118Debug.Assert(_offset == 1 || !UnicodeCharacterUtilities.IsIdentifierPartCharacter(_text[_offset - 2])); 121int start = _offset - 1; 122while ((_offset < length) && UnicodeCharacterUtilities.IsIdentifierPartCharacter(_text[_offset])) 126var text = _text.Substring(start, _offset - start);