2 writes to IdentifierToken
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
196IdentifierToken = identifierToken; 244IdentifierToken = identifierToken;
12 references to IdentifierToken
Microsoft.CodeAnalysis.Features (12)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (4)
65contextLocation: _state.IdentifierToken.GetLocation())); 81name: _state.IdentifierToken.ValueText, 99name: _state.IdentifierToken.ValueText); 193_state.IdentifierToken.ValueText);
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (3)
53var name = state.IdentifierToken.ValueText; 74string.Format(CodeFixesResources.Generate_variable_0, state.IdentifierToken.ValueText), 120if (state.IdentifierToken.ValueText.StartsWith("_"))
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (5)
138var existingMembers = TypeToGenerateIn.GetMembers(IdentifierToken.ValueText) 207ContainingType = semanticModel.GetEnclosingNamedType(IdentifierToken.SpanStart, cancellationToken); 263ContainingType = semanticModel.GetEnclosingNamedType(IdentifierToken.SpanStart, cancellationToken); 308ContainingMethod = FindContainingMethodSymbol(IdentifierToken.SpanStart, semanticModel, cancellationToken); 431name: IdentifierToken.ValueText, cancellationToken: cancellationToken);