¡@

Home 

c# Programming Glossary: brtrue.s

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 MoveNext IL_001e brtrue.s IL_0009 IL_0020 leave.s IL_0030 end .try finally IL_0022 ldloca.s..

Generate tail call opcode

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

0x205e Code Size 17 0x11 .maxstack 8 L_0000 ldarg.0 L_0001 brtrue.s L_0005 L_0003 ldarg.1 L_0004 ret L_0005 ldarg.0 L_0006 ldc.i4.1.. 0x3bfe Code Size 17 0x11 .maxstack 8 L_0000 ldarg.0 L_0001 brtrue.s L_0005 L_0003 ldarg.1 L_0004 ret L_0005 ldarg.0 L_0006 ldc.i4.1.. .maxstack 5 L_0000 nop L_0001 ldarg.0 L_0002 brtrue.s L_0006 L_0004 ldarg.1 L_0005 ret L_0006 ldarg.0 L_0007 ldc.i4.1..

Is the conditional operator slow?

http://stackoverflow.com/questions/2259741/is-the-conditional-operator-slow

Conditional Operator L_0165 ldarg.1 L_0166 ldarg.2 L_0167 brtrue.s L_016d L_0169 ldc.i4.s 0x62 L_016b br.s L_016f L_016d ldc.i4.s..

Lock statement vs Monitor.Enter method

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

L_0057 stloc.s CS 4 0001 L_0059 ldloc.s CS 4 0001 L_005b brtrue.s L_0065 L_005d ldloc.s CS 2 0000 L_005f call void mscorlib System.Threading.Monitor..

Are .Net switch statements hashed or indexed?

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

F271 4C12 83D0 CC9C9CD67AD6 method0x6000001 1 L_0026 brtrue.s L_0089 L_0028 ldc.i4.7 L_0029 newobj instance void mscorlib..

Is the null coalesce operator thread safe?

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

MainClass _bar L_0007 dup L_0008 brtrue.s L_0010 L_000a pop L_000b newobj instance void mscorlib System.Object.. then does a check to see if that object is not null using brtrue.s . If the object is not null it jumps copies the value of _bar..

Is it better to declare a variable inside or outside a loop?

http://stackoverflow.com/questions/8535846/is-it-better-to-declare-a-variable-inside-or-outside-a-loop

mscorlib System.Collections.IEnumerator MoveNext L_0035 brtrue.s L_0010 L_0037 leave.s L_0043 L_0039 ldloc.3 L_003a brfalse.s.. mscorlib System.Collections.IEnumerator MoveNext L_0035 brtrue.s L_0010 L_0037 leave.s L_0043 L_0039 ldloc.3 L_003a brfalse.s..

Why this compile error

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

ldloc.0 IL_0007 call System.String.IsNullOrEmpty IL_000C brtrue.s IL_0015 IL_000E ldloc.0 IL_000F call System.IO.Path.GetDirectoryName..