Skip to content

Commit bc54e9c

Browse files
committed
remove nested using's
1 parent de5e53d commit bc54e9c

File tree

1 file changed

+4
-6
lines changed
  • src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks

1 file changed

+4
-6
lines changed

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/LinkerTests.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,10 @@ public static bool Is64 () {
538538
"if (Lib1.Library1.Is64 ()) Console.WriteLine (\"Hello World!\");");
539539

540540

541-
using (var lb = CreateDllBuilder (Path.Combine (path, "Lib1"))) {
542-
using (var b = CreateApkBuilder (Path.Combine (path, "App1"))) {
543-
Assert.IsTrue (lb.Build (lib), "build should have succeeded.");
544-
Assert.IsTrue (b.Build (proj), "build should have succeeded.");
545-
}
546-
}
541+
using var lb = CreateDllBuilder (Path.Combine (path, "Lib1"));
542+
using var b = CreateApkBuilder (Path.Combine (path, "App1"));
543+
Assert.IsTrue (lb.Build (lib), "build should have succeeded.");
544+
Assert.IsTrue (b.Build (proj), "build should have succeeded.");
547545
}
548546
}
549547
}

0 commit comments

Comments
 (0)