[mono-vb] Globals patch
Rob.Tillie@Student.tUL.EDU
Rob.Tillie@Student.tUL.EDU
Sat, 19 Jun 2004 10:50:55 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C455DA.886A35F0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C455DA.886A35F0"
------_=_NextPart_001_01C455DA.886A35F0
Content-Type: text/plain
Hello,
I fixed globals according to the class status page, turned the methods into
properties.
The file shows 100% completed now.
Greetz,
-- Rob.
------_=_NextPart_001_01C455DA.886A35F0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I fixed globals according to the class status page, =
turned
the methods into properties.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The file shows 100% completed =
now.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Greetz,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>-- Rob.<o:p></o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C455DA.886A35F0--
------_=_NextPart_000_01C455DA.886A35F0
Content-Type: application/octet-stream;
name="Globals.patch"
Content-Disposition: attachment;
filename="Globals.patch"
Index: class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs
===================================================================
RCS file: /mono/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs,v
retrieving revision 1.4
diff -u -r1.4 Globals.cs
--- class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs 27 Mar 2004 06:07:15 -0000 1.4
+++ class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs 19 Jun 2004 08:44:39 -0000
@@ -36,21 +36,30 @@
[Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]
sealed public class Globals {
+
+ // prevent public constructor
+ private Globals ()
+ {
+ }
- public static string ScriptEngine() {
- return "VB";
+ public static string ScriptEngine
+ {
+ get { return "VB"; }
}
- public static int ScriptEngineMajorVersion() {
- return 7;
+ public static int ScriptEngineMajorVersion
+ {
+ get { return 7; }
}
- public static int ScriptEngineMinorVersion() {
- return 0;
+ public static int ScriptEngineMinorVersion
+ {
+ get { return 0; }
}
- public static int ScriptEngineBuildVersion() {
- return 0;
+ public static int ScriptEngineBuildVersion
+ {
+ get { return 0; }
}
}
}
------_=_NextPart_000_01C455DA.886A35F0--