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

VerifyClsCompliance() protected method

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

			if (!MemberType.IsCLSCompliant () || this is FixedField) {
				Report.Warning (3003, 1, Location, "Type of `{0}' is not CLS-compliant",
					GetSignatureForError ());
			}
			return true;
		}
	}