示例#1
0
 public static MatchingPairs ToMatchingPairs(Match <SyntaxNode> match)
 {
     return(EditAndContinueTestHelpers.ToMatchingPairs(match));
 }
示例#2
0
 public static MatchingPairs ToMatchingPairs(IEnumerable <KeyValuePair <SyntaxNode, SyntaxNode> > matches)
 {
     return(EditAndContinueTestHelpers.ToMatchingPairs(matches));
 }
示例#3
0
        internal static IEnumerable <KeyValuePair <SyntaxNode, SyntaxNode> > GetMethodMatches(string src1, string src2, MethodKind kind = MethodKind.Regular)
        {
            var methodMatch = GetMethodMatch(src1, src2, kind);

            return(EditAndContinueTestHelpers.GetMethodMatches(Analyzer, methodMatch));
        }
示例#4
0
        internal static IEnumerable <KeyValuePair <SyntaxNode, SyntaxNode> > GetMethodMatches(string src1, string src2, ParseOptions options = null, StateMachineKind stateMachine = StateMachineKind.None)
        {
            var methodMatch = GetMethodMatch(src1, src2, options, stateMachine);

            return(EditAndContinueTestHelpers.GetMethodMatches(Analyzer, methodMatch));
        }