public void DiffAgainst(ICodebaseElementInfo branchInfo)
        {
            SourceCode.SetBranchText(branchInfo.SourceCode.Text);

            foreach (ICodebaseElementInfo branchChild in branchInfo.Children)
            {
                foreach (ICodebaseElementInfo originalChild in Methods)
                {
                    if (originalChild.Name == branchChild.Name)
                    {
                        originalChild.DiffAgainst(branchChild);
                        break;
                    }
                }
            }
        }
 public static bool HasReferences(this ICodebaseElementInfo codebaseElementInfo)
 {
     return(codebaseElementInfo.ReferencesToThis.Any() ||
            codebaseElementInfo.ReferencesFromThis.Any());
 }
 public void DiffAgainst(ICodebaseElementInfo branchInfo)
 {
     SourceCode.SetBranchText(branchInfo.SourceCode.Text);
 }
 public void DiffAgainst(ICodebaseElementInfo branchInfo)
 {
 }