You've already forked godot
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:
@@ -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(".");
|
||||
|
||||
Reference in New Issue
Block a user