mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 22:50:44 +00:00
Replaced C# 3.0 code ('var') with its C# 2.0 equivalent.
This commit is contained in:
parent
280b8525ea
commit
d8ab1e972b
|
@ -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