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