diff options
author | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-01-18 19:43:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 19:43:23 +0800 |
commit | ed17b426545f007b80f6957d43e8ceb2be0b261a (patch) | |
tree | efab12c36d9ca92326833b4bf0acb836577df4ae /modules | |
parent | 9d45b719d4ed1f50c93f3234b31233ae5039987c (diff) |
remove c#7 features for compatibility with 2015 Build Tools
https://github.com/godotengine/godot/issues/15742
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/glue/cs_files/DebuggingUtils.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/cs_files/DebuggingUtils.cs b/modules/mono/glue/cs_files/DebuggingUtils.cs index 42ca57fbf9..ffaaf00837 100644 --- a/modules/mono/glue/cs_files/DebuggingUtils.cs +++ b/modules/mono/glue/cs_files/DebuggingUtils.cs @@ -34,8 +34,8 @@ namespace Godot StringBuilder sb = new StringBuilder(); - if (methodBase is MethodInfo methodInfo) - sb.AppendTypeName(methodInfo.ReturnType); + if (methodBase is MethodInfo) + sb.AppendTypeName(((MethodInfo)methodBase).ReturnType); sb.Append(methodBase.DeclaringType.FullName); sb.Append("."); |