Fix #79584
authorRaja R Harinath <harinath@hurrynot.org>
Fri, 6 Oct 2006 08:57:12 +0000 (08:57 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Fri, 6 Oct 2006 08:57:12 +0000 (08:57 -0000)
commit86bcccfbc9584af225bfb5d6e93168750fde396b
tree031be61c43b8ef47205227a0db878c08e147213c
parent52a3e8047854904253d59ea24d03a4a4448a9afe
Fix #79584
* mcs/class.cs (DefineTypeBuilder): Check circular dependencies before
setting the parent of the TypeBuilder.
(CheckRecursiveDefinition): Don't use 'BaseType', since
it may not be valid until after DefineTypeBuilder.  Use
'base_type' instead.
* errors/cs0146-5.cs: New test from #79584.

svn path=/trunk/mcs/; revision=66334
mcs/errors/ChangeLog
mcs/errors/cs0146-5.cs [new file with mode: 0644]
mcs/mcs/ChangeLog
mcs/mcs/class.cs