1 write to SimpleName
Microsoft.CodeAnalysis.Features (1)
GenerateType\AbstractGenerateTypeService.State.cs (1)
94
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)
124
var isSimpleName = state.
SimpleName
== state.NameOrMemberAccessExpression;
252
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)
96
syntaxFacts.GetNameAndArityOfSimpleName(
SimpleName
, out var name, out _);
99
NameIsVerbatim = syntaxFacts.IsVerbatimIdentifier(
SimpleName
.GetFirstToken());
106
if (!service.TryInitializeState(semanticDocument,
SimpleName
, cancellationToken, out var generateTypeServiceStateOptions))
126
var info = semanticModel.GetSymbolInfo(
SimpleName
, cancellationToken);
185
IsSimpleNameGeneric = service.IsGenericName(
SimpleName
);
346
if (
SimpleName
!= NameOrMemberAccessExpression)
350
service.GetLeftSideOfDot(
SimpleName
), cancellationToken);
360
TypeToGenerateInOpt = service.DetermineTypeToGenerateIn(semanticModel,
SimpleName
, cancellationToken);
367
var namespaceSymbol = semanticModel.GetEnclosingNamespace(
SimpleName
.SpanStart, cancellationToken);