Mono.CSharp.MethodCore.VerifyClsCompliance C# (CSharp) Method

VerifyClsCompliance() protected method

protected VerifyClsCompliance ( ) : bool
return bool
        protected override bool VerifyClsCompliance()
        {
            if (!base.VerifyClsCompliance ())
                return false;

            if (parameters.HasArglist) {
                Report.Warning (3000, 1, Location, "Methods with variable arguments are not CLS-compliant");
            }

            if (member_type != null && !member_type.IsCLSCompliant ()) {
                Report.Warning (3002, 1, Location, "Return type of `{0}' is not CLS-compliant",
                    GetSignatureForError ());
            }

            parameters.VerifyClsCompliance (this);
            return true;
        }