summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-18 18:21:39 +0100
committerGitHub <noreply@github.com>2018-01-18 18:21:39 +0100
commit05e4303e1d5ace8755c2a101358905bb10f1d69e (patch)
tree8041cf2ef9b0e21838007588aee7548cdf4d841d /modules
parentd0d511b0f8d9cb4d48c861b2c097fa15876f432c (diff)
parented17b426545f007b80f6957d43e8ceb2be0b261a (diff)
Merge pull request #15837 from KellyThomas/patch-2
remove usage of C#7 in DebuggingUtils.cs for compatibility with 2015 Build Tools
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(".");