Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBernhard Urban <bernhard.urban@xamarin.com>2017-07-19 16:33:00 +0300
committerBernhard Urban <bernhard.urban@xamarin.com>2017-07-19 16:40:04 +0300
commitb57202ea18505c4dce5e4669fc4002cab430859b (patch)
tree633e4522ba99fc44b03cfadef23a3f6b5e99782e /tools
parent574f999d5558e5e59ab0d09c7488563590836241 (diff)
[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
Diffstat (limited to 'tools')
-rw-r--r--tools/offsets-tool/MonoAotOffsetsDumper.cs2
1 files changed, 1 insertions, 1 deletions
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 },
};