* Microsoft.VisualBasic.dll.sources: Added DefaultArgumentValueAttribute.cs
[mono.git] / mcs / class / Microsoft.VisualBasic / Microsoft.VisualBasic / Globals.cs
1 //
2 // Globals.cs
3 //
4 // Author:
5 //      Chris J Breisch (cjbreisch@altavista.net) 
6 //      Dennis Hayes (dennish@raytek.com)
7 //      
8 // (C) 2002 Chris J Breisch
9 // 
10 //
11  /*
12   * Copyright (c) 2002-2003 Mainsoft Corporation.
13   * Copyright (C) 2004 Novell, Inc (http://www.novell.com)
14   *
15   * Permission is hereby granted, free of charge, to any person obtaining a
16   * copy of this software and associated documentation files (the "Software"),
17   * to deal in the Software without restriction, including without limitation
18   * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19   * and/or sell copies of the Software, and to permit persons to whom the
20   * Software is furnished to do so, subject to the following conditions:
21   * 
22   * The above copyright notice and this permission notice shall be included in
23   * all copies or substantial portions of the Software.
24   * 
25   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
30   * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
31   * DEALINGS IN THE SOFTWARE.
32   */
33
34 using System;
35 using Microsoft.VisualBasic.CompilerServices;
36
37 namespace Microsoft.VisualBasic {
38
39         [StandardModule]
40         sealed public class Globals     {
41                 
42                 // prevent public constructor
43                 private Globals ()
44                 {
45                 }
46
47                 public static string ScriptEngine 
48                 {
49                         get { return "VB"; }
50                 }
51
52                 public static int ScriptEngineMajorVersion 
53                 {
54                         get { return 7; }
55                 }
56
57                 public static int ScriptEngineMinorVersion 
58                 {
59                         get { return 0; }
60                 }
61
62                 public static int ScriptEngineBuildVersion
63                 {
64                         get { return 0; }
65                 }
66         }
67 }
68