304 references to GetNextToken
Microsoft.CodeAnalysis.CodeStyle (19)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle (19)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (28)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Workspaces (25)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.Features (12)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (42)
src\Workspaces\VisualBasic\Portable\Formatting\Rules\NodeBasedFormattingRule.vb (34)
59baseToken.GetNextToken(includeZeroWidth:=True),
67Dim startToken = baseToken.GetNextToken(includeZeroWidth:=True)
76Dim startToken = baseToken.GetNextToken(includeZeroWidth:=True)
86Dim startToken = baseToken.GetNextToken(includeZeroWidth:=True)
91xmlNode.StartTag.LessThanToken.GetNextToken(includeZeroWidth:=True),
93xmlNode.StartTag.GreaterThanToken.GetNextToken(includeZeroWidth:=True),
107xmlEmbeddedExpression.LessThanPercentEqualsToken.GetNextToken(includeZeroWidth:=True),
119baseToken.GetNextToken(includeZeroWidth:=True),
123lastBeginningToken.GetNextToken(includeZeroWidth:=True),
314[namespace].NamespaceStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
321[module].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
328[class].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
335[struct].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
342[interface].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
349[enum].EnumStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
356[method].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
363[property].PropertyStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
370[event].EventStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
377[while].WhileStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
384[using].UsingStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
391[sync].SyncLockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
398[with].WithStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
406[ifBlock].IfStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
410[ifBlock].IfStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
418[elseif].ElseIfStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
425[else].ElseStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
433[try].TryStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
437[try].TryStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
445[catch].CatchStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
452[finally].FinallyStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
459[select].SelectStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
466[case].CaseStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
473[do].DoStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
479Return ValueTuple.Create([for].ForOrForEachStatement.GetLastToken().GetNextToken(includeZeroWidth:=True), GetEndTokenForForBlock([for]))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (12)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (4)
Microsoft.CodeAnalysis.VisualBasic.Features (18)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (56)
Formatting\Rules\NodeBasedFormattingRule.vb (34)
59baseToken.GetNextToken(includeZeroWidth:=True),
67Dim startToken = baseToken.GetNextToken(includeZeroWidth:=True)
76Dim startToken = baseToken.GetNextToken(includeZeroWidth:=True)
86Dim startToken = baseToken.GetNextToken(includeZeroWidth:=True)
91xmlNode.StartTag.LessThanToken.GetNextToken(includeZeroWidth:=True),
93xmlNode.StartTag.GreaterThanToken.GetNextToken(includeZeroWidth:=True),
107xmlEmbeddedExpression.LessThanPercentEqualsToken.GetNextToken(includeZeroWidth:=True),
119baseToken.GetNextToken(includeZeroWidth:=True),
123lastBeginningToken.GetNextToken(includeZeroWidth:=True),
314[namespace].NamespaceStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
321[module].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
328[class].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
335[struct].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
342[interface].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
349[enum].EnumStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
356[method].BlockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
363[property].PropertyStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
370[event].EventStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
377[while].WhileStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
384[using].UsingStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
391[sync].SyncLockStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
398[with].WithStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
406[ifBlock].IfStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
410[ifBlock].IfStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
418[elseif].ElseIfStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
425[else].ElseStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
433[try].TryStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
437[try].TryStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
445[catch].CatchStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
452[finally].FinallyStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
459[select].SelectStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
466[case].CaseStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
473[do].DoStatement.GetLastToken().GetNextToken(includeZeroWidth:=True),
479Return ValueTuple.Create([for].ForOrForEachStatement.GetLastToken().GetNextToken(includeZeroWidth:=True), GetEndTokenForForBlock([for]))
Microsoft.CodeAnalysis.Workspaces (22)
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Microsoft.VisualStudio.LanguageServices.CSharp (5)
Microsoft.VisualStudio.LanguageServices.VisualBasic (8)