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