Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/ilasm
diff options
context:
space:
mode:
authorAnkit Jain <radical@corewars.org>2008-02-06 12:17:47 +0300
committerAnkit Jain <radical@corewars.org>2008-02-06 12:17:47 +0300
commit61bc4c705f565145fcc3e9c6c16126afc3fdd1a9 (patch)
tree8ab18f6e93b89a973b04b2ccf8b82292e9a79eed /mcs/ilasm
parent4d5a3e6a32afb4321d3f8ee86e5a1c4b26927648 (diff)
Fix bug #358496.
* ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel. svn path=/trunk/mcs/; revision=95005
Diffstat (limited to 'mcs/ilasm')
-rw-r--r--mcs/ilasm/ChangeLog5
-rw-r--r--mcs/ilasm/codegen/ExternMethodRef.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/ilasm/ChangeLog b/mcs/ilasm/ChangeLog
index cc530e5b8f1..bb90b465ad0 100644
--- a/mcs/ilasm/ChangeLog
+++ b/mcs/ilasm/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-06 Ankit Jain <jankit@novell.com>
+
+ Fix bug #358496.
+ * ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel.
+
2007-12-31 Rodrigo Kumpera <rkumpera@novell.com>
* ilasm.exe.sources: added EmiteByteInst.cs.
diff --git a/mcs/ilasm/codegen/ExternMethodRef.cs b/mcs/ilasm/codegen/ExternMethodRef.cs
index 93298776908..51bc02bc8a0 100644
--- a/mcs/ilasm/codegen/ExternMethodRef.cs
+++ b/mcs/ilasm/codegen/ExternMethodRef.cs
@@ -81,7 +81,7 @@ namespace Mono.ILASM {
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);