1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

#18051: Do not use var in a for-loop, or where type is not obvious

(cherry picked from commit e59fad3924)
This commit is contained in:
Xavier Cho
2018-04-17 07:33:42 +09:00
committed by Hein-Pieter van Braam
parent 72bcacf2b6
commit d330bee1c2
7 changed files with 22 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ namespace Godot
sb.Append("<");
for (var j = 0; j < genericParams.Length; j++)
for (int j = 0; j < genericParams.Length; j++)
{
if (j > 0)
sb.Append(", ");
@@ -64,7 +64,7 @@ namespace Godot
ParameterInfo[] parameter = methodBase.GetParameters();
for (var i = 0; i < parameter.Length; i++)
for (int i = 0; i < parameter.Length; i++)
{
if (i > 0)
sb.Append(", ");