summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKelly Thomas <kelly.thomas@hotmail.com.au>2018-01-18 19:43:23 +0800
committerGitHub <noreply@github.com>2018-01-18 19:43:23 +0800
commited17b426545f007b80f6957d43e8ceb2be0b261a (patch)
treeefab12c36d9ca92326833b4bf0acb836577df4ae /modules
parent9d45b719d4ed1f50c93f3234b31233ae5039987c (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.cs4
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(".");