170 references to AsToken
Microsoft.CodeAnalysis (33)
Syntax\SyntaxNavigator.cs (8)
111var token = GetFirstToken(child.AsToken(), predicate, stepInto);
158var token = GetLastToken(child.AsToken(), predicate, stepInto);
446var token = GetFirstToken(child.AsToken(), predicate, stepInto);
496var token = GetLastToken(child.AsToken(), predicate, stepInto);
554var token = GetFirstToken(child.AsToken(), predicate, stepInto);
570else if (child.IsToken && child.AsToken() == current)
608var token = GetLastToken(child.AsToken(), predicate, stepInto);
624else if (child.IsToken && child.AsToken() == current)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp (12)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (8)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.Features (15)
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.VisualBasic (8)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (13)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (9)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (8)
Microsoft.CodeAnalysis.Workspaces (18)