svn path=/trunk/mcs/; revision=77647
2007-05-18 Raja R Harinath <rharinath@novell.com>
+ * statement.cs (Block.CloneTo): Clone Toplevel field too.
+
* expression.cs (ParameterReference): Distinguish between block
where parameter was referenced and declared.
public readonly Location StartLocation;
public Location EndLocation = Location.Null;
- public readonly ToplevelBlock Toplevel;
+ public ToplevelBlock Toplevel;
[Flags]
public enum Flags : ushort {
{
Block target = (Block) t;
+ target.Toplevel = (ToplevelBlock) clonectx.LookupBlock (Toplevel);
if (Parent != null)
target.Parent = clonectx.LookupBlock (Parent);