¡@

Home 

c# Programming Glossary: ldfld

+= new EventHandler(Method) vs += Method [duplicate]

http://stackoverflow.com/questions/2749868/new-eventhandlermethod-vs-method

void Count cil managed .maxstack 8 L_0000 ldarg.0 L_0001 ldfld class DelegateTest.Program EventProducer DelegateTest.Program.. class mscorlib System.EventHandler L_0017 ldarg.0 L_0018 ldfld class DelegateTest.Program EventProducer DelegateTest.Program.. EventProducer Raise L_0022 ldarg.0 L_0023 ldfld class DelegateTest.Program EventProducer DelegateTest.Program..

Is the null coalesce operator thread safe?

http://stackoverflow.com/questions/4619593/is-the-null-coalesce-operator-thread-safe

init 0 object CS 1 0000 L_0000 nop L_0001 ldarg.0 L_0002 ldfld object ConsoleApplication1.Program MainClass _bar L_0007 dup.. never return null. Looking at the IL above it _bar via ldfld then does a check to see if that object is not null using brtrue.s..