Update test introduced in dotnet/coreclr#20047 so that the key method `ReadBytes` is compiled
with minopts by default.
Commit migrated from https://github.com/dotnet/coreclr/commit/
80334f6ed542a79aefc61f6f1ca25dc4a5755fb3
// See the LICENSE file in the project root for more information.
using System;
+using System.Runtime.CompilerServices;
// GitHub 20040: operand ordering bug with GT_INDEX_ADDR
// Requires minopts/tier0 to repro
return currentBuffer;
}
+ [MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
public byte ReadByte()
{
int offset;