26 references to Expression
Microsoft.CodeAnalysis.VisualBasic (9)
Binding\Binder_Expressions.vb (1)
95Dim operand As BoundExpression = BindExpression(DirectCast(node, ParenthesizedExpressionSyntax).Expression,
Binding\Binder_SelectCase.vb (1)
74Dim boundExpression = BindSelectExpression(parenthesizedExpr.Expression, diagnostics)
Binding\Binder_Statements.vb (1)
2372notParenthesizedSyntax = DirectCast(notParenthesizedSyntax, ParenthesizedExpressionSyntax).Expression
Generated\Syntax.xml.Main.Generated.vb (2)
3747Dim newExpression = DirectCast(Visit(node.Expression), ExpressionSyntax) 3748If node.Expression IsNot newExpression Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
21394return Update(openParenToken, Me.Expression, Me.CloseParenToken) 21430return Update(Me.OpenParenToken, Me.Expression, closeParenToken) 21445Return Me.Expression 21474If openParenToken <> Me.OpenParenToken OrElse expression IsNot Me.Expression OrElse closeParenToken <> Me.CloseParenToken Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (5)
ExpressionSyntaxExtensions.vb (1)
25expression = DirectCast(expression, ParenthesizedExpressionSyntax).Expression
ParenthesizedExpressionSyntaxExtensions.vb (2)
53Dim expression = node.Expression 340If node.Expression.IsKind(SyntaxKind.AwaitExpression) AndAlso
VisualBasicRemoveUnnecessaryParenthesesDiagnosticAnalyzer.vb (1)
47Dim innerExpression = parenthesizedExpression.Expression
VisualBasicSyntaxFacts.vb (1)
1867expression = parenthesizedExpression.Expression
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ExtractMethod\Extensions.vb (1)
23Return GetUnparenthesizedExpression(parenthesizedExpression.Expression)
IntroduceVariable\VisualBasicIntroduceVariableService.Rewriter.vb (1)
40If innerExpression.HasAnnotation(_replacementAnnotation) AndAlso innerExpression.Equals(parenthesizedExpression.Expression) Then
VisualBasicRemoveUnnecessaryParenthesesDiagnosticAnalyzer.vb (1)
47Dim innerExpression = parenthesizedExpression.Expression
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
20418Assert.NotNull(objectUnderTest.expression) 20420Dim withObj = objectUnderTest.WithOpenParenToken(objectUnderTest.OpenParenToken).WithExpression(objectUnderTest.Expression).WithCloseParenToken(objectUnderTest.CloseParenToken)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
CodeGeneration\MethodGenerator.vb (1)
119Let expr2 = If(TypeOf expr1 Is ParenthesizedExpressionSyntax, DirectCast(expr1, ParenthesizedExpressionSyntax).Expression, expr1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (1)
25expression = DirectCast(expression, ParenthesizedExpressionSyntax).Expression
ParenthesizedExpressionSyntaxExtensions.vb (2)
53Dim expression = node.Expression 340If node.Expression.IsKind(SyntaxKind.AwaitExpression) AndAlso
Rename\VisualBasicRenameRewriterLanguageService.vb (1)
472expressionOfInvocation = DirectCast(expressionOfInvocation, ParenthesizedExpressionSyntax).Expression
VisualBasicSyntaxFacts.vb (1)
1867expression = parenthesizedExpression.Expression
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\MethodXML\MethodXmlBuilder.vb (1)
268Return TryGenerateExpression(parenthesizedExpression.Expression)