17 references to GetRightmostName
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
266var lhs = memberAccessExpression.Expression.GetRightmostName();
Microsoft.CodeAnalysis.CSharp.Features (12)
CodeFixes\GenerateMethod\GenerateConversionCodeFixProvider.cs (1)
53return invocation.Expression.GetRightmostName();
CodeFixes\GenerateMethod\GenerateMethodCodeFixProvider.cs (1)
89return invocation.Expression.GetRightmostName();
CodeFixes\GenerateType\GenerateTypeCodeFixProvider.cs (1)
62=> ((ExpressionSyntax)node).GetRightmostName();
CSharpRemoveUnnecessaryLambdaExpressionDiagnosticAnalyzer.cs (1)
144var invokedTypeArguments = invokedExpression.GetRightmostName() is GenericNameSyntax genericName
CSharpUseAutoPropertyAnalyzer.cs (1)
85var rightmostName = expression.GetRightmostName()?.Identifier.ValueText;
CSharpUseNameofInNullableAttributeDiagnosticAnalyzer.cs (1)
61var attributeName = attribute.Name.GetRightmostName()?.Identifier.ValueText;
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (1)
122usingDirective.Name?.GetRightmostName() is IdentifierNameSyntax identifierName)
GenerateConstructor\GenerateConstructorCodeFixProvider.cs (1)
67return objectCreationNode.Type.GetRightmostName();
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (2)
394invocationExpression.Expression.GetRightmostName() != null && 396localFunctionIdentifiers.Contains(invocationExpression.Expression.GetRightmostName().Identifier.ValueText));
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
316var currentName = currentInvocation.Expression.GetRightmostName(); 338nameNode = currentInvocation.Expression.GetRightmostName();
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\SyntaxClassification\NameSyntaxClassifier.cs (1)
41return expressionSyntax.GetRightmostName()?.Arity;
ExternalAccess\Pythia\Api\PythiaSyntaxExtensions.cs (1)
26=> CSharp.Extensions.ExpressionSyntaxExtensions.GetRightmostName(node);
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
695return conditional.WhenNotNull.GetRightmostName();
TypeStyleHelper.cs (1)
98var memberName = GetRightmostInvocationExpression(initializerExpression).GetRightmostName();