PageRenderTime 21ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/Test/Resources/cs/Fields.cs

http://github.com/jbevain/cecil
C# | 41 lines | 35 code | 6 blank | 0 comment | 0 complexity | 4e2e1b418135d84ad6baa9fefff0cf0f MD5 | raw file
 1using System;
 2using System.Runtime.InteropServices;
 3
 4class Foo {
 5	Bar bar;
 6}
 7
 8class Bar {
 9	volatile int oiseau;
10}
11
12class Baz {
13	bool @bool;
14	char @char;
15	sbyte @sbyte;
16	byte @byte;
17	short int16;
18	ushort uint16;
19	int int32;
20	uint uint32;
21	long int64;
22	ulong uint64;
23	float single;
24	double @double;
25	string @string;
26	object @object;
27}
28
29enum Pim {
30	Pam = 1,
31	Poum = 2,
32}
33
34class PanPan {
35
36	public const PanPan Peter = null;
37	public const string QQ = "qq";
38	public const string nil = null;
39	public const object obj = null;
40	public const int [] ints = null;
41}