2 types derived from TupleElementSyntax
Microsoft.CodeAnalysis.VisualBasic (2)
Generated\Syntax.xml.Syntax.Generated.vb (2)
21792Inherits TupleElementSyntax 21880Inherits TupleElementSyntax
2 instantiations of TupleElementSyntax
Microsoft.CodeAnalysis.VisualBasic (2)
Generated\Syntax.xml.Syntax.Generated.vb (2)
21797MyBase.New(green, parent, startLocation) 21885MyBase.New(green, parent, startLocation)
23 references to TupleElementSyntax
Microsoft.CodeAnalysis.VisualBasic (12)
Compilation\SemanticModel.vb (2)
2420Public Overloads Function GetDeclaredSymbol(elementSyntax As TupleElementSyntax, Optional cancellationToken As CancellationToken = Nothing) As ISymbol 3255Return Me.GetDeclaredSymbol(DirectCast(node, TupleElementSyntax), cancellationToken)
Generated\Syntax.xml.Main.Generated.vb (4)
25282Public Shared Function TupleType(openParenToken As SyntaxToken, elements As SeparatedSyntaxList(Of TupleElementSyntax), closeParenToken As SyntaxToken) As TupleTypeSyntax 25303Public Shared Function TupleType(elements As SeparatedSyntaxList(Of TupleElementSyntax)) As TupleTypeSyntax 25314Public Shared Function TupleType(ParamArray elements As TupleElementSyntax()) As TupleTypeSyntax 25315Return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), SyntaxFactory.SeparatedList(Of TupleElementSyntax)().AddRange(elements), SyntaxFactory.Token(SyntaxKind.CloseParenToken))
Generated\Syntax.xml.Syntax.Generated.vb (5)
21672Public ReadOnly Property Elements As SeparatedSyntaxList(Of TupleElementSyntax) 21676Return new SeparatedSyntaxList(Of TupleElementSyntax)(listNode, Me.GetChildIndex(1)) 21687Public Shadows Function WithElements(elements as SeparatedSyntaxList(Of TupleElementSyntax)) As TupleTypeSyntax 21691Public Shadows Function AddElements(ParamArray items As TupleElementSyntax()) As TupleTypeSyntax 21753Public Function Update(openParenToken As SyntaxToken, elements As SeparatedSyntaxList(Of TupleElementSyntax), closeParenToken As SyntaxToken) As TupleTypeSyntax
VisualBasicExtensions.vb (1)
859Public Function GetDeclaredSymbol(semanticModel As SemanticModel, elementSyntax As TupleElementSyntax, Optional cancellationToken As CancellationToken = Nothing) As ISymbol
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
TypeSyntaxGeneratorVisitor.vb (1)
149element.Type.GenerateTypeSyntax()), TupleElementSyntax)))))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Generated\Syntax.Test.xml.Generated.vb (3)
14320SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), New SeparatedSyntaxList(Of TupleElementSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken)) 14328SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of TupleElementSyntax)(), SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword)) 14335return SyntaxFactory.TupleType(SyntaxFactory.Token(SyntaxKind.OpenParenToken), New SeparatedSyntaxList(Of TupleElementSyntax)(), SyntaxFactory.Token(SyntaxKind.CloseParenToken))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
87TypeOf name.Parent Is TupleElementSyntax OrElse
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
591Return SyntaxFactory.TupleType(SyntaxFactory.SeparatedList(elements.Cast(Of TupleElementSyntax)()))
TypeSyntaxGeneratorVisitor.vb (1)
149element.Type.GenerateTypeSyntax()), TupleElementSyntax)))))
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.vb (4)
255VerifySyntax(Of TupleElementSyntax)(Generator.TupleElementExpression(Generator.IdentifierName("x")), "x") 256VerifySyntax(Of TupleElementSyntax)(Generator.TupleElementExpression(Generator.IdentifierName("x"), "y"), "y As x") 257VerifySyntax(Of TupleElementSyntax)(Generator.TupleElementExpression(intType), "System.Int32") 258VerifySyntax(Of TupleElementSyntax)(Generator.TupleElementExpression(intType, "y"), "y As System.Int32")