1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

remove c#7 features for compatibility with 2015 Build Tools

https://github.com/godotengine/godot/issues/15742
This commit is contained in:
Kelly Thomas
2018-01-18 19:43:23 +08:00
committed by GitHub
parent 9d45b719d4
commit ed17b42654

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