public static MatchingPairs ToMatchingPairs(Match <SyntaxNode> match) { return(EditAndContinueTestHelpers.ToMatchingPairs(match)); }
public static MatchingPairs ToMatchingPairs(IEnumerable <KeyValuePair <SyntaxNode, SyntaxNode> > matches) { return(EditAndContinueTestHelpers.ToMatchingPairs(matches)); }
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)); }
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)); }