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

VerifyClsCompliance() protected method

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

			// Check this name against other containers
			NamespaceEntry.NS.VerifyClsCompliance ();

			// Check all container names for user classes
			if (Kind != MemberKind.Delegate)
				MemberCache.VerifyClsCompliance (Definition, Report);

			if (BaseType != null && !BaseType.IsCLSCompliant ()) {
				Report.Warning (3009, 1, Location, "`{0}': base type `{1}' is not CLS-compliant",
					GetSignatureForError (), BaseType.GetSignatureForError ());
			}
			return true;
		}