1 write to NameOrMemberAccessExpression
Microsoft.CodeAnalysis.Features (1)
GenerateType\AbstractGenerateTypeService.State.cs (1)
122NameOrMemberAccessExpression = generateTypeServiceStateOptions.NameOrMemberAccessExpression;
16 references to NameOrMemberAccessExpression
Microsoft.CodeAnalysis.Features (16)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (2)
118=> _service.IsPublicOnlyAccessibility(state.NameOrMemberAccessExpression, project) || _service.IsPublicOnlyAccessibility(state.SimpleName, project); 143if (_service.TryGetBaseList(state.NameOrMemberAccessExpression, out var typeKindValue))
GenerateType\AbstractGenerateTypeService.cs (1)
124var isSimpleName = state.SimpleName == state.NameOrMemberAccessExpression;
GenerateType\AbstractGenerateTypeService.Editor.cs (2)
308: _state.SimpleName != _state.NameOrMemberAccessExpression 485else if (!_service.IsSimpleName(_state.NameOrMemberAccessExpression))
GenerateType\AbstractGenerateTypeService.State.cs (11)
134if (!semanticFacts.IsTypeContext(semanticModel, NameOrMemberAccessExpression.SpanStart, cancellationToken) && 135!semanticFacts.IsExpressionContext(semanticModel, NameOrMemberAccessExpression.SpanStart, cancellationToken) && 136!semanticFacts.IsStatementContext(semanticModel, NameOrMemberAccessExpression.SpanStart, cancellationToken) && 137!semanticFacts.IsInsideNameOfExpression(semanticModel, NameOrMemberAccessExpression, cancellationToken) && 138!semanticFacts.IsNamespaceContext(semanticModel, NameOrMemberAccessExpression.SpanStart, cancellationToken)) 210if (service.IsInCatchDeclaration(NameOrMemberAccessExpression)) 214else if (syntaxFacts.IsNameOfAttribute(NameOrMemberAccessExpression)) 220var expr = ObjectCreationExpressionOpt ?? NameOrMemberAccessExpression; 267=> service.IsInValueTypeConstraintContext(semanticModel, NameOrMemberAccessExpression, cancellationToken); 280return service.IsInInterfaceList(NameOrMemberAccessExpression); 346if (SimpleName != NameOrMemberAccessExpression)