Пример #1
0
        public override bool Equals(object arg0)
        {
            OCLCompilerException other = (OCLCompilerException)arg0;

            return(this.sourcePosition.Equals(other.sourcePosition) &&
                   this.Message.Equals(other.Message));
        }
Пример #2
0
        public int CompareTo(object obj)
        {
            OCLCompilerException other = (OCLCompilerException)obj;

            return(this.sourcePosition.CompareTo(other.sourcePosition));
        }