コード例 #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));
        }