1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #15837 from KellyThomas/patch-2

remove usage of C#7 in DebuggingUtils.cs for compatibility with 2015 Build Tools
This commit is contained in:
Rémi Verschelde
2018-01-18 18:21:39 +01:00
committed by GitHub

View File

@@ -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(".");