**** Merged from MCS ****
[mono-project.git] / mcs / monoresgen / Assembly / Consts.cs
blob79208d9b561b45986f26a70a230a9954749d1af5
1 //
2 // Consts.cs
3 //
4 // Author:
5 // Andreas Nahr (ClassDevelopment@A-SoftTech.com)
6 //
7 // (C) 2003 Andreas Nahr
8 //
9 // NOTE:
10 // Ensure that every constant is defined for every version symbol!
13 // This class contains constants that are dependent on the defined symbols
14 // Use it to shorten and make code more maintainable in situations like:
16 //#if (NET_1_0)
17 // [Designer ("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof (IDesigner))]
18 //#endif
19 //#if (NET_1_1)
20 // [Designer ("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof (IDesigner))]
21 //#endif
23 // by changing them into:
25 // [Designer ("System.Diagnostics.Design.ProcessDesigner, " + Consts.AssemblySystem_Design, typeof (IDesigner))]
28 internal sealed class Consts
31 private Consts ()
35 #if (NET_1_0)
37 public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
39 #elif (NET_2_0)
41 public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
43 #else
44 // NET_1_1 is seen as default if somebody 'forgets' to specify any of the symbols
45 // to ensure we are not breaking the build in this case
47 public const string AssemblySystem_Windows_Forms = "System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
49 #endif