Skip to content

Commit

Permalink
net_4_0 bug
Browse files Browse the repository at this point in the history
svn path=/trunk/mcs/; revision=154939
  • Loading branch information
jbevain committed Apr 7, 2010
1 parent 7b19040 commit 76e05b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public static int Bang (Expression i)
{
return (int) (i as ConstantExpression).Value;
}

#if !NET_4_0 // dlr bug 5875
[Test]
public void CallMethodWithExpressionParameter ()
{
Expand All @@ -296,7 +296,7 @@ public void CallMethodWithExpressionParameter ()

Assert.AreEqual (42, l ());
}

#endif
static bool fout_called = false;

public static int FooOut (out int x)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public void NestedParentParameterUse ()

Assert.AreEqual (5, l (1));
}

#if !NET_4_0 // dlr bug 5875
[Test]
public void LambdaReturningExpression ()
{
Expand All @@ -281,4 +281,5 @@ public void LambdaReturningExpression ()
Assert.AreEqual (ExpressionType.Constant, q.NodeType);
}
}
#endif
}

0 comments on commit 76e05b3

Please sign in to comment.