소스 검색

remove c#7 features for compatibility with 2015 Build Tools

https://github.com/godotengine/godot/issues/15742
Kelly Thomas 7 년 전
부모
커밋
ed17b42654
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules/mono/glue/cs_files/DebuggingUtils.cs

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