Beispiel #1
0
        AbiCompatibility Check(string before, string after)
        {
            IProjectContent oldPctx, newPctx;
            SyntaxTree      tree;

            ICSharpCode.NRefactory.CSharp.TypeSystem.CSharpUnresolvedFile file;
            CodeCompletionBugTests.CreateCompilation(before, out oldPctx, out tree, out file, false);
            CodeCompletionBugTests.CreateCompilation(after, out newPctx, out tree, out file, false);
            return(new AbiComparer().Check(oldPctx.CreateCompilation(), newPctx.CreateCompilation()));
        }