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

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