mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-06 10:00:44 +00:00
Replaced C# 3.0 code ('var') with its C# 2.0 equivalent.
This commit is contained in:
parent
b0704762f2
commit
1a1d0cab6f
|
@ -102,7 +102,7 @@ namespace Examples.WinForms
|
||||||
continue;
|
continue;
|
||||||
string returnType = method.ReturnParameter.ToString();
|
string returnType = method.ReturnParameter.ToString();
|
||||||
List<string> args = new List<string>();
|
List<string> args = new List<string>();
|
||||||
foreach (var item in method.GetParameters())
|
foreach (ParameterInfo item in method.GetParameters())
|
||||||
{
|
{
|
||||||
args.Add(item.ToString());
|
args.Add(item.ToString());
|
||||||
}
|
}
|
||||||
|
@ -160,8 +160,9 @@ namespace Examples.WinForms
|
||||||
example.ShowDialog();
|
example.ShowDialog();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endregion
|
#endregion
|
||||||
|
}
|
||||||
|
|
||||||
#region class Function
|
#region class Function
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue