1 write to SimpleName
Microsoft.CodeAnalysis.Features (1)
GenerateType\AbstractGenerateTypeService.State.cs (1)
89SimpleName = (TSimpleNameSyntax)node;
18 references to SimpleName
Microsoft.CodeAnalysis.Features (18)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (1)
118=> _service.IsPublicOnlyAccessibility(state.NameOrMemberAccessExpression, project) || _service.IsPublicOnlyAccessibility(state.SimpleName, project);
GenerateType\AbstractGenerateTypeService.cs (2)
120var isSimpleName = state.SimpleName == state.NameOrMemberAccessExpression; 248var outerTypeSymbol = semanticModel.GetEnclosingNamedType(state.SimpleName.SpanStart, cancellationToken);
GenerateType\AbstractGenerateTypeService.Editor.cs (6)
308: _state.SimpleName != _state.NameOrMemberAccessExpression 363updatedSolution, modifiedRoot: null, _semanticDocument.Document, _state.SimpleName, 389_state.SimpleName.SpanStart, _cancellationToken); 395new CodeGenerationContext(afterThisLocation: _semanticDocument.SyntaxTree.GetLocation(_state.SimpleName.Span))), 455_state.SimpleName, 554new CodeGenerationContext(contextLocation: _state.SimpleName.GetLocation())),
GenerateType\AbstractGenerateTypeService.State.cs (9)
91syntaxFacts.GetNameAndArityOfSimpleName(SimpleName, out var name, out _); 94NameIsVerbatim = syntaxFacts.IsVerbatimIdentifier(SimpleName.GetFirstToken()); 101if (!service.TryInitializeState(semanticDocument, SimpleName, cancellationToken, out var generateTypeServiceStateOptions)) 121var info = semanticModel.GetSymbolInfo(SimpleName, cancellationToken); 180IsSimpleNameGeneric = service.IsGenericName(SimpleName); 341if (SimpleName != NameOrMemberAccessExpression) 345service.GetLeftSideOfDot(SimpleName), cancellationToken); 355TypeToGenerateInOpt = service.DetermineTypeToGenerateIn(semanticModel, SimpleName, cancellationToken); 362var namespaceSymbol = semanticModel.GetEnclosingNamespace(SimpleName.SpanStart, cancellationToken);