Browse Source

Improve ValueTypeCall.Using() test case

pull/877/head
Daniel Grunwald 8 years ago
parent
commit
fafc680458
  1. 4
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/ValueTypeCall.cs

4
ICSharpCode.Decompiler.Tests/TestCases/Correctness/ValueTypeCall.cs

@ -124,9 +124,9 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness @@ -124,9 +124,9 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
MutValueType x = y;
x.Dispose();
}
Console.WriteLine("Using with double var:");
Console.WriteLine("Using with variable declared outside:");
MutValueType z;
using (var x = z = new MutValueType()) {
using (z = new MutValueType()) {
z.Increment();
}
}

Loading…
Cancel
Save