Example #1
0
        private ImmutableArray <TextSpan> GetMemberRange(ISyntaxFactsService service, SyntaxNode root)
        {
            var members = service.GetMethodLevelMembers(root);

            return(members.Select(m => m.FullSpan).ToImmutableArray());
        }
Example #2
0
 private ImmutableArray<TextSpan> GetMemberRange(ISyntaxFactsService service, SyntaxNode root)
 {
     var members = service.GetMethodLevelMembers(root);
     return members.Select(m => m.FullSpan).ToImmutableArray();
 }