58 references to SimpleArgument
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Attributes.vb (1)
397
Case SyntaxKind.
SimpleArgument
Binding\Binder_Delegates.vb (2)
104
If argumentSyntax.Kind = SyntaxKind.
SimpleArgument
Then
176
If argumentSyntax.Kind = SyntaxKind.
SimpleArgument
Then
Binding\Binder_Expressions.vb (2)
4325
Case SyntaxKind.
SimpleArgument
, SyntaxKind.RangeArgument
4339
Case SyntaxKind.
SimpleArgument
Binding\Binder_Invocation.vb (1)
3033
Case SyntaxKind.
SimpleArgument
Compilation\SyntaxTreeSemanticModel.vb (2)
1571
expressionParent IsNot Nothing AndAlso (expressionParent.Kind = SyntaxKind.
SimpleArgument
AndAlso Not DirectCast(expressionParent, SimpleArgumentSyntax).IsNamed) Then
1678
SyntaxKind.
SimpleArgument
,
Generated\Syntax.xml.Internal.Generated.vb (4)
51662
Dim cached = SyntaxNodeCache.TryGetNode(SyntaxKind.
SimpleArgument
, nameColonEquals, expression, hash)
51667
Dim result = New SimpleArgumentSyntax(SyntaxKind.
SimpleArgument
, nameColonEquals, expression)
63740
Dim cached = VisualBasicSyntaxNodeCache.TryGetNode(SyntaxKind.
SimpleArgument
, nameColonEquals, expression, _factoryContext, hash)
63745
Dim result = New SimpleArgumentSyntax(SyntaxKind.
SimpleArgument
, nameColonEquals, expression, _factoryContext)
Generated\Syntax.xml.Main.Generated.vb (1)
37121
Return New SimpleArgumentSyntax(SyntaxKind.
SimpleArgument
, Nothing, Nothing, nameColonEquals, expression)
Generated\Syntax.xml.Syntax.Generated.vb (1)
26715
''' <item><description><see cref="SyntaxKind.
SimpleArgument
"/></description></item>
Parser\ParseExpression.vb (1)
529
Case SyntaxKind.
SimpleArgument
Symbols\Attributes\AttributeData.vb (1)
94
attributeSyntax.ArgumentList.Arguments.Where(Function(arg) arg.Kind = SyntaxKind.
SimpleArgument
AndAlso Not arg.IsNamed).Count,
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
158
Case SyntaxKind.
SimpleArgument
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
CastAnalyzer.vb (2)
138
If speculatedExpressionOuterType Is Nothing OrElse outerSpeculatedExpression.IsParentKind(SyntaxKind.
SimpleArgument
) Then
266
If expressionToOuterType = Nothing AndAlso outerSpeculatedExpression.IsParentKind(SyntaxKind.
SimpleArgument
) Then
ExpressionSyntaxExtensions.vb (1)
344
expression.Parent.IsParentKind(SyntaxKind.
SimpleArgument
) Then
VisualBasicSyntaxFacts.vb (1)
633
identifierName.Parent.IsParentKind(SyntaxKind.
SimpleArgument
) AndAlso
VisualBasicUseInferredMemberNameDiagnosticAnalyzer.vb (1)
40
If Not nameColonEquals.IsParentKind(SyntaxKind.
SimpleArgument
) Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
ArgumentFixer.vb (1)
19
Case SyntaxKind.
SimpleArgument
Microsoft.CodeAnalysis.VisualBasic.Features (6)
ArgumentFixer.vb (1)
19
Case SyntaxKind.
SimpleArgument
ChangeSignature\UnifiedArgumentSyntax.vb (1)
15
Debug.Assert(argument.IsKind(SyntaxKind.
SimpleArgument
))
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.ReferenceRewriter.vb (1)
68
If node.IsParentKind(SyntaxKind.
SimpleArgument
) AndAlso
Completion\KeywordRecommenders\Expressions\BinaryOperatorKeywordRecommender.vb (1)
124
If token.Parent.IsParentKind(SyntaxKind.
SimpleArgument
) Then
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (1)
244
Case SyntaxKind.
SimpleArgument
VisualBasicUseInferredMemberNameDiagnosticAnalyzer.vb (1)
40
If Not nameColonEquals.IsParentKind(SyntaxKind.
SimpleArgument
) Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (15)
Parser\ParseExpression.vb (8)
340
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(0).ChildNodesAndTokens()(1).Kind())
357
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(0).ChildNodesAndTokens()(1).Kind())
367
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(0).ChildNodesAndTokens()(1).Kind())
377
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(0).ChildNodesAndTokens()(1).Kind())
398
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(0).ChildNodesAndTokens()(1).Kind())
407
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(1).Kind())
413
Assert.Equal(SyntaxKind.
SimpleArgument
, missingArg.Kind())
418
Assert.Equal(SyntaxKind.
SimpleArgument
, expr.ChildNodesAndTokens()(0).ChildNodesAndTokens()(1).Kind())
Syntax\SyntaxListTests.vb (1)
233
Assert.True(item.IsKind(SyntaxKind.
SimpleArgument
))
Syntax\SyntaxRewriterTests.vb (6)
33
Return If(node.Kind = SyntaxKind.
SimpleArgument
AndAlso node.ToString() = "B", Nothing, node)
48
Return If(node.Kind = SyntaxKind.
SimpleArgument
, Nothing, node)
148
Return If(node.Kind = SyntaxKind.
SimpleArgument
AndAlso node.ToString() = "B", Nothing, node)
169
Return If(node.Kind = SyntaxKind.
SimpleArgument
, Nothing, node)
387
Return If(node.Kind = SyntaxKind.
SimpleArgument
AndAlso node.ToString() = "C", Nothing, node)
401
Return If(node.Kind = SyntaxKind.
SimpleArgument
AndAlso node.ToString() = "C", Nothing, node)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CastAnalyzer.vb (2)
138
If speculatedExpressionOuterType Is Nothing OrElse outerSpeculatedExpression.IsParentKind(SyntaxKind.
SimpleArgument
) Then
266
If expressionToOuterType = Nothing AndAlso outerSpeculatedExpression.IsParentKind(SyntaxKind.
SimpleArgument
) Then
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
3905
Case SyntaxKind.
SimpleArgument
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (1)
344
expression.Parent.IsParentKind(SyntaxKind.
SimpleArgument
) Then
VisualBasicSyntaxFacts.vb (1)
633
identifierName.Parent.IsParentKind(SyntaxKind.
SimpleArgument
) AndAlso
Microsoft.VisualStudio.LanguageServices.VisualBasic (9)
CodeModel\VisualBasicCodeModelService.NodeLocator.vb (2)
110
Case SyntaxKind.
SimpleArgument
,
200
Case SyntaxKind.
SimpleArgument
,
CodeModel\VisualBasicCodeModelService.vb (7)
128
Case SyntaxKind.
SimpleArgument
,
573
Case SyntaxKind.
SimpleArgument
930
Case SyntaxKind.
SimpleArgument
1000
Case SyntaxKind.
SimpleArgument
1045
Case SyntaxKind.
SimpleArgument
1310
Case SyntaxKind.
SimpleArgument
1921
Case SyntaxKind.
SimpleArgument