Skip to content

Commit

Permalink
remove nested using's
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Nov 17, 2022
1 parent de5e53d commit bc54e9c
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,12 +538,10 @@ public static bool Is64 () {
"if (Lib1.Library1.Is64 ()) Console.WriteLine (\"Hello World!\");");


using (var lb = CreateDllBuilder (Path.Combine (path, "Lib1"))) {
using (var b = CreateApkBuilder (Path.Combine (path, "App1"))) {
Assert.IsTrue (lb.Build (lib), "build should have succeeded.");
Assert.IsTrue (b.Build (proj), "build should have succeeded.");
}
}
using var lb = CreateDllBuilder (Path.Combine (path, "Lib1"));
using var b = CreateApkBuilder (Path.Combine (path, "App1"));
Assert.IsTrue (lb.Build (lib), "build should have succeeded.");
Assert.IsTrue (b.Build (proj), "build should have succeeded.");
}
}
}

0 comments on commit bc54e9c

Please sign in to comment.