2005-04-01 Raja R Harinath <rharinath@novell.com>
Fix #74232 and cs0208-3.cs.
* expression.cs (ComposedCast.DoResolveAsTypeStep): Add CS0208 check.
* typemanager.cs (IsUnmanagedType): Don't allow 'object' as an
unmanaged type. Don't use FieldBuilders when 't' is a
TypeBuilder. Use ModFlags and MemberType fields.
* class.cs (MemberBase.member_type): Rename from MemberType.
(MemberBase.MemberType): New property. Determines member_type on
demand.
(MemberBase.DoDefine): Don't initialize MemberType here.
(FieldMember.Define): Likewise.
In errors:
* TestRunner.cs (TestRunner): Make "KNOWN ISSUE" messages slightly
more verbose.
* cs0208-4.cs: New test from #74232.
svn path=/trunk/mcs/; revision=42462