Author: martin
Date: 2006-11-28 09:27:07 -0500 (Tue, 28 Nov 2006)
New Revision: 68584
Modified:
branches/martin/anonymous-methods2/mcs/statement.cs
Log:
Modified: branches/martin/anonymous-methods2/mcs/statement.cs
===================================================================
--- branches/martin/anonymous-methods2/mcs/statement.cs 2006-11-28 14:26:58 UTC
(rev 68583)
+++ branches/martin/anonymous-methods2/mcs/statement.cs 2006-11-28 14:27:07 UTC
(rev 68584)
@@ -1035,7 +1035,7 @@
public LocalInfo (DeclSpace ds, Block block, Location l)
{
- VariableType = ds.TypeBuilder;
+ VariableType = ds.IsGeneric ? ds.CurrentType :
ds.TypeBuilder;
Block = block;
Location = l;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches