14 references to SyntaxUtilities
Microsoft.CodeAnalysis.VisualBasic.Features (14)
EditAndContinue\DeclarationBody\FieldWithMultipleArrayBoundsDeclarationBody.vb (1)
38
Return
SyntaxUtilities
.GetArrayBoundsCapturedVariables(model, _identifier.ArrayBounds)
EditAndContinue\DeclarationBody\FieldWithSingleArrayBoundsDeclarationBody.vb (1)
43
Return
SyntaxUtilities
.GetArrayBoundsCapturedVariables(model, Name.ArrayBounds)
EditAndContinue\DeclarationBody\VisualBasicLambdaBody.vb (1)
49
Return
SyntaxUtilities
.CreateLambdaBody(LambdaUtilities.GetCorrespondingLambdaBody(_node, newLambda))
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (11)
102
Return
SyntaxUtilities
.TryGetDeclarationBody(node)
108
Return variableDeclarator.Names.Count > 1 AndAlso variableDeclarator.Initializer IsNot Nothing OrElse
SyntaxUtilities
.HasAsNewClause(variableDeclarator)
198
Return
SyntaxUtilities
.CreateLambdaBody(body)
990
body1 =
SyntaxUtilities
.CreateLambdaBody(bodyNode1)
991
body2 = If(bodyNode2 IsNot Nothing,
SyntaxUtilities
.CreateLambdaBody(bodyNode2), Nothing)
2208
Return
SyntaxUtilities
.IsAsyncMethodOrLambda(declaration) OrElse
2209
SyntaxUtilities
.IsIteratorMethodOrLambda(declaration)
2214
If
SyntaxUtilities
.IsAsyncMethodOrLambda(body) Then
2215
Return New StateMachineInfo(IsAsync:=True, IsIterator:=False, HasSuspensionPoints:=
SyntaxUtilities
.GetAwaitExpressions(body).Any())
2216
ElseIf
SyntaxUtilities
.IsIteratorMethodOrLambda(body) Then
2217
Return New StateMachineInfo(IsAsync:=False, IsIterator:=True, HasSuspensionPoints:=
SyntaxUtilities
.GetYieldStatements(body).Any())