Author: ankit
Date: 2008-02-06 04:17:47 -0500 (Wed, 06 Feb 2008)
New Revision: 95005
Modified:
trunk/mcs/ilasm/ChangeLog
trunk/mcs/ilasm/codegen/ExternMethodRef.cs
Log:
Fix bug #358496.
* ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel.
Modified: trunk/mcs/ilasm/ChangeLog
===================================================================
--- trunk/mcs/ilasm/ChangeLog 2008-02-06 09:12:58 UTC (rev 95004)
+++ trunk/mcs/ilasm/ChangeLog 2008-02-06 09:17:47 UTC (rev 95005)
@@ -1,3 +1,8 @@
+2008-02-06 Ankit Jain <[EMAIL PROTECTED]>
+
+ Fix bug #358496.
+ * ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel.
+
2007-12-31 Rodrigo Kumpera <[EMAIL PROTECTED]>
* ilasm.exe.sources: added EmiteByteInst.cs.
Modified: trunk/mcs/ilasm/codegen/ExternMethodRef.cs
===================================================================
--- trunk/mcs/ilasm/codegen/ExternMethodRef.cs 2008-02-06 09:12:58 UTC (rev
95004)
+++ trunk/mcs/ilasm/codegen/ExternMethodRef.cs 2008-02-06 09:17:47 UTC (rev
95005)
@@ -81,7 +81,7 @@
if (in_opt) {
typeref.Resolve (code_gen);
opt_list.Add (typeref.PeapiType);
- } else if (TypeRef.Ellipsis == typeref) {
+ } else if (typeref is SentinelTypeRef) {
in_opt = true;
} else {
typeref.Resolve (code_gen);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches