[eval] Fix delegate; add caching for PrepareEmit
authorStone Gislason <steinar.gislason@gmail.com>
Sat, 11 Oct 2014 18:24:16 +0000 (19:24 +0100)
committerStone Gislason <steinar.gislason@gmail.com>
Sun, 26 Oct 2014 00:15:37 +0000 (01:15 +0100)
commitf1108aabbadd839ca9f09ede072919aae63d7df1
treea1a89c9d0426bf3dc22ac3d32a4ec14ad7d2cf6e
parentabb760f3769ea2a3ff767822110a8c279c96cdc6
[eval] Fix delegate; add caching for PrepareEmit

The delegate class did not use the internal cache flag as other type definitions which caused the next evaluation to fail.
mcs/class/Mono.CSharp/Test/Evaluator/TypesTest.cs
mcs/mcs/delegate.cs