private static IReadOnlyList <MemberDeclarationSyntax> GetValidMembers(SyntaxNode node)
 {
     return(CSharpCodeModelService
            .GetChildMemberNodes(node)
            .Where(n => !n.IsKind(SyntaxKind.IncompleteMember))
            .ToArray());
 }
 public NodeLocator(CSharpCodeModelService codeModelService)
     : base(codeModelService)
 {
 }
 protected override bool IsNameableNode(SyntaxNode node)
 {
     return(CSharpCodeModelService.IsNameableNode(node));
 }
Exemplo n.º 4
0
 protected override bool IsNameableNode(SyntaxNode node)
 => CSharpCodeModelService.IsNameableNode(node);