diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-05-09 20:54:07 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-05-09 20:54:16 +0200 |
commit | af4acb5b1163089fe727000b39cefb4fc799f1db (patch) | |
tree | 5d46c1bc87ccfbe76a28569b0ff3ec652ce9ee61 /modules/mono/utils | |
parent | 61306eb830cba932c57bc3e83ea462a49f2ebd97 (diff) |
C#/Mono: Check assembly version when loading
Not sure if we should check revision too, but this is good enough for what we want.
This will be needed to load the correct Microsoft.Build when we switch to the nuget version.
Diffstat (limited to 'modules/mono/utils')
-rw-r--r-- | modules/mono/utils/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/utils/macros.h b/modules/mono/utils/macros.h index 8650d6cc09..dc542477f5 100644 --- a/modules/mono/utils/macros.h +++ b/modules/mono/utils/macros.h @@ -68,6 +68,6 @@ public: } // namespace gdmono #define SCOPE_EXIT \ - auto GD_UNIQUE_NAME(gd_scope_exit) = gdmono::ScopeExitAux() + [=]() + auto GD_UNIQUE_NAME(gd_scope_exit) = gdmono::ScopeExitAux() + [=]() -> void #endif // UTIL_MACROS_H |