2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / metadata-verifier / assembly-with-constants.cs
1 using System;
2 using System.Runtime.InteropServices;
3 using System.Runtime.CompilerServices;
4 using System.ComponentModel;
5
6 public class LastClass
7 {
8         public static int DefaultParam ([DefaultParameterValue (0x99)] int a, int b) { return 0; }
9
10         public const int ConstField = 0x44; 
11         public const object ConstField2 = null; 
12         public const string ConstField3 = "hello world"; 
13
14         /* LAMESPEC You can't define a default value using MSIL*/
15         public int ConstProp { get; set; }
16
17         public static void Main ()
18         {
19         
20         }
21 }