From: Bernhard Urban Date: Wed, 19 Jul 2017 13:33:00 +0000 (+0200) Subject: [offset-tool] fix assignment for GeniOS X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=b57202ea18505c4dce5e4669fc4002cab430859b [offset-tool] fix assignment for GeniOS fixes this compilation error MonoAotOffsetsDumper.cs(279,59): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement --- diff --git a/tools/offsets-tool/MonoAotOffsetsDumper.cs b/tools/offsets-tool/MonoAotOffsetsDumper.cs index 94622793145..199b974559e 100644 --- a/tools/offsets-tool/MonoAotOffsetsDumper.cs +++ b/tools/offsets-tool/MonoAotOffsetsDumper.cs @@ -276,7 +276,7 @@ namespace CppSharp { "android-ndk=", "Path to Android NDK", v => AndroidNdkPath = v }, { "targetdir=", "Path to the directory containing the mono build", v =>TargetDir = v }, { "mono=", "include directory", v => MonoDir = v }, - { "gen-ios", "generate iOS offsets", v => GenIOS != null }, + { "gen-ios", "generate iOS offsets", v => GenIOS = v != null }, { "h|help", "show this message and exit", v => showHelp = v != null }, };