Files
mono/mcs/class/System.Data.OracleClient/Assembly/Consts.cs
T
Gert Driesen 187b6e8dd9 * Consts.cs: Added
svn path=/trunk/mcs/; revision=29937
2004-06-19 10:42:34 +00:00

48 lines
1.4 KiB
C#

//
// Consts.cs
//
// Author:
// Andreas Nahr ([email protected])
//
// (C) 2003 Andreas Nahr
//
// NOTE:
// Ensure that every constant is defined for every version symbol!
//
// This class contains constants that are dependent on the defined symbols
// Use it to shorten and make code more maintainable in situations like:
//
//#if (NET_1_0)
// [Designer ("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof (IDesigner))]
//#endif
//#if (NET_1_1)
// [Designer ("System.Diagnostics.Design.ProcessDesigner, System.Design, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof (IDesigner))]
//#endif
//
// by changing them into:
//
// [Designer ("System.Diagnostics.Design.ProcessDesigner, " + Consts.AssemblySystem_Design, typeof (IDesigner))]
//
internal sealed class Consts
{
private Consts ()
{
}
#if (NET_2_0)
public const string AssemblyMicrosoft_VSDesigner = "Microsoft.VSDesigner, Version=8.0.1200.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
#else
// NET_1_1 is seen as default if somebody 'forgets' to specify any of the symbols
// to ensure we are not breaking the build in this case
public const string AssemblyMicrosoft_VSDesigner = "Microsoft.VSDesigner, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a";
#endif
}