Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ldloc.0 //loads the local variable at index 0 (which is the array instance) onto stack
ldc.i4.0 //loads the value of 0 onto stack
ldelema Riddle.ValueHolder //loads the address of the array element at index 0 as a managed pointer onto stack
ldc.i4.5 //loads the value of 5 onto stack
call instance void Riddle.ValueHolder::SetValue(int32) //calls the SetValue method on the ValueHolder instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment