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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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