4 writes to Current
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.WordSpanEnumerator.cs (4)
27
Current
= new TextSpan(nameSpan.Start, 0);
39
Current
= _nameSpan;
54
Current
= new TextSpan(Current.End + _wordSeparator.Length, 0);
72
Current
= TextSpan.FromBounds(Current.End, Math.Min(_nameSpan.End, nextWordSeparator));
8 references to Current
Microsoft.CodeAnalysis.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.WordSpanEnumerator.cs (8)
37
if (
Current
.Length == 0)
50
var nextWordSeparator = _name.IndexOf(_wordSeparator,
Current
.End);
51
if (nextWordSeparator ==
Current
.End)
54
Current = new TextSpan(
Current
.End + _wordSeparator.Length, 0);
65
if (
Current
.End > _nameSpan.End)
72
Current = TextSpan.FromBounds(
Current
.End, Math.Min(_nameSpan.End, nextWordSeparator));
76
return
Current
.Length > 0 &&
Current
.End <= _nameSpan.End;