This should be protected because a child class might call it

This commit is contained in:
Paul Pacheco 2018-08-31 07:40:34 -05:00
parent 6c25b7aa37
commit 80a9a18728

View File

@ -375,7 +375,7 @@ void GenerateConstants()
}
else
{
awake = new MethodDefinition("Awake", MethodAttributes.Private, Weaver.voidType);
awake = new MethodDefinition("Awake", MethodAttributes.Family, Weaver.voidType);
}
ILProcessor awakeWorker = awake.Body.GetILProcessor();