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
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/codegen
parent4d5a3e6a32afb4321d3f8ee86e5a1c4b26927648 (diff)
Fix bug #358496.
* ExternMethodRef.cs (ResolveVararg): Fix the check for sentinel. svn path=/trunk/mcs/; revision=95005
Diffstat (limited to 'mcs/ilasm/codegen')
-rw-r--r--mcs/ilasm/codegen/ExternMethodRef.cs2
1 files changed, 1 insertions, 1 deletions
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);