14 references to SyntaxUtilities
Microsoft.CodeAnalysis.VisualBasic.Features (14)
EditAndContinue\DeclarationBody\FieldWithMultipleArrayBoundsDeclarationBody.vb (1)
42Return SyntaxUtilities.GetArrayBoundsCapturedVariables(model, _identifier.ArrayBounds)
EditAndContinue\DeclarationBody\FieldWithSingleArrayBoundsDeclarationBody.vb (1)
47Return SyntaxUtilities.GetArrayBoundsCapturedVariables(model, Name.ArrayBounds)
EditAndContinue\DeclarationBody\VisualBasicLambdaBody.vb (1)
49Return SyntaxUtilities.CreateLambdaBody(LambdaUtilities.GetCorrespondingLambdaBody(_node, newLambda))
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (11)
89Return SyntaxUtilities.TryGetDeclarationBody(node) 95Return variableDeclarator.Names.Count > 1 AndAlso variableDeclarator.Initializer IsNot Nothing OrElse SyntaxUtilities.HasAsNewClause(variableDeclarator) 185Return SyntaxUtilities.CreateLambdaBody(body) 996body1 = SyntaxUtilities.CreateLambdaBody(bodyNode1) 997body2 = If(bodyNode2 IsNot Nothing, SyntaxUtilities.CreateLambdaBody(bodyNode2), Nothing) 2162Return SyntaxUtilities.IsAsyncMethodOrLambda(declaration) OrElse 2163SyntaxUtilities.IsIteratorMethodOrLambda(declaration) 2168If SyntaxUtilities.IsAsyncMethodOrLambda(body) Then 2169Return New StateMachineInfo(IsAsync:=True, IsIterator:=False, HasSuspensionPoints:=SyntaxUtilities.GetAwaitExpressions(body).Any()) 2170ElseIf SyntaxUtilities.IsIteratorMethodOrLambda(body) Then 2171Return New StateMachineInfo(IsAsync:=False, IsIterator:=True, HasSuspensionPoints:=SyntaxUtilities.GetYieldStatements(body).Any())