diff --git a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.cs b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.cs index 63712439a..665be1a32 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.cs +++ b/ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.cs @@ -70,10 +70,13 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty public readonly struct ReadOnlyStruct { - private readonly int dummy; + private readonly int Field; public void Method() { + ref readonly int field = ref Field; + Console.WriteLine("No inlining"); + Console.WriteLine(field.GetHashCode()); } }