Example #1
0
        public override bool Equals(IDeclarationCondition other)
        {
            var o = other as NegatedDeclarationCondition;

            return(o != null && o.FirstCondition.Equals(FirstCondition));
        }
Example #2
0
        public override bool Equals(IDeclarationCondition other)
        {
            var cd = other as StaticIfCondition;

            return(cd != null && cd.Expression == Expression);
        }
Example #3
0
        public override bool Equals(IDeclarationCondition other)
        {
            var v = other as VersionCondition;

            return(v != null && v.VersionIdHash == VersionIdHash && v.VersionNumber == VersionNumber);
        }
Example #4
0
        public override bool Equals(IDeclarationCondition other)
        {
            var v = other as DebugCondition;

            return(v != null && v.DebugIdHash == DebugIdHash && v.DebugLevel == DebugLevel);
        }
Example #5
0
 public abstract bool Equals(IDeclarationCondition other);