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

VerifyClsCompliance() protected method

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

			parameters.VerifyClsCompliance (this);

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