116 references to ArgumentList
Microsoft.CodeAnalysis.VisualBasic (15)
Binding\Binder_Expressions.vb (2)
3892Dim int32Type = GetSpecialType(SpecialType.System_Int32, node.ArgumentList, diagnostics) 3918ReportDiagnostic(diagnostics, node.ArgumentList, err)
Binding\Binder_Invocation.vb (2)
109Dim argumentList As ArgumentListSyntax = node.ArgumentList 190Me.BindArgumentsAndNames(node.ArgumentList, boundArguments, argumentNames, argumentNamesLocations, diagnostics)
Generated\Syntax.xml.Main.Generated.vb (2)
3960Dim newArgumentList = DirectCast(Visit(node.ArgumentList), ArgumentListSyntax) 3961If node.ArgumentList IsNot newArgumentList Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (5)
23151return Update(expression, Me.ArgumentList) 23176Dim _child = If(Me.ArgumentList IsNot Nothing, Me.ArgumentList, SyntaxFactory.ArgumentList()) 23196Return Me.ArgumentList 23222If expression IsNot Me.Expression OrElse argumentList IsNot Me.ArgumentList Then
Syntax\SyntaxNodeExtensions.vb (4)
167If invocation.ArgumentList Is Nothing OrElse invocation.ArgumentList.Arguments.Count = 0 Then 172Debug.Assert(invocation.ArgumentList IsNot Nothing) 174If invocation.ArgumentList.Arguments.Count = 1 Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (8)
InvocationExpressionSyntaxExtensions.vb (2)
13Return invocationExpression.ArgumentList IsNot Nothing AndAlso invocationExpression.ArgumentList.Arguments.Count = 0 AndAlso
ParenthesizedExpressionSyntaxExtensions.vb (3)
265If invocationExpression.ArgumentList Is Nothing Then 303parentInvocation.ArgumentList IsNot Nothing AndAlso 304parentInvocation.ArgumentList.OpenParenToken = nextToken Then
SpeculationAnalyzer.vb (1)
494Return DirectCast(expression, InvocationExpressionSyntax).ArgumentList
VisualBasicSyntaxFacts.vb (2)
560argumentList = invocation?.ArgumentList 1822argumentList = invocation.ArgumentList
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (10)
SimpleNameSyntaxExtensions.vb (1)
38If invocationExpression.Expression Is simpleName AndAlso invocationExpression.ArgumentList IsNot Nothing Then
SyntaxTreeExtensions.vb (2)
870If invocationExpression IsNot Nothing AndAlso invocationExpression.ArgumentList IsNot Nothing Then 871Return invocationExpression.ArgumentList.CloseParenToken
VisualBasicAddExplicitCastCodeFixProvider.vb (1)
84Function(node) node.ArgumentList IsNot Nothing)
VisualBasicTypeInferenceService.TypeInferrer.vb (5)
241index = invocation.ArgumentList.Arguments.IndexOf(argumentOpt) 934If invocation.ArgumentList IsNot Nothing AndAlso invocation.ArgumentList.Arguments.Count > 0 AndAlso 935TypeOf invocation.ArgumentList.Arguments(0) Is SimpleArgumentSyntax Then 936Dim argumentExpression = DirectCast(invocation.ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression
VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
77Dim arguments = invocationExpression.ArgumentList.Arguments
Microsoft.CodeAnalysis.VisualBasic.Features (39)
ChangeSignature\VisualBasicChangeSignatureService.vb (5)
143Dim argument = invocation?.ArgumentList?.Arguments.FirstOrDefault(Function(a) a.Span.Contains(position)) 246originalNode Is DirectCast(matchingNode, InvocationExpressionSyntax).ArgumentList, 362If invocation.ArgumentList Is Nothing Then 377invocation.ArgumentList, 533GetArgumentListDetailsRegardingParamsArrays(invocation.ArgumentList, argumentCount, lastArgumentIsNamed, lastArgumentExpression)
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (1)
209argumentList = (DirectCast(current, InvocationExpressionSyntax)).ArgumentList
ExtractMethod\Extensions.vb (1)
134Dim argumentIndex = invocation.ArgumentList.Arguments.IndexOf(argument)
GenerateConstructor\VisualBasicGenerateConstructorService.vb (3)
67If invocation.ArgumentList IsNot Nothing AndAlso Not invocation.ArgumentList.CloseParenToken.IsMissing Then 73arguments = GetArguments(invocation.ArgumentList.Arguments)
GenerateMember\GenerateEnumMember\VisualBasicGenerateEnumMemberService.vb (1)
39If invocation.ArgumentList IsNot Nothing Then
GenerateMember\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (4)
117Return invocationExpressionOpt.ArgumentList Is Nothing OrElse 118Not invocationExpressionOpt.ArgumentList.CloseParenToken.IsMissing 121Return invocationExpressionOpt.ArgumentList Is Nothing OrElse 122Not invocationExpressionOpt.ArgumentList.CloseParenToken.IsMissing
GenerateMember\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (12)
34Me.InvocationExpression.ArgumentList, reservedNames:=typeParametersNames, cancellationToken:=cancellationToken) 66If Not Me.InvocationExpression.ArgumentList Is Nothing Then 67For Each argument In Me.InvocationExpression.ArgumentList.Arguments 132Return If(Me.InvocationExpression.ArgumentList IsNot Nothing AndAlso Me.InvocationExpression.ArgumentList.GetArgumentCount() > 0, 133Me.InvocationExpression.ArgumentList.Arguments.Select(Function(a) RefKind.None).ToImmutableArray(), 138Return If(Me.InvocationExpression.ArgumentList IsNot Nothing AndAlso Me.InvocationExpression.ArgumentList.GetArgumentCount() > 0, 139Me.InvocationExpression.ArgumentList.Arguments.Select(Function(a) DetermineParameterType(a, cancellationToken)).ToImmutableArray(), 144Return If(Me.InvocationExpression.ArgumentList IsNot Nothing AndAlso Me.InvocationExpression.ArgumentList.GetArgumentCount() > 0, 145Me.InvocationExpression.ArgumentList.Arguments.Select(AddressOf DetermineParameterOptionality).ToImmutableArray(),
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (2)
202If invocationExpression.ArgumentList?.Arguments.Count <> 1 Then 208invocationExpression.ArgumentList.Arguments(0).GetExpression())
SignatureHelp\InvocationExpressionSignatureHelpProvider.vb (7)
37currentSpan.Start = GetSignatureHelpSpan(expression.ArgumentList).Start Then 39Return GetSignatureHelpState(expression.ArgumentList, position) 50Return expression.ArgumentList IsNot Nothing 60Return node.ArgumentList IsNot Nothing AndAlso 61node.ArgumentList.Span.Contains(token.SpanStart) AndAlso 62token <> node.ArgumentList.CloseParenToken 133Dim textSpan = GetSignatureHelpSpan(invocationExpression.ArgumentList)
VisualBasicAddExplicitCastCodeFixProvider.vb (1)
84Function(node) node.ArgumentList IsNot Nothing)
VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
77Dim arguments = invocationExpression.ArgumentList.Arguments
Wrapping\SeparatedSyntaxList\VisualBasicArgumentWrapper.vb (1)
41Return If(TryCast(node, InvocationExpressionSyntax)?.ArgumentList,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Compilation\SemanticModelAPITests.vb (4)
785Dim arg = DirectCast(DirectCast(call1.Expression, InvocationExpressionSyntax).ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression 792arg = DirectCast(DirectCast(call2.Expression, InvocationExpressionSyntax).ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression 1457Dim arg = DirectCast(DirectCast(call1.Expression, InvocationExpressionSyntax).ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression 1465arg = DirectCast(DirectCast(call2.Expression, InvocationExpressionSyntax).ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolDisplay\SymbolDisplayTests.vb (1)
5275Dim escapedThis = invocation.ArgumentList.Arguments(0).GetExpression()
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (15)
Generated\Syntax.Test.xml.Generated.vb (1)
20575Dim withObj = objectUnderTest.WithExpression(objectUnderTest.Expression).WithArgumentList(objectUnderTest.ArgumentList)
Syntax\SyntaxRewriterTests.vb (3)
552Dim newRoot = root.ReplaceNode(invocation.ArgumentList.Arguments(0), New SyntaxNode() {argC, argD}) 573Dim newNode = invocation.InsertNodesBefore(invocation.ArgumentList.Arguments(0), New SyntaxNode() {argC, argD}) 580Dim newNode2 = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments(0), New SyntaxNode() {argC, argD})
TestSyntaxNodes.vb (11)
64Dim argList As ArgumentListSyntax = x.ArgumentList 76Dim argList As ArgumentListSyntax = invocation.ArgumentList 392Dim argList = DirectCast(DirectCast(simpleTree, BinaryExpressionSyntax).Right, InvocationExpressionSyntax).ArgumentList 1300Dim newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments(0), {argC, argD}) 1304newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments(1), {argC, argD}) 1308newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments(0), New SyntaxNode() {}) 1312newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments(1), New SyntaxNode() {}) 1337Dim newNode = invocation.InsertNodesBefore(invocation.ArgumentList.Arguments(0), {argC, argD}) 1341newNode = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments(0), {argC, argD}) 1345newNode = invocation.InsertNodesBefore(invocation.ArgumentList.Arguments(1), {argC, argD}) 1349newNode = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments(1), {argC, argD})
Microsoft.CodeAnalysis.VisualBasic.Workspaces (22)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (2)
75Function(n) DirectCast(n, InvocationExpressionSyntax).ArgumentList, 154node, newNode, Function(n) n.Expression.Span.Length > 0, Function(n) n.ArgumentList, Function(n) n.WithArgumentList(SyntaxFactory.ArgumentList()), semanticChecker)
InvocationExpressionSyntaxExtensions.vb (2)
13Return invocationExpression.ArgumentList IsNot Nothing AndAlso invocationExpression.ArgumentList.Arguments.Count = 0 AndAlso
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (2)
870If invocationExpression IsNot Nothing AndAlso invocationExpression.ArgumentList IsNot Nothing Then 871Return invocationExpression.ArgumentList.CloseParenToken
ParenthesizedExpressionSyntaxExtensions.vb (3)
265If invocationExpression.ArgumentList Is Nothing Then 303parentInvocation.ArgumentList IsNot Nothing AndAlso 304parentInvocation.ArgumentList.OpenParenToken = nextToken Then
SimpleNameSyntaxExtensions.vb (1)
38If invocationExpression.Expression Is simpleName AndAlso invocationExpression.ArgumentList IsNot Nothing Then
Simplification\Reducers\VisualBasicExtensionMethodReducer.vb (1)
43Dim argumentList = invocationExpression.ArgumentList
Simplification\VisualBasicSimplificationService.Expander.vb (3)
198If newInvocationExpression.ArgumentList Is Nothing Then 271Dim arguments = originalNode.ArgumentList.Arguments.Insert(0, thisArgument) 274originalNode.ArgumentList.WithArguments(arguments))
SpeculationAnalyzer.vb (1)
494Return DirectCast(expression, InvocationExpressionSyntax).ArgumentList
VisualBasicSyntaxFacts.vb (2)
560argumentList = invocation?.ArgumentList 1822argumentList = invocation.ArgumentList
VisualBasicTypeInferenceService.TypeInferrer.vb (5)
241index = invocation.ArgumentList.Arguments.IndexOf(argumentOpt) 934If invocation.ArgumentList IsNot Nothing AndAlso invocation.ArgumentList.Arguments.Count > 0 AndAlso 935TypeOf invocation.ArgumentList.Arguments(0) Is SimpleArgumentSyntax Then 936Dim argumentExpression = DirectCast(invocation.ArgumentList.Arguments(0), SimpleArgumentSyntax).Expression
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\MethodXML\MethodXmlBuilder.vb (2)
451If invocationExpression.ArgumentList IsNot Nothing Then 452For Each argument In invocationExpression.ArgumentList.Arguments