Skip to content

Commit

Permalink
Emit symbol file entry for lambda expressions.
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-safar committed Mar 20, 2012
1 parent b7d94d9 commit 5226dfa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mcs/mcs/lambda.cs
Expand Up @@ -191,7 +191,7 @@ public override Expression CreateExpressionTree (ResolveContext ec)
return Expr.CreateExpressionTree (ec);
}

public override void Emit (EmitContext ec)
protected override void DoEmit (EmitContext ec)
{
if (statement != null) {
statement.EmitStatement (ec);
Expand All @@ -203,7 +203,7 @@ public override void Emit (EmitContext ec)
return;
}

base.Emit (ec);
base.DoEmit (ec);
}

protected override bool DoResolve (BlockContext ec)
Expand Down
4 changes: 3 additions & 1 deletion mcs/tests/test-debug-14-ref.xml
Expand Up @@ -62,7 +62,9 @@
<scopes />
</method>
<method token="0x6000007">
<sequencepoints />
<sequencepoints>
<entry il="0x0" row="13" file_ref="1" hidden="false" />
</sequencepoints>
<locals />
<scopes />
</method>
Expand Down

0 comments on commit 5226dfa

Please sign in to comment.