¡@

Home 

c# Programming Glossary: il_0001

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

Enumerator object V_1 IL_0000 ldarg.0 IL_0001 callvirt instance valuetype mscorlib System.Collections.Generic.List`1.. init object 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..

Why Enum's HasFlag method need boxing?

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

ConsoleApplication1.Fruit 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.. 0 int32 i 1 class mscorlib System.ValueType v IL_0000 nop IL_0001 ldc.i4.1 IL_0002 stloc.0 IL_0003 ldloc.0 IL_0004 box mscorlib..

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

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

Generate tail call opcode

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

. The generates 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..

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

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

Why are C# interface methods not declared abstract or virtual?

http://stackoverflow.com/questions/3621410/why-are-c-sharp-interface-methods-not-declared-abstract-or-virtual

cil managed Code size 2 0x2 .maxstack 8 IL_0000 nop IL_0001 ret end of method Example Dispose Notice that the method is..

Scope of variables in C#

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

1 int32 b Declare 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..

Reflection for F# units of measure

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

time cil managed 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..

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

IL code is the same for both loops IL_0000 ldc.i4.0 IL_0001 stloc.0 Start of first loop IL_0002 ldc.i4.0 IL_0003 stloc.0..

Where and why use int a=new int?

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

1 .locals init 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..

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

cil managed Code 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.. cil managed Code 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..

I wrote a program that allow two classes to “fight”. For whatever reason C# always wins. What's wrong with VB.NET?

http://stackoverflow.com/questions/711586/i-wrote-a-program-that-allow-two-classes-to-fight-for-whatever-reason-c-sharp

cil managed Code size 15 0xf .maxstack 8 IL_0000 ldarg.0 IL_0001 call instance void base Player .ctor IL_0006 ldarg.0 IL_0007..