1 write to SimpleName
Microsoft.CodeAnalysis.Features (1)
GenerateType\AbstractGenerateTypeService.State.cs (1)
88
SimpleName
= (TSimpleNameSyntax)node;
18 references to SimpleName
Microsoft.CodeAnalysis.Features (18)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (1)
117
=> _service.IsPublicOnlyAccessibility(state.NameOrMemberAccessExpression, project) || _service.IsPublicOnlyAccessibility(state.
SimpleName
, project);
GenerateType\AbstractGenerateTypeService.cs (2)
118
var isSimpleName = state.
SimpleName
== state.NameOrMemberAccessExpression;
246
var outerTypeSymbol = semanticModel.GetEnclosingNamedType(state.
SimpleName
.SpanStart, cancellationToken);
GenerateType\AbstractGenerateTypeService.Editor.cs (6)
307
: _state.
SimpleName
!= _state.NameOrMemberAccessExpression
362
updatedSolution, modifiedRoot: null, _semanticDocument.Document, _state.
SimpleName
,
388
_state.
SimpleName
.SpanStart, _cancellationToken);
394
new CodeGenerationContext(afterThisLocation: _semanticDocument.SyntaxTree.GetLocation(_state.
SimpleName
.Span))),
454
_state.
SimpleName
,
553
new CodeGenerationContext(contextLocation: _state.
SimpleName
.GetLocation())),
GenerateType\AbstractGenerateTypeService.State.cs (9)
90
syntaxFacts.GetNameAndArityOfSimpleName(
SimpleName
, out var name, out _);
93
NameIsVerbatim = syntaxFacts.IsVerbatimIdentifier(
SimpleName
.GetFirstToken());
100
if (!service.TryInitializeState(semanticDocument,
SimpleName
, cancellationToken, out var generateTypeServiceStateOptions))
120
var info = semanticModel.GetSymbolInfo(
SimpleName
, cancellationToken);
179
IsSimpleNameGeneric = service.IsGenericName(
SimpleName
);
340
if (
SimpleName
!= NameOrMemberAccessExpression)
344
service.GetLeftSideOfDot(
SimpleName
), cancellationToken);
354
TypeToGenerateInOpt = service.DetermineTypeToGenerateIn(semanticModel,
SimpleName
, cancellationToken);
361
var namespaceSymbol = semanticModel.GetEnclosingNamespace(
SimpleName
.SpanStart, cancellationToken);