3 overrides of GetExpression
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\ArgumentSyntax.vb (3)
46Public NotOverridable Overrides Function GetExpression() As ExpressionSyntax 61Public NotOverridable Overrides Function GetExpression() As ExpressionSyntax 76Public NotOverridable Overrides Function GetExpression() As ExpressionSyntax
27 references to GetExpression
Microsoft.CodeAnalysis.VisualBasic.Analyzers (1)
MetaAnalyzers\BasicRegisterActionAnalyzer.vb (1)
76Return argument.GetExpression
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
85Return argument.GetExpression()
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\VisualBasicAddExplicitCastCodeFixProvider.vb (1)
188mutablePotentialConversionTypes.Add((targetArgument.GetExpression(), conversionType))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
100argument.GetExpression(), capitalize:=False, cancellationToken:=cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ChangeSignature\UnifiedArgumentSyntax.vb (1)
48Create(SyntaxFactory.SimpleArgument(SyntaxFactory.NameColonEquals(SyntaxFactory.IdentifierName(name)), _argument.GetExpression())))
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\AddExplicitCast\VisualBasicAddExplicitCastCodeFixProvider.vb (1)
188mutablePotentialConversionTypes.Add((targetArgument.GetExpression(), conversionType))
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (17)
Microsoft.NetCore.Analyzers\Performance\BasicDoNotUseCountWhenAnyCanBeUsedFixer.vb (1)
58sourceExpression:=invocation.ArgumentList.Arguments(0).GetExpression(),
Microsoft.NetCore.Analyzers\Performance\BasicPreferDictionaryTryMethodsOverContainsKeyGuardFixer.vb (1)
87changedValueNode = invocation.ArgumentList.Arguments(1).GetExpression()
Microsoft.NetCore.Analyzers\Performance\BasicPreferHashDataOverComputeHash.Fixer.vb (1)
132firstArg.GetExpression(),
Microsoft.NetCore.Analyzers\Performance\BasicPreferIsEmptyOverCount.Fixer.vb (1)
37countNode = invocationExpression.ArgumentList.Arguments(0).GetExpression()
Microsoft.NetCore.Analyzers\Performance\BasicPreferLengthCountIsEmptyOverAnyFixer.vb (1)
114expression = invocation.ArgumentList.Arguments(0).GetExpression()
Microsoft.NetCore.Analyzers\Performance\BasicUseStringMethodCharOverloadWithSingleCharacters.Fixer.vb (2)
34If stringArgumentNode IsNot Nothing And TypeOf stringArgumentNode.GetExpression() Is LiteralExpressionSyntax Then 35Return TryGetCharFromLiteralExpressionSyntax(CType(stringArgumentNode.GetExpression(), LiteralExpressionSyntax), c)
Microsoft.NetCore.Analyzers\Resources\BasicMarkAssembliesWithNeutralResourcesLanguage.vb (1)
28If Not CheckResxGeneratedFile(nc.SemanticModel, attributeSyntax, attributeSyntax.ArgumentList.Arguments(0).GetExpression(), generatedCode, nc.CancellationToken) Then
Microsoft.NetCore.Analyzers\Runtime\BasicForwardCancellationTokenToInvocations.Fixer.vb (1)
77Select argument.GetExpression()
Microsoft.NetCore.Analyzers\Runtime\BasicPreferStreamAsyncMemoryOverloads.Fixer.vb (5)
50Dim firstArgumentIdentifierName = TryCast(arg1.GetExpression(), IdentifierNameSyntax) 60Dim literal = TryCast(arg2.GetExpression(), LiteralExpressionSyntax) 79Dim thirdArgumentMemberAccessExpression = TryCast(arg3.GetExpression(), MemberAccessExpressionSyntax) 104actualNode = argument.GetExpression() 117actualNode = argument.GetExpression()
Microsoft.NetCore.Analyzers\Runtime\BasicTestForEmptyStringsUsingStringLength.Fixer.vb (1)
19Return If(argumentSyntax IsNot Nothing, argumentSyntax.GetExpression(), node)
Microsoft.NetCore.Analyzers\Runtime\BasicTestForNaNCorrectly.Fixer.vb (1)
20Return If(argumentSyntax IsNot Nothing, argumentSyntax.GetExpression(), node)
Microsoft.NetCore.Analyzers\Usage\BasicDoNotPassNonNullableValueToArgumentNullExceptionThrowIfNullFixer.vb (1)
16Dim nullableStructExpression = invocation.ArgumentList.Arguments(0).GetExpression()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
85Return argument.GetExpression()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
100argument.GetExpression(), capitalize:=False, cancellationToken:=cancellationToken)
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ArgumentSyntaxExtensions.vb (1)
85Return argument.GetExpression()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\SemanticModelExtensions.vb (1)
100argument.GetExpression(), capitalize:=False, cancellationToken:=cancellationToken)