AspectSharp.Lang.AST.PointCutDefinition.Equals C# (CSharp) Method

Equals() public method

public Equals ( object other ) : bool
other object
return bool
		public override bool Equals(object other)
		{
			PointCutDefinition otherCut = other as PointCutDefinition;

			if (otherCut == null)
			{
				return false;
			}

			if (otherCut.Flags.Equals( Flags ) && 
				otherCut.Method.Equals( Method ))
			{
				return true;
			}

			return false;
		}