¡@

Home 

c# Programming Glossary: il_0002

Performance difference for control structures 'for' and 'foreach' in C#

http://stackoverflow.com/questions/1124753/performance-difference-for-control-structures-for-and-foreach-in-c-sharp

V_0 object V_1 int32 V_2 IL_0000 ldarg.0 IL_0001 stloc.1 IL_0002 ldc.i4.0 IL_0003 stloc.2 IL_0004 br.s IL_0014 IL_0006 ldloc.1..

Why Enum's HasFlag method need boxing?

http://stackoverflow.com/questions/11665279/why-enums-hasflag-method-need-boxing

f 1 bool result IL_0000 nop IL_0001 ldc.i4.0 IL_0002 stloc.0 IL_0003 ldloc.0 IL_0004 box ConsoleApplication1.Fruit.. mscorlib System.ValueType v IL_0000 nop IL_0001 ldc.i4.1 IL_0002 stloc.0 IL_0003 ldloc.0 IL_0004 box mscorlib System.Int32 IL_0009..

C# newbie: what's the difference between “bool” and “bool?”?

http://stackoverflow.com/questions/1181491/c-sharp-newbie-whats-the-difference-between-bool-and-bool

mscorlib System.Nullable`1 int32 V_0 IL_0000 ldloca.s V_0 IL_0002 initobj valuetype mscorlib System.Nullable`1 int32 A call to..

Object reference not set to an instance of an object.Why doesn't .NET show which object is `null`?

http://stackoverflow.com/questions/14787580/object-reference-not-set-to-an-instance-of-an-object-why-doesnt-net-show-which

not C# source that executes but rather IL IL_0001 ldnull IL_0002 stloc.0 s IL_0003 ldloc.0 s IL_0004 callvirt System.String.get_Length..

Generate tail call opcode

http://stackoverflow.com/questions/15864670/generate-tail-call-opcode

IL code looks like this IL_0000 ldarg.1 IL_0001 ldarg.0 IL_0002 ldc.i4.1 IL_0003 add IL_0004 tail. Here is the 'tail' opcode..

Is there a way to see the native code produced by theJITter for given C# / CIL?

http://stackoverflow.com/questions/1945719/is-there-a-way-to-see-the-native-code-produced-by-thejitter-for-given-c-sharp

and shift their argument IL_0000 ldarg.0 IL_0001 ldc.i4.2 IL_0002 div IL_0003 ret end of method Program Divider versus IL_0000.. Program Divider versus IL_0000 ldarg.0 IL_0001 ldc.i4.1 IL_0002 shr IL_0003 ret end of method Program Shifter So the C# compiler..

Scope of variables in C#

http://stackoverflow.com/questions/3979493/scope-of-variables-in-c-sharp

b 2 int32 c Declare c IL_0000 ldc.i4.3 IL_0001 stloc.0 IL_0002 ldloc.0 IL_0003 ldc.i4.1 IL_0004 ble.s IL_000c IL_0006 ldc.i4.2..

Reflection for F# units of measure

http://stackoverflow.com/questions/4005474/reflection-for-f-units-of-measure

Code size 5 0x5 .maxstack 4 IL_0000 nop IL_0001 ldarg.0 IL_0002 ldarg.1 IL_0003 div IL_0004 ret end of method Program CalculateVelocity..

Is there any performance difference between ++i and i++ in C#?

http://stackoverflow.com/questions/467322/is-there-any-performance-difference-between-i-and-i-in-c

loops IL_0000 ldc.i4.0 IL_0001 stloc.0 Start of first loop IL_0002 ldc.i4.0 IL_0003 stloc.0 IL_0004 br.s IL_0010 IL_0006 ldloc.0..

Where and why use int a=new int?

http://stackoverflow.com/questions/5746873/where-and-why-use-int-a-new-int

0 int32 A 1 int32 B 2 int32 C IL_0000 nop IL_0001 ldc.i4.0 IL_0002 stloc.0 IL_0003 ldc.i4.0 IL_0004 stloc.1 IL_0005 ldc.i4.s 100..

What is differences between Multidimensional array and Array of Arrays in C#?

http://stackoverflow.com/questions/597720/what-is-differences-between-multidimensional-array-and-array-of-arrays-in-c

size 7 0x7 .maxstack 8 IL_0000 ldarg.0 IL_0001 ldarg.1 IL_0002 ldelem.ref IL_0003 ldarg.2 IL_0004 ldarg.3 IL_0005 stelem.i4.. size 10 0xa .maxstack 8 IL_0000 ldarg.0 IL_0001 ldarg.1 IL_0002 ldarg.2 IL_0003 ldarg.3 IL_0004 call instance void int32 0.....

VB.NET vs C# integer division [duplicate]

http://stackoverflow.com/questions/6013626/vb-net-vs-c-sharp-integer-division

C# does none of that. VB.NET IL Code IL_0000 ldc.i4.s 10 IL_0002 stloc.1 IL_0003 ldc.i4.s 0A IL_0005 stloc.0 IL_0006 ldloc.1.. System.Console.WriteLine C# IL Code IL_0000 ldc.i4.s 10 IL_0002 stloc.0 IL_0003 ldc.i4.s 0A IL_0005 stloc.1 IL_0006 ldloc.0..

Why GetType returns System.Int32 instead of Nullable<Int32>?

http://stackoverflow.com/questions/6931783/why-gettype-returns-system-int32-instead-of-nullableint32

can see this in the IL code int x 5 IL_0000 ldloca.s 00 IL_0002 ldc.i4.5 IL_0003 call System.Nullable System.Int32 ..ctor Console.WriteLine..