Ejemplo n.º 1
0
        public override bool Equals([AllowNull] BaseIssue other)
        {
            if (!base.Equals(other))
                return false;

            var o = other as BlockEndValueMismatchError;
            return Equals(this.Identifier, o?.Identifier) && Equals(this.Expected, o?.Expected) && Equals(this.Actual, o?.Actual);
        }
        public override bool Equals([AllowNull] BaseIssue other)
        {
            if (!base.Equals(other))
            {
                return(false);
            }

            var o = other as ExtraDeclarationWarning;

            return(this.DeclarationSpecifiers.Equals(o?.DeclarationSpecifiers) && this.Declarator.Equals(o?.Declarator));
        }
        public override bool Equals([AllowNull] BaseIssue other)
        {
            if (!base.Equals(other))
            {
                return(false);
            }

            var o = other as SizeMismatchWarning;

            return(Equals(this.Identifier, o?.Identifier) && Equals(this.Expected, o?.Expected) && Equals(this.Actual, o?.Actual));
        }
Ejemplo n.º 4
0
        public override bool Equals([AllowNull] BaseIssue other)
        {
            if (!base.Equals(other))
            {
                return(false);
            }

            var o = other as DeclaratorMismatchWarning;

            return(this.Expected.Equals(o?.Expected) && this.Actual.Equals(o?.Actual));
        }
        public override bool Equals([AllowNull] BaseIssue other)
        {
            if (!base.Equals(other))
            {
                return(false);
            }

            var o = other as MissingFunctionDefinitionError;

            return(this.DeclarationSpecifiers.Equals(o?.DeclarationSpecifiers) && this.Declarator.Equals(o?.Declarator));
        }