¡@

Home 

c# Programming Glossary: ldstr

What's the cause of this FatalExecutionEngineError in .NET 4.5 beta? [closed]

http://stackoverflow.com/questions/11873798/whats-the-cause-of-this-fatalexecutionengineerror-in-net-4-5-beta

.cctor cil managed Code size 11 0xb .maxstack 8 IL_0000 ldstr IL_0005 stsfld string System.String Empty IL_000a ret end of..

When using object initializers, why does the compiler generate an extra local variable?

http://stackoverflow.com/questions/1679780/when-using-object-initializers-why-does-the-compiler-generate-an-extra-local-va

.ctor L_0005 stloc.0 L_0006 ldloc.0 L_0007 ldstr fooBar L_000c callvirt instance void ClassLibrary1.Class1 set_Foo.. .ctor L_0016 stloc.2 L_0017 ldloc.2 L_0018 ldstr fooBar2 L_001d callvirt instance void ClassLibrary1.Class2 set_Foo..

Does using “new” on a strict allocate it on the heap or stack?

http://stackoverflow.com/questions/203695/does-using-new-on-a-strict-allocate-it-on-the-heap-or-stack

cil managed .maxstack 8 L_0001 ldstr L_0006 newobj instance void mscorlib System.Guid .ctor string.. mscorlib System.Guid guid L_0001 ldloca.s guid L_0003 ldstr L_0008 call instance void mscorlib System.Guid .ctor string.. cil managed .maxstack 8 L_0001 ldstr L_0006 newobj instance void mscorlib System.Guid .ctor string..

Lock statement vs Monitor.Enter method

http://stackoverflow.com/questions/2837070/lock-statement-vs-monitor-enter-method

CS 2 0000 5 bool CS 4 0001 L_0000 nop L_0001 ldstr Test1 L_0006 newobj instance void ConsoleApplication2.Test .ctor.. .ctor string L_000b stloc.0 L_000c ldstr Tesst2 L_0011 newobj instance void ConsoleApplication2.Test.. L_0024 nop L_0025 nop L_0026 ldnull L_0027 stloc.0 L_0028 ldstr Manual collect. L_002d call void mscorlib System.Console WriteLine..

Are .Net switch statements hashed or indexed?

http://stackoverflow.com/questions/3366376/are-net-switch-statements-hashed-or-indexed

string int32 .ctor int32 L_002e dup L_002f ldstr x L_0034 ldc.i4.0 L_0035 call instance void mscorlib System.Collections.Generic.Dictionary`2.. string int32 Add 0 1 L_003a dup L_003b ldstr y L_0040 ldc.i4.1 L_0041 call instance void mscorlib System.Collections.Generic.Dictionary`2.. string int32 Add 0 1 L_0046 dup L_0047 ldstr z L_004c ldc.i4.2 L_004d call instance void mscorlib System.Collections.Generic.Dictionary`2..

Is there a difference between private const and private readonly variables in C#?

http://stackoverflow.com/questions/410723/is-there-a-difference-between-private-const-and-private-readonly-variables-in-c

Why this compile error

http://stackoverflow.com/questions/8823427/why-this-compile-error

produced by both examples is exactly the same. IL_0000 ldstr C IL_0005 stloc.0 IL_0006 ldloc.0 IL_0007 call System.String.IsNullOrEmpty..