2 writes to IdentifierToken
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
196IdentifierToken = identifierToken; 244IdentifierToken = identifierToken;
10 references to IdentifierToken
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (4)
63contextLocation: _state.IdentifierToken.GetLocation())); 79name: _state.IdentifierToken.ValueText, 97name: _state.IdentifierToken.ValueText); 195_state.IdentifierToken.ValueText);
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
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);