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)
89Return SyntaxUtilities.TryGetDeclarationBody(node) 95Return variableDeclarator.Names.Count > 1 AndAlso variableDeclarator.Initializer IsNot Nothing OrElse SyntaxUtilities.HasAsNewClause(variableDeclarator) 185Return SyntaxUtilities.CreateLambdaBody(body) 979body1 = SyntaxUtilities.CreateLambdaBody(bodyNode1) 980body2 = If(bodyNode2 IsNot Nothing, SyntaxUtilities.CreateLambdaBody(bodyNode2), Nothing) 2145Return SyntaxUtilities.IsAsyncMethodOrLambda(declaration) OrElse 2146SyntaxUtilities.IsIteratorMethodOrLambda(declaration) 2151If SyntaxUtilities.IsAsyncMethodOrLambda(body) Then 2152Return New StateMachineInfo(IsAsync:=True, IsIterator:=False, HasSuspensionPoints:=SyntaxUtilities.GetAwaitExpressions(body).Any()) 2153ElseIf SyntaxUtilities.IsIteratorMethodOrLambda(body) Then 2154Return New StateMachineInfo(IsAsync:=False, IsIterator:=True, HasSuspensionPoints:=SyntaxUtilities.GetYieldStatements(body).Any())