be5cae4b16
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1476 6952d904-891a-0410-993b-d76249ca496b
14 lines
468 B
Diff
14 lines
468 B
Diff
--- trunk/mcs/mcs/expression.cs 2007/12/22 13:17:22 91807
|
|
+++ trunk/mcs/mcs/expression.cs 2007/12/23 13:29:15 91831
|
|
@@ -4242,6 +4242,10 @@
|
|
|
|
public override Expression DoResolve (EmitContext ec)
|
|
{
|
|
+ // Don't resolve already resolved expression
|
|
+ if (eclass != ExprClass.Invalid)
|
|
+ return this;
|
|
+
|
|
Expression expr_resolved = expr.Resolve (ec, ResolveFlags.VariableOrValue | ResolveFlags.MethodGroup);
|
|
if (expr_resolved == null)
|
|
return null;
|