15 references to GetRightmostName
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
230var lhs = memberAccessExpression.Expression.GetRightmostName();
Microsoft.CodeAnalysis.CSharp.Features (11)
CodeFixes\GenerateType\GenerateTypeCodeFixProvider.cs (1)
48=> ((ExpressionSyntax)node).GetRightmostName();
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (1)
121usingDirective.Name?.GetRightmostName() is IdentifierNameSyntax identifierName)
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
461invocationExpression.Expression.GetRightmostName() is { } rightmostName &&
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
314var currentName = currentInvocation.Expression.GetRightmostName(); 336nameNode = currentInvocation.Expression.GetRightmostName();
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryLambdaExpression\CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
146var invokedTypeArguments = invokedExpression.GetRightmostName() is GenericNameSyntax genericName
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
90var rightmostName = expression.GetRightmostName()?.Identifier.ValueText;
src\Analyzers\CSharp\Analyzers\UseNameofInNullableAttribute\CSharpUseNameofInNullableAttributeDiagnosticAnalyzer.cs (1)
58var attributeName = attribute.Name.GetRightmostName()?.Identifier.ValueText;
src\Analyzers\CSharp\CodeFixes\GenerateConstructor\GenerateConstructorCodeFixProvider.cs (1)
53ObjectCreationExpressionSyntax objectCreationNode => objectCreationNode.Type.GetRightmostName(),
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateConversionCodeFixProvider.cs (1)
49return invocation.Expression.GetRightmostName();
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateMethodCodeFixProvider.cs (1)
70return invocation.Expression.GetRightmostName();
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
ExternalAccess\Pythia\Api\PythiaSyntaxExtensions.cs (1)
26=> CSharp.Extensions.ExpressionSyntaxExtensions.GetRightmostName(node);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\TypeStyle\TypeStyleHelper.cs (1)
96var memberName = GetRightmostInvocationExpression(initializerExpression).GetRightmostName();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
677return conditional.WhenNotNull.GetRightmostName();