48 references to Expression
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Attributes.vb (3)
405Dim expression As BoundExpression = BindValue(simpleArgument.Expression, diagnostics) 444Dim rValue As BoundExpression = Me.BindValue(namedArg.Expression, diagnostics) 529rValue = ApplyImplicitConversion(namedArg.Expression, fieldOrPropType, rValue, diagnostics)
Binding\Binder_Expressions.vb (3)
373Dim boundArgument As BoundExpression = BindValue(argumentSyntax.Expression, diagnostics) 435inferredName = InferTupleElementName(argumentSyntax.Expression) 4378upperBoundSyntax = simpleArgument.Expression
Binding\Binder_Invocation.vb (1)
3029boundArgumentsBuilder.Add(BindValue(simpleArgument.Expression, diagnostics))
Generated\Syntax.xml.Main.Generated.vb (2)
4306Dim newExpression = DirectCast(Visit(node.Expression), ExpressionSyntax) 4307If node.Expression IsNot newExpression Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (3)
26752return Update(nameColonEquals, Me.Expression) 26789Return Me.Expression 26815If nameColonEquals IsNot Me.NameColonEquals OrElse expression IsNot Me.Expression Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
159expression = DirectCast(argumentSyntax, SimpleArgumentSyntax).Expression
Syntax\ArgumentSyntax.vb (1)
47Return Expression
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\VisualBasicInferredMemberNameSimplifier.vb (1)
24Dim inferredName = node.Expression.TryGetInferredMemberName()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (3)
114If TypeOf parentSimpleArgument?.Expression Is CastExpressionSyntax OrElse 115TypeOf parentSimpleArgument?.Expression Is PredefinedCastExpressionSyntax Then 116Return semanticModel.GetTypeInfo(parentSimpleArgument.Expression, cancellationToken).Type
Microsoft.CodeAnalysis.VisualBasic.Features (6)
EditAndContinue\SyntaxUtilities.vb (1)
130Yield DirectCast(argument, SimpleArgumentSyntax).Expression
InlineHints\VisualBasicInlineParameterNameHintsService.vb (2)
41If argument?.Expression Is Nothing Then 55buffer.Add((argument.Span.Start, argument, parameter, GetKind(argument.Expression)))
IntroduceVariable\VisualBasicIntroduceVariableService.Rewriter.vb (3)
73newNode.Expression.HasAnnotation(s_replacementAnnotation) AndAlso 76Dim inferredName = node.Expression.TryGetInferredMemberName() 80newNode.Expression.WithoutLeadingTrivia()).WithTriviaFrom(newNode)
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (9)
Microsoft.NetCore.Analyzers\Performance\BasicRecommendCaseInsensitiveStringComparisonFixer.vb (1)
92desiredExpression = argumentExpression.Expression
Microsoft.NetCore.Analyzers\Performance\BasicUseStartsWithInsteadOfIndexOfComparisonWithZero.Fixer.vb (4)
47Return DirectCast(argument, SimpleArgumentSyntax).Expression 57If charArgumentSyntax.Expression.IsKind(SyntaxKind.CharacterLiteralExpression) Then 59Dim charValueAsString = DirectCast(charArgumentSyntax.Expression, LiteralExpressionSyntax).Token.Value.ToString() 63arguments(index) = charArgumentSyntax.WithExpression(DirectCast(generator.InvocationExpression(generator.MemberAccessExpression(charArgumentSyntax.Expression, "ToString")), ExpressionSyntax))
Microsoft.NetCore.Analyzers\Performance\BasicUseStringContainsCharOverloadWithSingleCharactersFixer.vb (2)
34If TypeOf argumentSyntaxNode.Expression Is LiteralExpressionSyntax Then 35Return TryGetCharFromLiteralExpressionSyntax(CType(argumentSyntaxNode.Expression, LiteralExpressionSyntax), charLiteral)
Microsoft.NetCore.Analyzers\Runtime\BasicUseOrdinalStringComparison.Fixer.vb (2)
20DirectCast(node, SimpleArgumentSyntax).Expression.IsKind(SyntaxKind.SimpleMemberAccessExpression) 24Dim memberAccess = TryCast(DirectCast(argument, SimpleArgumentSyntax).Expression, MemberAccessExpressionSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (11)
Simplification\VisualBasicSimplificationService.Expander.vb (7)
303Dim inferredName = node.Expression.TryGetInferredMemberName() 319Dim symbol = _semanticModel.GetSymbolInfo(node.Expression, _cancellationToken).Symbol 332If newSimpleArgument.Expression.Kind = SyntaxKind.AddressOfExpression Then 336Dim typeInfo = _semanticModel.GetTypeInfo(node.Expression) 337Dim conversion = _semanticModel.GetConversion(node.Expression) 339Dim newExpression = AddCasts(newSimpleArgument.Expression, typeInfo, conversion, node.Expression)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\VisualBasicInferredMemberNameSimplifier.vb (1)
24Dim inferredName = node.Expression.TryGetInferredMemberName()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (3)
114If TypeOf parentSimpleArgument?.Expression Is CastExpressionSyntax OrElse 115TypeOf parentSimpleArgument?.Expression Is PredefinedCastExpressionSyntax Then 116Return semanticModel.GetTypeInfo(parentSimpleArgument.Expression, cancellationToken).Type
Roslyn.Diagnostics.VisualBasic.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Simplification\VisualBasicInferredMemberNameSimplifier.vb (1)
24Dim inferredName = node.Expression.TryGetInferredMemberName()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (3)
114If TypeOf parentSimpleArgument?.Expression Is CastExpressionSyntax OrElse 115TypeOf parentSimpleArgument?.Expression Is PredefinedCastExpressionSyntax Then 116Return semanticModel.GetTypeInfo(parentSimpleArgument.Expression, cancellationToken).Type