Fix bogus assert in resolveVirtualMethodHelper and update related ilproj
authorJonghyun Park <parjong@gmail.com>
Tue, 21 Mar 2017 06:10:30 +0000 (15:10 +0900)
committerJonghyun Park <parjong@gmail.com>
Tue, 21 Mar 2017 06:10:30 +0000 (15:10 +0900)
Commit migrated from https://github.com/dotnet/coreclr/commit/325332e383e698f0f1262a7f1b15586380e406dd

src/coreclr/src/vm/jitinterface.cpp
src/coreclr/tests/src/Loader/classloader/MethodImpl/self_override1.ilproj

index 1639e2d..4b9f2f8 100644 (file)
@@ -8796,7 +8796,6 @@ static CORINFO_METHOD_HANDLE resolveVirtualMethodHelper(MethodDesc* callerMethod
         // The base method should be in the base vtable
         WORD slot = pBaseMD->GetSlot();
         _ASSERTE(slot < pBaseMT->GetNumVirtuals());
-        _ASSERTE(pBaseMD == pBaseMT->GetMethodDescForSlot(slot));
         
         // Fetch the method that would be invoked if the class were
         // exactly derived class. It is up to the jit to determine whether
index 772b279..61a1808 100644 (file)
     <CLRTestPriority>0</CLRTestPriority>
   </PropertyGroup>
 
+  <!-- Default configurations to help VS understand the configurations -->
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+  </PropertyGroup>
+  <PropertyGroup>
+    <DebugType>pdbonly</DebugType>
+  </PropertyGroup>
+
   <ItemGroup>
     <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
       <Visible>False</Visible>