Use actual types instead of var because it's not obvious

This commit is contained in:
vis2k 2019-01-15 15:44:20 +01:00
parent 83e32dfec7
commit 70048fc380

View File

@ -450,7 +450,7 @@ void GenerateDeSerialization()
{
Weaver.DLog(m_td, " GenerateDeSerialization");
foreach (var m in m_td.Methods)
foreach (MethodDefinition m in m_td.Methods)
{
if (m.Name == "OnDeserialize")
return;
@ -487,7 +487,7 @@ void GenerateDeSerialization()
serWorker.Append(serWorker.Create(OpCodes.Brfalse, initialStateLabel));
int netIdFieldCounter = 0;
foreach (var syncVar in m_SyncVars)
foreach (FieldDefinition syncVar in m_SyncVars)
{
// assign value
serWorker.Append(serWorker.Create(OpCodes.Ldarg_0));