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