148 references to Arguments
Microsoft.CodeAnalysis.VisualBasic (18)
Binding\Binder_Attributes.vb (1)
391
Dim arguments As SeparatedSyntaxList(Of ArgumentSyntax) = argumentListOpt.
Arguments
Binding\Binder_Delegates.vb (1)
93
argumentCount = argumentListOpt.
Arguments
.Count
Binding\Binder_Expressions.vb (1)
4348
Dim arguments As SeparatedSyntaxList(Of ArgumentSyntax) = arrayBoundsOpt.
Arguments
Binding\Binder_Invocation.vb (1)
2983
Dim arguments = argumentListOpt.
Arguments
Binding\Binder_ObjectInitializer.vb (2)
86
If argumentListOpt Is Nothing OrElse argumentListOpt.
Arguments
.Count = 0 Then
313
Dim span = argumentListOpt.
Arguments
.Span
Binding\Binder_Statements.vb (1)
2201
Dim midArguments As SeparatedSyntaxList(Of ArgumentSyntax) = midExpression.ArgumentList.
Arguments
Binding\Binder_Utils.vb (1)
362
Dim rank As Integer = arrayBoundsOpt.
Arguments
.Count
Generated\Syntax.xml.Main.Generated.vb (1)
4276
Dim newArguments = VisitList(node.
Arguments
)
Generated\Syntax.xml.Syntax.Generated.vb (4)
26504
return Update(openParenToken, Me.
Arguments
, Me.CloseParenToken)
26534
Return Me.WithArguments(Me.
Arguments
.AddRange(items))
26552
return Update(Me.OpenParenToken, Me.
Arguments
, closeParenToken)
26596
If openParenToken <> Me.OpenParenToken OrElse arguments <> Me.
Arguments
OrElse closeParenToken <> Me.CloseParenToken Then
Symbols\Attributes\AttributeData.vb (2)
91
attributeSyntax.ArgumentList.
Arguments
.Where(Function(arg) arg.Kind = SyntaxKind.SimpleArgument AndAlso Not arg.IsNamed).Count,
258
If nodeOpt.ArgumentList IsNot Nothing AndAlso nodeOpt.ArgumentList.
Arguments
.Count > argumentIndex Then
Symbols\Source\SourceAssemblySymbol.vb (1)
1160
Return attributeSyntaxOpt.ArgumentList.
Arguments
.First().GetLocation()
Syntax\SyntaxNodeExtensions.vb (2)
167
If invocation.ArgumentList Is Nothing OrElse invocation.ArgumentList.
Arguments
.Count = 0 Then
174
If invocation.ArgumentList.
Arguments
.Count = 1 Then
Microsoft.CodeAnalysis.VisualBasic.Analyzers (2)
MetaAnalyzers\BasicRegisterActionAnalyzer.vb (1)
69
Return invocation.ArgumentList.
Arguments
.Select(Function(a) a.GetExpression)
MetaAnalyzers\BasicReportDiagnosticAnalyzer.vb (1)
36
Return invocation.ArgumentList.
Arguments
.Select(Function(a) a.GetExpression)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (6)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
59
Dim index = argumentList.
Arguments
.IndexOf(argument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
294
Dim index = argumentList.
Arguments
.IndexOf(simpleArgument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\InvocationExpressionSyntaxExtensions.vb (1)
13
Return invocationExpression.ArgumentList IsNot Nothing AndAlso invocationExpression.ArgumentList.
Arguments
.Count = 0 AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
243
Dim index = argumentList.
Arguments
.IndexOf(argument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1752
arguments = argumentList.
Arguments
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
485
argumentList.
Arguments
.AsImmutable(),
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (24)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (5)
241
index = invocation.ArgumentList.
Arguments
.IndexOf(argumentOpt)
301
index = creation.ArgumentList.
Arguments
.IndexOf(argumentOpt)
325
index = attribute.ArgumentList.
Arguments
.IndexOf(argumentOpt)
934
If invocation.ArgumentList IsNot Nothing AndAlso invocation.ArgumentList.
Arguments
.Count > 0 AndAlso
1026
Dim index = argumentList.
Arguments
.GetWithSeparators().IndexOf(previousToken)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\ArgumentFixer.vb (1)
33
Return argumentList.
Arguments
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\VisualBasicGenerateConstructorService.vb (3)
72
arguments = GetArguments(invocation.ArgumentList.
Arguments
)
111
arguments = GetArguments(objectCreationExpression.ArgumentList.
Arguments
)
146
arguments = GetArguments(attribute.ArgumentList.
Arguments
)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (4)
66
For Each argument In Me.InvocationExpression.ArgumentList.
Arguments
132
Me.InvocationExpression.ArgumentList.
Arguments
.Select(Function(a) RefKind.None).ToImmutableArray(),
138
Me.InvocationExpression.ArgumentList.
Arguments
.Select(Function(a) DetermineParameterType(a, cancellationToken)).ToImmutableArray(),
144
Me.InvocationExpression.ArgumentList.
Arguments
.Select(AddressOf DetermineParameterOptionality).ToImmutableArray(),
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseCollectionInitializer\VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
95
Dim arguments = invocationExpression.ArgumentList.
Arguments
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseObjectInitializer\UseInitializerHelpers.vb (1)
15
objectCreation.ArgumentList.
Arguments
.Count = 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ArgumentListSyntaxExtensions.vb (3)
13
Dim count = argumentList.
Arguments
.Count
14
If count = 1 AndAlso argumentList.
Arguments
.Last().IsMissing AndAlso argumentList.
Arguments
.SeparatorCount = 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb (1)
133
For Each n In argumentList.
Arguments
.GetWithSeparators()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ObjectCreationExpressionExtensions.vb (1)
17
If objectCreationExpression.ArgumentList.
Arguments
.Count > 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
26
semanticModel, arguments.
Arguments
.ToList(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Indentation\SpecialFormattingOperation.vb (3)
118
argumentList.
Arguments
.Count = 0 OrElse
119
argumentList.
Arguments
.All(Function(a) a.IsMissing) Then
132
For Each argument In argumentList.
Arguments
Microsoft.CodeAnalysis.VisualBasic.Features (25)
ChangeSignature\VisualBasicChangeSignatureService.vb (4)
501
argumentList.
Arguments
,
550
argumentCount = argumentList.
Arguments
.Count
551
Dim isNamed = argumentList.
Arguments
.LastOrDefault()?.IsNamed
553
lastArgumentExpression = argumentList.
Arguments
.LastOrDefault()?.GetExpression()
Completion\CompletionProviders\NamedParameterCompletionProvider.vb (1)
122
argumentList.
Arguments
.OfType(Of SimpleArgumentSyntax).
EditAndContinue\SyntaxUtilities.vb (1)
121
arrayBounds.
Arguments
.
GenerateType\VisualBasicGenerateTypeService.vb (3)
77
argumentList = objectCreationExpression.ArgumentList.
Arguments
.ToList()
279
objectCreationExpressionOpt.ArgumentList.
Arguments
.Count = 1 AndAlso
291
ElseIf objectCreationExpressionOpt.ArgumentList.
Arguments
.Count <> 1 Then
InlineHints\VisualBasicInlineParameterNameHintsService.vb (1)
35
For Each arg In argumentList.
Arguments
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
203
If invocationExpression.ArgumentList?.
Arguments
.Count <> 1 Then
SignatureHelp\SignatureHelpUtilities.vb (2)
35
Private ReadOnly s_getArgumentListArgumentsWithSeparators As Func(Of ArgumentListSyntax, SyntaxNodeOrTokenList) = Function(list) list.
Arguments
.GetWithSeparators()
40
Function(list) list.
Arguments
.Select(Function(a)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\ArgumentFixer.vb (1)
33
Return argumentList.
Arguments
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\VisualBasicGenerateConstructorService.vb (3)
72
arguments = GetArguments(invocation.ArgumentList.
Arguments
)
111
arguments = GetArguments(objectCreationExpression.ArgumentList.
Arguments
)
146
arguments = GetArguments(attribute.ArgumentList.
Arguments
)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (4)
66
For Each argument In Me.InvocationExpression.ArgumentList.
Arguments
132
Me.InvocationExpression.ArgumentList.
Arguments
.Select(Function(a) RefKind.None).ToImmutableArray(),
138
Me.InvocationExpression.ArgumentList.
Arguments
.Select(Function(a) DetermineParameterType(a, cancellationToken)).ToImmutableArray(),
144
Me.InvocationExpression.ArgumentList.
Arguments
.Select(AddressOf DetermineParameterOptionality).ToImmutableArray(),
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseCollectionInitializer\VisualBasicUseCollectionInitializerCodeFixProvider.vb (1)
95
Dim arguments = invocationExpression.ArgumentList.
Arguments
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\UseObjectInitializer\UseInitializerHelpers.vb (1)
15
objectCreation.ArgumentList.
Arguments
.Count = 0 Then
UseNamedArguments\VisualBasicUseNamedArgumentsCodeRefactoringProvider.vb (1)
26
Return argumentList.
Arguments
Wrapping\SeparatedSyntaxList\VisualBasicArgumentWrapper.vb (1)
37
Return listSyntax.
Arguments
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (23)
Microsoft.NetCore.Analyzers\Performance\BasicDoNotUseCountWhenAnyCanBeUsedFixer.vb (2)
55
If invocation IsNot Nothing AndAlso invocation.ArgumentList.
Arguments
.Count = 1 Then
58
sourceExpression:=invocation.ArgumentList.
Arguments
(0).GetExpression(),
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (4)
79
If invocation.ArgumentList.
Arguments
.Count = 2 Then
87
changedValueNode = invocation.ArgumentList.
Arguments
(1).GetExpression()
168
Dim keyArgument = fix.ContainsKeyInvocation.ArgumentList.
Arguments
.FirstOrDefault()
232
Dim dictionaryAddArguments = fix.DictionaryAddInvocation.ArgumentList.
Arguments
Microsoft.NetCore.Analyzers\Performance\BasicPreferHashDataOverComputeHash.Fixer.vb (2)
107
Dim arg = argumentList.
Arguments
(0)
115
Dim list = argumentList.
Arguments
.ToList()
Microsoft.NetCore.Analyzers\Performance\BasicPreferIsEmptyOverCount.Fixer.vb (1)
37
countNode = invocationExpression.ArgumentList.
Arguments
(0).GetExpression()
Microsoft.NetCore.Analyzers\Performance\BasicPreferLengthCountIsEmptyOverAnyFixer.vb (2)
113
If invocation.ArgumentList.
Arguments
.Count > 0 Then
114
expression = invocation.ArgumentList.
Arguments
(0).GetExpression()
Microsoft.NetCore.Analyzers\Performance\BasicUseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.vb (2)
29
For Each argument In invocation.ArgumentList.
Arguments
43
Return DirectCast(invocation, InvocationExpressionSyntax).ArgumentList.
Arguments
.ToArray()
Microsoft.NetCore.Analyzers\Performance\BasicUseStringMethodCharOverloadWithSingleCharacters.Fixer.vb (2)
25
For Each argument In argumentList.
Arguments
42
Return CType(argumentListNode, ArgumentListSyntax).
Arguments
.Cast(Of SyntaxNode)().ToImmutableArray()
Microsoft.NetCore.Analyzers\Resources\BasicMarkAssembliesWithNeutralResourcesLanguage.vb (2)
28
If Not CheckResxGeneratedFile(nc.SemanticModel, attributeSyntax, attributeSyntax.ArgumentList.
Arguments
(0).GetExpression(), generatedCode, nc.CancellationToken) Then
38
attribute.ArgumentList.
Arguments
.Count > 0).GetValueOrDefault()
Microsoft.NetCore.Analyzers\Runtime\BasicForwardCancellationTokenToInvocations.Fixer.vb (1)
60
arguments = invocationExpression.ArgumentList.
Arguments
.ToImmutableArray
Microsoft.NetCore.Analyzers\Runtime\BasicPreferAsSpanOverSubstring.Fixer.vb (1)
27
Dim argumentToReplace = cast.ArgumentList.
Arguments
.FirstOrDefault(
Microsoft.NetCore.Analyzers\Runtime\BasicPreferDictionaryContainsMethods.Fixer.vb (1)
30
Return generator.InvocationExpression(containsMemberExpression, DirectCast(invocation, InvocationExpressionSyntax).ArgumentList.
Arguments
)
Microsoft.NetCore.Analyzers\Usage\BasicDoNotPassNonNullableValueToArgumentNullExceptionThrowIfNullFixer.vb (1)
16
Dim nullableStructExpression = invocation.ArgumentList.
Arguments
(0).GetExpression()
Microsoft.NetCore.Analyzers\Usage\BasicPreferGenericOverloads.vb (1)
35
invocationSyntax.ArgumentList.
Arguments
.Where(AddressOf invocationContext.IsTypeOfArgumentSyntax),
Microsoft.NetCore.Analyzers\Usage\BasicUseVolatileReadWriteFixer.vb (1)
17
Return ImmutableArray.CreateRange(Of SyntaxNode)(DirectCast(invocationSyntax, InvocationExpressionSyntax).ArgumentList.
Arguments
)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (28)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
317
argsList.
Arguments
= Nothing AndAlso
CodeGeneration\VisualBasicSyntaxGenerator.vb (4)
3187
Return list.
Arguments
3204
list = list.WithArguments(list.
Arguments
.InsertRange(index, newArguments.
Arguments
))
3589
If argList.
Arguments
.Count = 1 Then
Simplification\Reducers\VisualBasicExtensionMethodReducer.vb (2)
43
Dim noOfArguments = argumentList.
Arguments
.Count
50
Dim newArguments = SyntaxFactory.SeparatedList(Of ArgumentSyntax)(argumentList.
Arguments
.GetWithSeparators().AsEnumerable().Skip(2))
Simplification\VisualBasicSimplificationService.Expander.vb (1)
271
Dim arguments = originalNode.ArgumentList.
Arguments
.Insert(0, thisArgument)
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (5)
241
index = invocation.ArgumentList.
Arguments
.IndexOf(argumentOpt)
301
index = creation.ArgumentList.
Arguments
.IndexOf(argumentOpt)
325
index = attribute.ArgumentList.
Arguments
.IndexOf(argumentOpt)
934
If invocation.ArgumentList IsNot Nothing AndAlso invocation.ArgumentList.
Arguments
.Count > 0 AndAlso
1026
Dim index = argumentList.
Arguments
.GetWithSeparators().IndexOf(previousToken)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
59
Dim index = argumentList.
Arguments
.IndexOf(argument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
294
Dim index = argumentList.
Arguments
.IndexOf(simpleArgument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\InvocationExpressionSyntaxExtensions.vb (1)
13
Return invocationExpression.ArgumentList IsNot Nothing AndAlso invocationExpression.ArgumentList.
Arguments
.Count = 0 AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
243
Dim index = argumentList.
Arguments
.IndexOf(argument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1752
arguments = argumentList.
Arguments
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
485
argumentList.
Arguments
.AsImmutable(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ArgumentListSyntaxExtensions.vb (3)
13
Dim count = argumentList.
Arguments
.Count
14
If count = 1 AndAlso argumentList.
Arguments
.Last().IsMissing AndAlso argumentList.
Arguments
.SeparatorCount = 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb (1)
133
For Each n In argumentList.
Arguments
.GetWithSeparators()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ObjectCreationExpressionExtensions.vb (1)
17
If objectCreationExpression.ArgumentList.
Arguments
.Count > 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
26
semanticModel, arguments.
Arguments
.ToList(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Indentation\SpecialFormattingOperation.vb (3)
118
argumentList.
Arguments
.Count = 0 OrElse
119
argumentList.
Arguments
.All(Function(a) a.IsMissing) Then
132
For Each argument In argumentList.
Arguments
Roslyn.Diagnostics.VisualBasic.Analyzers (22)
BasicSymbolDeclaredEventMustBeGeneratedForSourceSymbols.vb (2)
62
Dim argument = invocationExpression.ArgumentList.
Arguments
.FirstOrDefault()
77
For Each argument In invocationExp.ArgumentList.
Arguments
src\f736901a33c2b55b\VisualBasicTypeInferenceService.TypeInferrer.vb (5)
241
index = invocation.ArgumentList.
Arguments
.IndexOf(argumentOpt)
301
index = creation.ArgumentList.
Arguments
.IndexOf(argumentOpt)
325
index = attribute.ArgumentList.
Arguments
.IndexOf(argumentOpt)
934
If invocation.ArgumentList IsNot Nothing AndAlso invocation.ArgumentList.
Arguments
.Count > 0 AndAlso
1026
Dim index = argumentList.
Arguments
.GetWithSeparators().IndexOf(previousToken)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
59
Dim index = argumentList.
Arguments
.IndexOf(argument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
294
Dim index = argumentList.
Arguments
.IndexOf(simpleArgument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\InvocationExpressionSyntaxExtensions.vb (1)
13
Return invocationExpression.ArgumentList IsNot Nothing AndAlso invocationExpression.ArgumentList.
Arguments
.Count = 0 AndAlso
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
243
Dim index = argumentList.
Arguments
.IndexOf(argument)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1752
arguments = argumentList.
Arguments
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\SpeculationAnalyzer.vb (1)
485
argumentList.
Arguments
.AsImmutable(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ArgumentListSyntaxExtensions.vb (3)
13
Dim count = argumentList.
Arguments
.Count
14
If count = 1 AndAlso argumentList.
Arguments
.Last().IsMissing AndAlso argumentList.
Arguments
.SeparatorCount = 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb (1)
133
For Each n In argumentList.
Arguments
.GetWithSeparators()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ObjectCreationExpressionExtensions.vb (1)
17
If objectCreationExpression.ArgumentList.
Arguments
.Count > 0 Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
26
semanticModel, arguments.
Arguments
.ToList(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Indentation\SpecialFormattingOperation.vb (3)
118
argumentList.
Arguments
.Count = 0 OrElse
119
argumentList.
Arguments
.All(Function(a) a.IsMissing) Then
132
For Each argument In argumentList.
Arguments