예제 #1
0
파일: main.cs 프로젝트: yukozh/coreclr
    static void TestFieldLayoutNGenMixAndMatch()
    {
        // This test is verifying consistent field layout when ReadyToRun images are combined with NGen images
        // "ngen install /nodependencies main.exe" to exercise the interesting case
        var o = new ByteChildClass(67);

        Assert.AreEqual(o.ChildByte, (byte)67);
    }
예제 #2
0
파일: main.cs 프로젝트: bjjones/coreclr
 static void TestFieldLayoutNGenMixAndMatch()
 {
     // This test is verifying consistent field layout when ReadyToRun images are combined with NGen images
     // "ngen install /nodependencies main.exe" to exercise the interesting case
     var o = new ByteChildClass(67);
     Assert.AreEqual(o.ChildByte, (byte)67);
 }