Exemple #1
0
		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);
		}
Exemple #2
0
 /// <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)
 {
 }