public VerifyClsCompliance ( IMemberContext ctx ) : void | ||
ctx | IMemberContext | |
return | void |
//TODO: duplicate protected override bool VerifyClsCompliance () { if (!base.VerifyClsCompliance ()) { return false; } parameters.VerifyClsCompliance (this); if (!InvokeBuilder.MemberType.IsCLSCompliant ()) { Report.Warning (3002, 1, Location, "Return type of `{0}' is not CLS-compliant", GetSignatureForError ()); } return true; }
//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); }