Fix contract violation (violation caused by a copy/paste bug in PR 6200
authorFadi Hanna <fadim@microsoft.com>
Thu, 4 Aug 2016 19:21:28 +0000 (12:21 -0700)
committerFadi Hanna <fadim@microsoft.com>
Thu, 4 Aug 2016 19:21:28 +0000 (12:21 -0700)
[tfs-changeset: 1620960]

src/vm/zapsig.cpp

index c619610..c5dde07 100644 (file)
@@ -1015,7 +1015,13 @@ FieldDesc * ZapSig::DecodeField(Module *pReferencingModule,
                                 PCCOR_SIGNATURE pBuffer,
                                 TypeHandle *ppTH /*=NULL*/)
 {
-    STANDARD_VM_CONTRACT;
+    CONTRACTL
+    {
+        THROWS;
+        GC_TRIGGERS;
+        MODE_ANY;
+    }
+    CONTRACTL_END;
 
     SigTypeContext typeContext;    // empty context is OK: encoding should not contain type variables.