projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-08-18 Marek Habersack <mhabersack@novell.com>
[mono.git]
/
mcs
/
mcs
/
eval.cs
diff --git
a/mcs/mcs/eval.cs
b/mcs/mcs/eval.cs
index fe565e54c8424f73395f9956f9cd43bfa3242c6b..bc36a672b3f50a107c47347cd0f4cd8a33909aab 100644
(file)
--- a/
mcs/mcs/eval.cs
+++ b/
mcs/mcs/eval.cs
@@
-406,10
+406,9
@@
namespace Mono.CSharp {
throw new InternalErrorException ("did not find the the Host method");
EmitContext ec = method.CreateEmitContext (null);
throw new InternalErrorException ("did not find the the Host method");
EmitContext ec = method.CreateEmitContext (null);
- bool unreach;
try {
try {
-
ec.ResolveTopBlock (null, method.Block, method.ParameterInfo, method, out unreach
);
+
method.Block.Resolve (null, ec, method.ParameterInfo, method
);
} catch (CompletionResult cr){
prefix = cr.BaseText;
return cr.Result;
} catch (CompletionResult cr){
prefix = cr.BaseText;
return cr.Result;