File: StringPredicate.il

package info (click to toggle)
cecil-flowanalysis 0.1~svn.128879-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,048 kB
  • ctags: 1,368
  • sloc: cs: 5,512; makefile: 86; sh: 45; ansic: 7; php: 1
file content (23 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.assembly TestCase {}

.class public auto ansi beforefieldinit TestCase
       extends [mscorlib]System.Object
{
	.method public hidebysig static bool Main(string 'value') cil managed
	{
		.locals init (bool local0)
		IL_0000: ldarg.0
		IL_0001: ldstr "foo"
		IL_0006: call bool string::op_Equality(string, string)
		IL_000b: brtrue.s IL_001a
		IL_000d: ldarg.0
		IL_000e: ldstr "bar"
		IL_0013: call bool string::op_Equality(string, string)
		IL_0018: br.s IL_001b
		IL_001a: ldc.i4.1
		IL_001b: stloc.0
		IL_001c: br.s IL_001e
		IL_001e: ldloc.0
		IL_001f: ret
	}
}