¡@

Home 

c# Programming Glossary: calltype

Comparing 2 objects and retrieve a list of fields with different values

http://stackoverflow.com/questions/3060382/comparing-2-objects-and-retrieve-a-list-of-fields-with-different-values

bool isValueType typeof T .IsValueType OpCode callType isValueType OpCodes.Call OpCodes.Callvirt var add typeof List.. byte 0 else il.Emit OpCodes.Ldarg_0 il.EmitCall callType prop.GetGetMethod null if isValueType il.Emit OpCodes.Ldarga_S.. byte 1 else il.Emit OpCodes.Ldarg_1 il.EmitCall callType prop.GetGetMethod null il.Emit OpCodes.Ceq break default..