예제 #1
0
파일: Attribute.cs 프로젝트: Orvid/D_Parser
        public override bool Equals(IDeclarationCondition other)
        {
            var o = other as NegatedDeclarationCondition;

            return(o != null && o.FirstCondition.Equals(FirstCondition));
        }
예제 #2
0
파일: Attribute.cs 프로젝트: Orvid/D_Parser
        public override bool Equals(IDeclarationCondition other)
        {
            var cd = other as StaticIfCondition;

            return(cd != null && cd.Expression == Expression);
        }
예제 #3
0
파일: Attribute.cs 프로젝트: Orvid/D_Parser
        public override bool Equals(IDeclarationCondition other)
        {
            var v = other as VersionCondition;

            return(v != null && v.VersionIdHash == VersionIdHash && v.VersionNumber == VersionNumber);
        }
예제 #4
0
파일: Attribute.cs 프로젝트: Orvid/D_Parser
        public override bool Equals(IDeclarationCondition other)
        {
            var v = other as DebugCondition;

            return(v != null && v.DebugIdHash == DebugIdHash && v.DebugLevel == DebugLevel);
        }
예제 #5
0
파일: Attribute.cs 프로젝트: Orvid/D_Parser
 public abstract bool Equals(IDeclarationCondition other);