private bool References(Name name) { if(References(name.FullName) || References(name.Unescaped)) return true; if(Name.Database!=name.Database || Name.Owner!=name.Owner) return false; SmallName small=(SmallName)name; return References(small) || References(small.Unescaped); }
/// <summary> /// Initializes a new instance of the <see cref="Difference"/> class. /// </summary> /// <param name="differenceType">Type of the difference.</param> /// <param name="item">The item with a difference.</param> public Difference(DifferenceType differenceType, SmallName item) : this(differenceType, item.ToString(), null) { }