Rework gc descriptor to include size information in more cases.
[mono.git] / mcs / mcs / async.cs
index a7856804b5e39009affb2442daa3f28ae590dcc4..6ae8027c0ab5eab7dfa1b203940eeb311d2b7d31 100644 (file)
@@ -34,6 +34,12 @@ namespace Mono.CSharp
                        this.loc = loc;
                }
 
+               public Expression Expr {
+                       get {
+                               return expr;
+                       }
+               }
+
                protected override void CloneTo (CloneContext clonectx, Expression target)
                {
                        var t = (Await) target;
@@ -102,6 +108,11 @@ namespace Mono.CSharp
                {
                        stmt.EmitStatement (ec);
                }
+
+               public override object Accept (StructuralVisitor visitor)
+               {
+                       return visitor.Visit (this);
+               }
        }
 
        class AwaitStatement : YieldStatement<AsyncInitializer>