示例#1
0
        //TODO: duplicate
        protected override bool VerifyClsCompliance()
        {
            if (!base.VerifyClsCompliance())
            {
                return(false);
            }

            Parameters.VerifyClsCompliance();

            if (!AttributeTester.IsClsCompliant(ReturnType.Type))
            {
                Report.Warning(3002, 1, Location, "Return type of `{0}' is not CLS-compliant",
                               GetSignatureForError());
            }
            return(true);
        }