Example #1
0
    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);
    }
Example #2
0
 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);
 }