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));
        }
        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));
        }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
        public override bool Equals([AllowNull] BaseIssue other)
        {
            if (!base.Equals(other))
            {
                return(false);
            }

            var o = other as DeclSpecsMismatchWarning;

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