From b57202ea18505c4dce5e4669fc4002cab430859b Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Wed, 19 Jul 2017 15:33:00 +0200 Subject: [PATCH] [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 --- tools/offsets-tool/MonoAotOffsetsDumper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, }; -- 2.25.1