[mono-vb] vbNewLine to be platform dependent?
Jochen Wezel
jwezel@compumaster.de
Thu, 22 Jul 2004 09:12:34 +0200
This is a multi-part message in MIME format.
------_=_NextPart_001_01C46FBB.4325FE28
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Jambunathan and all the other VB gurus!
=20
> +namespace Microsoft.VisualBasic {
> + =
[Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]
> + sealed public class Constants {
> + // Declarations
> + public const System.Int32 vbObjectError =3D =
(System.Int32)(-2147221504);
> + public const System.String vbCrLf =3D "\r\n";
> + public const System.String vbNewLine =3D "\r\n";
> + public const System.String vbCr =3D "\r";
> + public const System.String vbLf =3D "\n";
I would prefer to see the constant vbNewLine to be a platform dependent =
line break.
=20
(If I remember correctly, Microsoft itself was telling in the tooltip =
text/intellisense of this constant, that this vbnewline was intended to =
be the the platform dependent line break.)=20
=20
Certainly, the test case for this constant had to be fixed, too.
That's why I recommend something like that.
# if PLATFORM_LINUX {
public const System.String vbNewLine =3D "\n";
# } else if PLATFORM_UNIX {
public const System.String vbNewLine =3D "\n";
# } else if PLATFORM_MAC {
public const System.String vbNewLine =3D "\r";
# } else { // PLATFORM_WINDOWS
public const System.String vbNewLine =3D "\r\n";
# }
=20
What do you think about?
=20
Regards
Jochen
________________________________
Von: mono-patches-admin@ximian.com im Auftrag von Jambunathan =
Jambunathan <kjambunathan@novell.com>
Gesendet: Do 22.07.2004 06:39
An: mono-patches@lists.ximian.com
Betreff: [Mono-patches] =
mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic =
Constants.cs,1.5,1.5.2.1 ChangeLog,1.43,1.43.2.1
Update of =
/cvs/public/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic
In directory mono-cvs.ximian.com:/tmp/cvs-serv9235
Modified Files:
Tag: mono-1-0
Constants.cs ChangeLog
Log Message:
Fixed definitions of vbCr, vbLf, vbCrLf and
vbNewLine
Index: Constants.cs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: =
/cvs/public/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Constan=
ts.cs,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -d -r1.5 -r1.5.2.1
--- Constants.cs 24 Jun 2004 14:06:50 -0000 1.5
+++ Constants.cs 22 Jul 2004 04:39:48 -0000 1.5.2.1
@@ -1,11 +1,11 @@
-//
-// Constants.cs
-//
-// Author:
-// Chris J Breisch (cjbreisch@altavista.net)
-//
-// (C) 2002 Chris J Breisch
-//
+//
+// Constants.cs
+//
+// Author:
+// Chris J Breisch (cjbreisch@altavista.net)
+//
+// (C) 2002 Chris J Breisch
+//
//
// Copyright (c) 2002-2003 Mainsoft Corporation.
@@ -30,131 +30,131 @@
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN =
CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-
-using System;
-
-namespace Microsoft.VisualBasic {
- [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]
- sealed public class Constants {
- // Declarations
- public const System.Int32 vbObjectError =3D =
(System.Int32)(-2147221504);
- public const System.String vbCrLf =3D "\n\r";
- public const System.String vbNewLine =3D "\n\r";
- public const System.String vbCr =3D "\n";
- public const System.String vbLf =3D "\r";
- public const System.String vbBack =3D "\b";
- public const System.String vbFormFeed =3D "\f";
- public const System.String vbTab =3D "\t";
- public const System.String vbVerticalTab =3D "\v";
- public const System.String vbNullChar =3D "\0";
- public const System.String vbNullString =3D "";
-
- public const AppWinStyle vbHide =3D AppWinStyle.Hide;
- public const AppWinStyle vbNormalFocus =3D =
AppWinStyle.NormalFocus;
- public const AppWinStyle vbMinimizedFocus =3D =
AppWinStyle.MinimizedFocus;
- public const AppWinStyle vbMaximizedFocus =3D =
AppWinStyle.MaximizedFocus;
- public const AppWinStyle vbNormalNoFocus =3D =
AppWinStyle.NormalNoFocus;
- public const AppWinStyle vbMinimizedNoFocus =3D =
AppWinStyle.MinimizedNoFocus;
-
- public const CallType vbMethod =3D CallType.Method;
- public const CallType vbGet =3D CallType.Get;
- public const CallType vbLet =3D CallType.Let;
- public const CallType vbSet =3D CallType.Set;
-
- public const CompareMethod vbBinaryCompare =3D =
CompareMethod.Binary;
- public const CompareMethod vbTextCompare =3D =
CompareMethod.Text;
-
- public const DateFormat vbGeneralDate =3D =
DateFormat.GeneralDate;
- public const DateFormat vbLongDate =3D =
DateFormat.LongDate;
- public const DateFormat vbShortDate =3D =
DateFormat.ShortDate;
- public const DateFormat vbLongTime =3D =
DateFormat.LongTime;
- public const DateFormat vbShortTime =3D =
DateFormat.ShortTime;
-
- public const FirstDayOfWeek vbUseSystemDayOfWeek =3D =
FirstDayOfWeek.System;
- public const FirstDayOfWeek vbSunday =3D =
FirstDayOfWeek.Sunday;
- public const FirstDayOfWeek vbMonday =3D =
FirstDayOfWeek.Monday;
- public const FirstDayOfWeek vbTuesday =3D =
FirstDayOfWeek.Tuesday;
- public const FirstDayOfWeek vbWednesday =3D =
FirstDayOfWeek.Wednesday;
- public const FirstDayOfWeek vbThursday =3D =
FirstDayOfWeek.Thursday;
- public const FirstDayOfWeek vbFriday =3D =
FirstDayOfWeek.Friday;
- public const FirstDayOfWeek vbSaturday =3D =
FirstDayOfWeek.Saturday;
-
- public const FileAttribute vbNormal =3D =
FileAttribute.Normal;
- public const FileAttribute vbReadOnly =3D =
FileAttribute.ReadOnly;
- public const FileAttribute vbHidden =3D =
FileAttribute.Hidden;
- public const FileAttribute vbSystem =3D =
FileAttribute.System;
- public const FileAttribute vbVolume =3D =
FileAttribute.Volume;
- public const FileAttribute vbDirectory =3D =
FileAttribute.Directory;
- public const FileAttribute vbArchive =3D =
FileAttribute.Archive;
-
- public const FirstWeekOfYear vbUseSystem =3D =
FirstWeekOfYear.System;
- public const FirstWeekOfYear vbFirstJan1 =3D =
FirstWeekOfYear.Jan1;
- public const FirstWeekOfYear vbFirstFourDays =3D =
FirstWeekOfYear.FirstFourDays;
- public const FirstWeekOfYear vbFirstFullWeek =3D =
FirstWeekOfYear.FirstFullWeek;
-
- public const VbStrConv vbUpperCase =3D =
VbStrConv.UpperCase;
- public const VbStrConv vbLowerCase =3D =
VbStrConv.LowerCase;
- public const VbStrConv vbProperCase =3D =
VbStrConv.ProperCase;
- public const VbStrConv vbWide =3D VbStrConv.Wide;
- public const VbStrConv vbNarrow =3D VbStrConv.Narrow;
- public const VbStrConv vbKatakana =3D =
VbStrConv.Katakana;
- public const VbStrConv vbHiragana =3D =
VbStrConv.Hiragana;
- public const VbStrConv vbSimplifiedChinese =3D =
VbStrConv.SimplifiedChinese;
- public const VbStrConv vbTraditionalChinese =3D =
VbStrConv.TraditionalChinese;
- public const VbStrConv vbLinguisticCasing =3D =
VbStrConv.LinguisticCasing;
-
- public const TriState vbUseDefault =3D =
TriState.UseDefault;
- public const TriState vbTrue =3D TriState.True;
- public const TriState vbFalse =3D TriState.False;
-
- public const VariantType vbEmpty =3D VariantType.Empty;
- public const VariantType vbNull =3D VariantType.Null;
- public const VariantType vbInteger =3D =
VariantType.Integer;
- public const VariantType vbLong =3D VariantType.Long;
- public const VariantType vbSingle =3D =
VariantType.Single;
- public const VariantType vbDouble =3D =
VariantType.Double;
- public const VariantType vbCurrency =3D =
VariantType.Currency;
- public const VariantType vbDate =3D VariantType.Date;
- public const VariantType vbString =3D =
VariantType.String;
- public const VariantType vbObject =3D =
VariantType.Object;
- public const VariantType vbBoolean =3D =
VariantType.Boolean;
- public const VariantType vbVariant =3D =
VariantType.Variant;
- public const VariantType vbDecimal =3D =
VariantType.Decimal;
- public const VariantType vbByte =3D VariantType.Byte;
- public const VariantType vbUserDefinedType =3D =
VariantType.UserDefinedType;
- public const VariantType vbArray =3D VariantType.Array;
-
- public const MsgBoxResult vbOK =3D MsgBoxResult.OK;
- public const MsgBoxResult vbCancel =3D =
MsgBoxResult.Cancel;
- public const MsgBoxResult vbAbort =3D =
MsgBoxResult.Abort;
- public const MsgBoxResult vbRetry =3D =
MsgBoxResult.Retry;
- public const MsgBoxResult vbIgnore =3D =
MsgBoxResult.Ignore;
- public const MsgBoxResult vbYes =3D MsgBoxResult.Yes;
- public const MsgBoxResult vbNo =3D MsgBoxResult.No;
-
- public const MsgBoxStyle vbOKOnly =3D =
MsgBoxStyle.OKOnly;
- public const MsgBoxStyle vbOKCancel =3D =
MsgBoxStyle.OKCancel;
- public const MsgBoxStyle vbAbortRetryIgnore =3D =
MsgBoxStyle.AbortRetryIgnore;
- public const MsgBoxStyle vbYesNoCancel =3D =
MsgBoxStyle.YesNoCancel;
- public const MsgBoxStyle vbYesNo =3D MsgBoxStyle.YesNo;
- public const MsgBoxStyle vbRetryCancel =3D =
MsgBoxStyle.RetryCancel;
- public const MsgBoxStyle vbCritical =3D =
MsgBoxStyle.Critical;
- public const MsgBoxStyle vbQuestion =3D =
MsgBoxStyle.Question;
- public const MsgBoxStyle vbExclamation =3D =
MsgBoxStyle.Exclamation;
- public const MsgBoxStyle vbInformation =3D =
MsgBoxStyle.Information;
- public const MsgBoxStyle vbDefaultButton1 =3D =
MsgBoxStyle.DefaultButton1;
- public const MsgBoxStyle vbDefaultButton2 =3D =
MsgBoxStyle.DefaultButton2;
- public const MsgBoxStyle vbDefaultButton3 =3D =
MsgBoxStyle.DefaultButton3;
- public const MsgBoxStyle vbApplicationModal =3D =
MsgBoxStyle.ApplicationModal;
- public const MsgBoxStyle vbSystemModal =3D =
MsgBoxStyle.SystemModal;
- public const MsgBoxStyle vbMsgBoxHelp =3D =
MsgBoxStyle.MsgBoxHelp;
- public const MsgBoxStyle vbMsgBoxRight =3D =
MsgBoxStyle.MsgBoxRight;
- public const MsgBoxStyle vbMsgBoxRtlReading =3D =
MsgBoxStyle.MsgBoxRtlReading;
- public const MsgBoxStyle vbMsgBoxSetForeground =3D =
MsgBoxStyle.MsgBoxSetForeground;
-
- // Constructors
- // Properties
- // Methods
- // Events
- };
-}
+
+using System;
+
+namespace Microsoft.VisualBasic {
+ [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]
+ sealed public class Constants {
+ // Declarations
+ public const System.Int32 vbObjectError =3D =
(System.Int32)(-2147221504);
+ public const System.String vbCrLf =3D "\r\n";
+ public const System.String vbNewLine =3D "\r\n";
+ public const System.String vbCr =3D "\r";
+ public const System.String vbLf =3D "\n";
+ public const System.String vbBack =3D "\b";
+ public const System.String vbFormFeed =3D "\f";
+ public const System.String vbTab =3D "\t";
+ public const System.String vbVerticalTab =3D "\v";
+ public const System.String vbNullChar =3D "\0";
+ public const System.String vbNullString =3D "";
+
+ public const AppWinStyle vbHide =3D AppWinStyle.Hide;
+ public const AppWinStyle vbNormalFocus =3D =
AppWinStyle.NormalFocus;
+ public const AppWinStyle vbMinimizedFocus =3D =
AppWinStyle.MinimizedFocus;
+ public const AppWinStyle vbMaximizedFocus =3D =
AppWinStyle.MaximizedFocus;
+ public const AppWinStyle vbNormalNoFocus =3D =
AppWinStyle.NormalNoFocus;
+ public const AppWinStyle vbMinimizedNoFocus =3D =
AppWinStyle.MinimizedNoFocus;
+
+ public const CallType vbMethod =3D CallType.Method;
+ public const CallType vbGet =3D CallType.Get;
+ public const CallType vbLet =3D CallType.Let;
+ public const CallType vbSet =3D CallType.Set;
+
+ public const CompareMethod vbBinaryCompare =3D =
CompareMethod.Binary;
+ public const CompareMethod vbTextCompare =3D =
CompareMethod.Text;
+
+ public const DateFormat vbGeneralDate =3D =
DateFormat.GeneralDate;
+ public const DateFormat vbLongDate =3D =
DateFormat.LongDate;
+ public const DateFormat vbShortDate =3D =
DateFormat.ShortDate;
+ public const DateFormat vbLongTime =3D =
DateFormat.LongTime;
+ public const DateFormat vbShortTime =3D =
DateFormat.ShortTime;
+
+ public const FirstDayOfWeek vbUseSystemDayOfWeek =3D =
FirstDayOfWeek.System;
+ public const FirstDayOfWeek vbSunday =3D =
FirstDayOfWeek.Sunday;
+ public const FirstDayOfWeek vbMonday =3D =
FirstDayOfWeek.Monday;
+ public const FirstDayOfWeek vbTuesday =3D =
FirstDayOfWeek.Tuesday;
+ public const FirstDayOfWeek vbWednesday =3D =
FirstDayOfWeek.Wednesday;
+ public const FirstDayOfWeek vbThursday =3D =
FirstDayOfWeek.Thursday;
+ public const FirstDayOfWeek vbFriday =3D =
FirstDayOfWeek.Friday;
+ public const FirstDayOfWeek vbSaturday =3D =
FirstDayOfWeek.Saturday;
+
+ public const FileAttribute vbNormal =3D =
FileAttribute.Normal;
+ public const FileAttribute vbReadOnly =3D =
FileAttribute.ReadOnly;
+ public const FileAttribute vbHidden =3D =
FileAttribute.Hidden;
+ public const FileAttribute vbSystem =3D =
FileAttribute.System;
+ public const FileAttribute vbVolume =3D =
FileAttribute.Volume;
+ public const FileAttribute vbDirectory =3D =
FileAttribute.Directory;
+ public const FileAttribute vbArchive =3D =
FileAttribute.Archive;
+
+ public const FirstWeekOfYear vbUseSystem =3D =
FirstWeekOfYear.System;
+ public const FirstWeekOfYear vbFirstJan1 =3D =
FirstWeekOfYear.Jan1;
+ public const FirstWeekOfYear vbFirstFourDays =3D =
FirstWeekOfYear.FirstFourDays;
+ public const FirstWeekOfYear vbFirstFullWeek =3D =
FirstWeekOfYear.FirstFullWeek;
+
+ public const VbStrConv vbUpperCase =3D =
VbStrConv.UpperCase;
+ public const VbStrConv vbLowerCase =3D =
VbStrConv.LowerCase;
+ public const VbStrConv vbProperCase =3D =
VbStrConv.ProperCase;
+ public const VbStrConv vbWide =3D VbStrConv.Wide;
+ public const VbStrConv vbNarrow =3D VbStrConv.Narrow;
+ public const VbStrConv vbKatakana =3D =
VbStrConv.Katakana;
+ public const VbStrConv vbHiragana =3D =
VbStrConv.Hiragana;
+ public const VbStrConv vbSimplifiedChinese =3D =
VbStrConv.SimplifiedChinese;
+ public const VbStrConv vbTraditionalChinese =3D =
VbStrConv.TraditionalChinese;
+ public const VbStrConv vbLinguisticCasing =3D =
VbStrConv.LinguisticCasing;
+
+ public const TriState vbUseDefault =3D =
TriState.UseDefault;
+ public const TriState vbTrue =3D TriState.True;
+ public const TriState vbFalse =3D TriState.False;
+
+ public const VariantType vbEmpty =3D VariantType.Empty;
+ public const VariantType vbNull =3D VariantType.Null;
+ public const VariantType vbInteger =3D =
VariantType.Integer;
+ public const VariantType vbLong =3D VariantType.Long;
+ public const VariantType vbSingle =3D =
VariantType.Single;
+ public const VariantType vbDouble =3D =
VariantType.Double;
+ public const VariantType vbCurrency =3D =
VariantType.Currency;
+ public const VariantType vbDate =3D VariantType.Date;
+ public const VariantType vbString =3D =
VariantType.String;
+ public const VariantType vbObject =3D =
VariantType.Object;
+ public const VariantType vbBoolean =3D =
VariantType.Boolean;
+ public const VariantType vbVariant =3D =
VariantType.Variant;
+ public const VariantType vbDecimal =3D =
VariantType.Decimal;
+ public const VariantType vbByte =3D VariantType.Byte;
+ public const VariantType vbUserDefinedType =3D =
VariantType.UserDefinedType;
+ public const VariantType vbArray =3D VariantType.Array;
+
+ public const MsgBoxResult vbOK =3D MsgBoxResult.OK;
+ public const MsgBoxResult vbCancel =3D =
MsgBoxResult.Cancel;
+ public const MsgBoxResult vbAbort =3D =
MsgBoxResult.Abort;
+ public const MsgBoxResult vbRetry =3D =
MsgBoxResult.Retry;
+ public const MsgBoxResult vbIgnore =3D =
MsgBoxResult.Ignore;
+ public const MsgBoxResult vbYes =3D MsgBoxResult.Yes;
+ public const MsgBoxResult vbNo =3D MsgBoxResult.No;
+
+ public const MsgBoxStyle vbOKOnly =3D =
MsgBoxStyle.OKOnly;
+ public const MsgBoxStyle vbOKCancel =3D =
MsgBoxStyle.OKCancel;
+ public const MsgBoxStyle vbAbortRetryIgnore =3D =
MsgBoxStyle.AbortRetryIgnore;
+ public const MsgBoxStyle vbYesNoCancel =3D =
MsgBoxStyle.YesNoCancel;
+ public const MsgBoxStyle vbYesNo =3D MsgBoxStyle.YesNo;
+ public const MsgBoxStyle vbRetryCancel =3D =
MsgBoxStyle.RetryCancel;
+ public const MsgBoxStyle vbCritical =3D =
MsgBoxStyle.Critical;
+ public const MsgBoxStyle vbQuestion =3D =
MsgBoxStyle.Question;
+ public const MsgBoxStyle vbExclamation =3D =
MsgBoxStyle.Exclamation;
+ public const MsgBoxStyle vbInformation =3D =
MsgBoxStyle.Information;
+ public const MsgBoxStyle vbDefaultButton1 =3D =
MsgBoxStyle.DefaultButton1;
+ public const MsgBoxStyle vbDefaultButton2 =3D =
MsgBoxStyle.DefaultButton2;
+ public const MsgBoxStyle vbDefaultButton3 =3D =
MsgBoxStyle.DefaultButton3;
+ public const MsgBoxStyle vbApplicationModal =3D =
MsgBoxStyle.ApplicationModal;
+ public const MsgBoxStyle vbSystemModal =3D =
MsgBoxStyle.SystemModal;
+ public const MsgBoxStyle vbMsgBoxHelp =3D =
MsgBoxStyle.MsgBoxHelp;
+ public const MsgBoxStyle vbMsgBoxRight =3D =
MsgBoxStyle.MsgBoxRight;
+ public const MsgBoxStyle vbMsgBoxRtlReading =3D =
MsgBoxStyle.MsgBoxRtlReading;
+ public const MsgBoxStyle vbMsgBoxSetForeground =3D =
MsgBoxStyle.MsgBoxSetForeground;
+
+ // Constructors
+ // Properties
+ // Methods
+ // Events
+ };
+}
Index: ChangeLog
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: =
/cvs/public/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ChangeL=
og,v
retrieving revision 1.43
retrieving revision 1.43.2.1
diff -u -d -r1.43 -r1.43.2.1
--- ChangeLog 24 Jun 2004 16:56:07 -0000 1.43
+++ ChangeLog 22 Jul 2004 04:39:48 -0000 1.43.2.1
@@ -1,3 +1,8 @@
+2004-07-22 Jambunathan K <kjambunathan@novell.com>
+
+ * Constants.cs: Fixed definitions of vbCr, vbLf, vbCrLf and
+ vbNewLine
+
2004-06-24 Jambunathan K <kjambunathan@novell.com>
* RandomVBFile.cs: Fixed FileGet() for Date and Decimal types
* FileSystem.cs: Fixed ChDir, FileCopy
_______________________________________________
Mono-patches maillist - Mono-patches@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches
------_=_NextPart_001_01C46FBB.4325FE28
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">=0A=
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">=0A=
<HTML>=0A=
<HEAD>=0A=
=0A=
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7226.0">=0A=
<TITLE>[Mono-patches] =
mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic =
Constants.cs,1.5,1.5.2.1 ChangeLog,1.43,1.43.2.1</TITLE>=0A=
</HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText39737 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Hi =
Jambunathan and all the =0A=
other VB gurus!</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT> </DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>> +namespace =
Microsoft.VisualBasic =0A=
{<BR>> + =0A=
[Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]<BR>> =0A=
+ sealed public class Constants =
{<BR>> =0A=
+ =
=0A=
// Declarations<BR>> + =0A=
public const System.Int32 =0A=
vbObjectError =3D (System.Int32)(-2147221504);<BR>> =0A=
+ =
=0A=
public const System.String vbCrLf =3D "\r\n";<BR>> =0A=
+ =
=0A=
public const System.String vbNewLine =3D "\r\n";<BR>> =0A=
+ =
=0A=
public const System.String vbCr =3D "\r";<BR>> =0A=
+ =
=0A=
public const System.String vbLf =3D "\n";<BR></FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>I would prefer to see =
the constant =0A=
vbNewLine to be a platform dependent line break.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT> </DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>(If I remember correctly, =
Microsoft itself =0A=
was telling in the tooltip text/intellisense of this constant, that this =0A=
vbnewline was intended to be the the platform dependent line =
break.) =0A=
</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT> </DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Certainly, the test case for =
this constant =0A=
had to be fixed, too.<BR></FONT></DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>That's why I recommend =
something like =0A=
that.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3D"Courier New" size=3D2># if PLATFORM_LINUX =
{</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3D"Courier New" =0A=
size=3D2> &nbs=
p; =0A=
public const System.String vbNewLine =3D "\n";<BR># } else if =
PLATFORM_UNIX =0A=
{</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3D"Courier New" =0A=
size=3D2> &nbs=
p; =0A=
public const System.String vbNewLine =3D "\n";<BR># } else if =
PLATFORM_MAC =0A=
{</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3D"Courier New" =0A=
size=3D2> &nbs=
p; =0A=
public const System.String vbNewLine =3D "\r";<BR># } else { // =0A=
PLATFORM_WINDOWS</FONT></DIV></DIV></DIV>=0A=
<DIV dir=3Dltr><FONT face=3D"Courier New" =0A=
size=3D2> &nbs=
p; =0A=
public const System.String vbNewLine =3D "\r\n";<BR># }</FONT></DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT> </DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>What do you think =
about?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT> </DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Regards</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Jochen</FONT></DIV><BR></DIV>=0A=
<DIV dir=3Dltr>=0A=
<HR tabIndex=3D-1>=0A=
</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DTahoma size=3D2><B>Von:</B> =
mono-patches-admin@ximian.com =0A=
im Auftrag von Jambunathan Jambunathan =0A=
<kjambunathan@novell.com><BR><B>Gesendet:</B> Do 22.07.2004 =0A=
06:39<BR><B>An:</B> mono-patches@lists.ximian.com<BR><B>Betreff:</B> =0A=
[Mono-patches] mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic =0A=
Constants.cs,1.5,1.5.2.1 ChangeLog,1.43,1.43.2.1<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<P><FONT size=3D2>Update of =0A=
/cvs/public/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic<BR>In =0A=
directory mono-cvs.ximian.com:/tmp/cvs-serv9235<BR><BR>Modified =0A=
Files:<BR> Tag: =0A=
mono-1-0<BR> Constants.cs =0A=
ChangeLog<BR>Log Message:<BR>Fixed definitions of vbCr, vbLf, vbCrLf =0A=
and<BR>vbNewLine<BR><BR><BR>Index: =0A=
Constants.cs<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>=
RCS =0A=
file: =0A=
/cvs/public/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Constan=
ts.cs,v<BR>retrieving =0A=
revision 1.5<BR>retrieving revision 1.5.2.1<BR>diff -u -d -r1.5 =
-r1.5.2.1<BR>--- =0A=
Constants.cs 24 Jun 2004 =
14:06:50 =0A=
-0000 1.5<BR>+++ =0A=
Constants.cs 22 Jul 2004 =
04:39:48 =0A=
-0000 1.5.2.1<BR>@@ -1,11 +1,11 =
@@<BR>-//<BR>-// =0A=
Constants.cs<BR>-//<BR>-// Author:<BR>-// Chris J Breisch =0A=
(cjbreisch@altavista.net)<BR>-//<BR>-// (C) 2002 Chris J =0A=
Breisch<BR>-//<BR>+//<BR>+// Constants.cs<BR>+//<BR>+// =0A=
Author:<BR>+// Chris J Breisch =0A=
(cjbreisch@altavista.net)<BR>+//<BR>+// (C) 2002 Chris J =0A=
Breisch<BR>+//<BR><BR> //<BR> // Copyright (c) 2002-2003 =
Mainsoft =0A=
Corporation.<BR>@@ -30,131 +30,131 @@<BR> // OF CONTRACT, TORT OR =0A=
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION<BR> // WITH THE =
SOFTWARE =0A=
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.<BR> //<BR>-<BR>-using =0A=
System;<BR>-<BR>-namespace Microsoft.VisualBasic =0A=
{<BR>- =0A=
[Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]<BR>-&nbs=
p; =0A=
sealed public class Constants {<BR>- =0A=
// =0A=
Declarations<BR>- =0A=
public const System.Int32 =0A=
vbObjectError =3D =0A=
(System.Int32)(-2147221504);<BR>- =0A=
public const System.String =
vbCrLf =3D =0A=
"\n\r";<BR>- =0A=
public const System.String =
vbNewLine =0A=
=3D "\n\r";<BR>- =0A=
public const System.String =
vbCr =3D =0A=
"\n";<BR>- =0A=
public const System.String =
vbLf =3D =0A=
"\r";<BR>- =0A=
public const System.String =
vbBack =3D =0A=
"\b";<BR>- =0A=
public const System.String =
vbFormFeed =0A=
=3D "\f";<BR>- =0A=
public const System.String =
vbTab =3D =0A=
"\t";<BR>- =0A=
public const System.String =0A=
vbVerticalTab =3D "\v";<BR>- =0A=
public const System.String =
vbNullChar =0A=
=3D "\0";<BR>- =0A=
public const System.String =0A=
vbNullString =3D "";<BR>-<BR>- =0A=
public const AppWinStyle =
vbHide =3D =0A=
AppWinStyle.Hide;<BR>- =0A=
public const AppWinStyle =0A=
vbNormalFocus =3D =0A=
AppWinStyle.NormalFocus;<BR>- =0A=
public const AppWinStyle =0A=
vbMinimizedFocus =3D =0A=
AppWinStyle.MinimizedFocus;<BR>- =0A=
public const AppWinStyle =0A=
vbMaximizedFocus =3D =0A=
AppWinStyle.MaximizedFocus;<BR>- =0A=
public const AppWinStyle =0A=
vbNormalNoFocus =3D =0A=
AppWinStyle.NormalNoFocus;<BR>- =0A=
public const AppWinStyle =0A=
vbMinimizedNoFocus =3D =0A=
AppWinStyle.MinimizedNoFocus;<BR>-<BR>- &nbs=
p; =0A=
public const CallType =
vbMethod =3D =0A=
CallType.Method;<BR>- =0A=
public const CallType vbGet =
=3D =0A=
CallType.Get;<BR>- =0A=
public const CallType vbLet =
=3D =0A=
CallType.Let;<BR>- =0A=
public const CallType vbSet =
=3D =0A=
CallType.Set;<BR>-<BR>- =0A=
public const CompareMethod =0A=
vbBinaryCompare =3D =
CompareMethod.Binary;<BR>- =0A=
public const CompareMethod =0A=
vbTextCompare =3D =0A=
CompareMethod.Text;<BR>-<BR>- =0A=
public const DateFormat =
vbGeneralDate =0A=
=3D DateFormat.GeneralDate;<BR>- =0A=
public const DateFormat =
vbLongDate =3D =0A=
DateFormat.LongDate;<BR>- =0A=
public const DateFormat =
vbShortDate =3D =0A=
DateFormat.ShortDate;<BR>- =0A=
public const DateFormat =
vbLongTime =3D =0A=
DateFormat.LongTime;<BR>- =0A=
public const DateFormat =
vbShortTime =3D =0A=
DateFormat.ShortTime;<BR>-<BR>- =0A=
public const FirstDayOfWeek =0A=
vbUseSystemDayOfWeek =3D =0A=
FirstDayOfWeek.System;<BR>- =0A=
public const FirstDayOfWeek =
vbSunday =0A=
=3D FirstDayOfWeek.Sunday;<BR>- =0A=
public const FirstDayOfWeek =
vbMonday =0A=
=3D FirstDayOfWeek.Monday;<BR>- =0A=
public const FirstDayOfWeek =
vbTuesday =0A=
=3D FirstDayOfWeek.Tuesday;<BR>- =0A=
public const FirstDayOfWeek =0A=
vbWednesday =3D =
FirstDayOfWeek.Wednesday;<BR>- =0A=
public const FirstDayOfWeek =0A=
vbThursday =3D =
FirstDayOfWeek.Thursday;<BR>- =0A=
public const FirstDayOfWeek =
vbFriday =0A=
=3D FirstDayOfWeek.Friday;<BR>- =0A=
public const FirstDayOfWeek =0A=
vbSaturday =3D =0A=
FirstDayOfWeek.Saturday;<BR>-<BR>- =0A=
public const FileAttribute =
vbNormal =3D =0A=
FileAttribute.Normal;<BR>- =0A=
public const FileAttribute =
vbReadOnly =0A=
=3D FileAttribute.ReadOnly;<BR>- =0A=
public const FileAttribute =
vbHidden =3D =0A=
FileAttribute.Hidden;<BR>- =0A=
public const FileAttribute =
vbSystem =3D =0A=
FileAttribute.System;<BR>- =0A=
public const FileAttribute =
vbVolume =3D =0A=
FileAttribute.Volume;<BR>- =0A=
public const FileAttribute =0A=
vbDirectory =3D =
FileAttribute.Directory;<BR>- =0A=
public const FileAttribute =
vbArchive =0A=
=3D FileAttribute.Archive;<BR>-<BR>- =0A=
public const FirstWeekOfYear =0A=
vbUseSystem =3D =
FirstWeekOfYear.System;<BR>- =0A=
public const FirstWeekOfYear =0A=
vbFirstJan1 =3D =
FirstWeekOfYear.Jan1;<BR>- =0A=
public const FirstWeekOfYear =0A=
vbFirstFourDays =3D =0A=
FirstWeekOfYear.FirstFourDays;<BR>- =0A=
public const FirstWeekOfYear =0A=
vbFirstFullWeek =3D =0A=
FirstWeekOfYear.FirstFullWeek;<BR>-<BR>- &nb=
sp; =0A=
public const VbStrConv =
vbUpperCase =3D =0A=
VbStrConv.UpperCase;<BR>- =0A=
public const VbStrConv =
vbLowerCase =3D =0A=
VbStrConv.LowerCase;<BR>- =0A=
public const VbStrConv =
vbProperCase =3D =0A=
VbStrConv.ProperCase;<BR>- =0A=
public const VbStrConv vbWide =
=3D =0A=
VbStrConv.Wide;<BR>- =0A=
public const VbStrConv =
vbNarrow =3D =0A=
VbStrConv.Narrow;<BR>- =0A=
public const VbStrConv =
vbKatakana =3D =0A=
VbStrConv.Katakana;<BR>- =0A=
public const VbStrConv =
vbHiragana =3D =0A=
VbStrConv.Hiragana;<BR>- =0A=
public const VbStrConv =0A=
vbSimplifiedChinese =3D =0A=
VbStrConv.SimplifiedChinese;<BR>- =0A=
public const VbStrConv =0A=
vbTraditionalChinese =3D =0A=
VbStrConv.TraditionalChinese;<BR>- =0A=
public const VbStrConv =0A=
vbLinguisticCasing =3D =0A=
VbStrConv.LinguisticCasing;<BR>-<BR>- =
=0A=
public const TriState =
vbUseDefault =3D =0A=
TriState.UseDefault;<BR>- =0A=
public const TriState vbTrue =
=3D =0A=
TriState.True;<BR>- =0A=
public const TriState vbFalse =
=3D =0A=
TriState.False;<BR>-<BR>- =0A=
public const VariantType =
vbEmpty =3D =0A=
VariantType.Empty;<BR>- =0A=
public const VariantType =
vbNull =3D =0A=
VariantType.Null;<BR>- =0A=
public const VariantType =
vbInteger =3D =0A=
VariantType.Integer;<BR>- =0A=
public const VariantType =
vbLong =3D =0A=
VariantType.Long;<BR>- =0A=
public const VariantType =
vbSingle =3D =0A=
VariantType.Single;<BR>- =0A=
public const VariantType =
vbDouble =3D =0A=
VariantType.Double;<BR>- =0A=
public const VariantType =
vbCurrency =3D =0A=
VariantType.Currency;<BR>- =0A=
public const VariantType =
vbDate =3D =0A=
VariantType.Date;<BR>- =0A=
public const VariantType =
vbString =3D =0A=
VariantType.String;<BR>- =0A=
public const VariantType =
vbObject =3D =0A=
VariantType.Object;<BR>- =0A=
public const VariantType =
vbBoolean =3D =0A=
VariantType.Boolean;<BR>- =0A=
public const VariantType =
vbVariant =3D =0A=
VariantType.Variant;<BR>- =0A=
public const VariantType =
vbDecimal =3D =0A=
VariantType.Decimal;<BR>- =0A=
public const VariantType =
vbByte =3D =0A=
VariantType.Byte;<BR>- =0A=
public const VariantType =0A=
vbUserDefinedType =3D =0A=
VariantType.UserDefinedType;<BR>- =0A=
public const VariantType =
vbArray =3D =0A=
VariantType.Array;<BR>-<BR>- =0A=
public const MsgBoxResult =
vbOK =3D =0A=
MsgBoxResult.OK;<BR>- =0A=
public const MsgBoxResult =
vbCancel =3D =0A=
MsgBoxResult.Cancel;<BR>- =0A=
public const MsgBoxResult =
vbAbort =3D =0A=
MsgBoxResult.Abort;<BR>- =0A=
public const MsgBoxResult =
vbRetry =3D =0A=
MsgBoxResult.Retry;<BR>- =0A=
public const MsgBoxResult =
vbIgnore =3D =0A=
MsgBoxResult.Ignore;<BR>- =0A=
public const MsgBoxResult =
vbYes =3D =0A=
MsgBoxResult.Yes;<BR>- =0A=
public const MsgBoxResult =
vbNo =3D =0A=
MsgBoxResult.No;<BR>-<BR>- =0A=
public const MsgBoxStyle =
vbOKOnly =3D =0A=
MsgBoxStyle.OKOnly;<BR>- =0A=
public const MsgBoxStyle =
vbOKCancel =3D =0A=
MsgBoxStyle.OKCancel;<BR>- =0A=
public const MsgBoxStyle =0A=
vbAbortRetryIgnore =3D =0A=
MsgBoxStyle.AbortRetryIgnore;<BR>- =0A=
public const MsgBoxStyle =0A=
vbYesNoCancel =3D =0A=
MsgBoxStyle.YesNoCancel;<BR>- =0A=
public const MsgBoxStyle =
vbYesNo =3D =0A=
MsgBoxStyle.YesNo;<BR>- =0A=
public const MsgBoxStyle =0A=
vbRetryCancel =3D =0A=
MsgBoxStyle.RetryCancel;<BR>- =0A=
public const MsgBoxStyle =
vbCritical =3D =0A=
MsgBoxStyle.Critical;<BR>- =0A=
public const MsgBoxStyle =
vbQuestion =3D =0A=
MsgBoxStyle.Question;<BR>- =0A=
public const MsgBoxStyle =0A=
vbExclamation =3D =0A=
MsgBoxStyle.Exclamation;<BR>- =0A=
public const MsgBoxStyle =0A=
vbInformation =3D =0A=
MsgBoxStyle.Information;<BR>- =0A=
public const MsgBoxStyle =0A=
vbDefaultButton1 =3D =0A=
MsgBoxStyle.DefaultButton1;<BR>- =0A=
public const MsgBoxStyle =0A=
vbDefaultButton2 =3D =0A=
MsgBoxStyle.DefaultButton2;<BR>- =0A=
public const MsgBoxStyle =0A=
vbDefaultButton3 =3D =0A=
MsgBoxStyle.DefaultButton3;<BR>- =0A=
public const MsgBoxStyle =0A=
vbApplicationModal =3D =0A=
MsgBoxStyle.ApplicationModal;<BR>- =0A=
public const MsgBoxStyle =0A=
vbSystemModal =3D =0A=
MsgBoxStyle.SystemModal;<BR>- =0A=
public const MsgBoxStyle =
vbMsgBoxHelp =0A=
=3D MsgBoxStyle.MsgBoxHelp;<BR>- =0A=
public const MsgBoxStyle =0A=
vbMsgBoxRight =3D =0A=
MsgBoxStyle.MsgBoxRight;<BR>- =0A=
public const MsgBoxStyle =0A=
vbMsgBoxRtlReading =3D =0A=
MsgBoxStyle.MsgBoxRtlReading;<BR>- =0A=
public const MsgBoxStyle =0A=
vbMsgBoxSetForeground =3D =0A=
MsgBoxStyle.MsgBoxSetForeground;<BR>-<BR>- &=
nbsp; =0A=
// =0A=
Constructors<BR>- =0A=
// =0A=
Properties<BR>- =0A=
// =0A=
Methods<BR>- =0A=
// =0A=
Events<BR>- };<BR>-}<BR>+<BR>+using =0A=
System;<BR>+<BR>+namespace Microsoft.VisualBasic =0A=
{<BR>+ =0A=
[Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute]<BR>+&nbs=
p; =0A=
sealed public class Constants {<BR>+ =0A=
// =0A=
Declarations<BR>+ =0A=
public const System.Int32 =0A=
vbObjectError =3D =0A=
(System.Int32)(-2147221504);<BR>+ =0A=
public const System.String =
vbCrLf =3D =0A=
"\r\n";<BR>+ =0A=
public const System.String =
vbNewLine =0A=
=3D "\r\n";<BR>+ =0A=
public const System.String =
vbCr =3D =0A=
"\r";<BR>+ =0A=
public const System.String =
vbLf =3D =0A=
"\n";<BR>+ =0A=
public const System.String =
vbBack =3D =0A=
"\b";<BR>+ =0A=
public const System.String =
vbFormFeed =0A=
=3D "\f";<BR>+ =0A=
public const System.String =
vbTab =3D =0A=
"\t";<BR>+ =0A=
public const System.String =0A=
vbVerticalTab =3D "\v";<BR>+ =0A=
public const System.String =
vbNullChar =0A=
=3D "\0";<BR>+ =0A=
public const System.String =0A=
vbNullString =3D "";<BR>+<BR>+ =0A=
public const AppWinStyle =
vbHide =3D =0A=
AppWinStyle.Hide;<BR>+ =0A=
public const AppWinStyle =0A=
vbNormalFocus =3D =0A=
AppWinStyle.NormalFocus;<BR>+ =0A=
public const AppWinStyle =0A=
vbMinimizedFocus =3D =0A=
AppWinStyle.MinimizedFocus;<BR>+ =0A=
public const AppWinStyle =0A=
vbMaximizedFocus =3D =0A=
AppWinStyle.MaximizedFocus;<BR>+ =0A=
public const AppWinStyle =0A=
vbNormalNoFocus =3D =0A=
AppWinStyle.NormalNoFocus;<BR>+ =0A=
public const AppWinStyle =0A=
vbMinimizedNoFocus =3D =0A=
AppWinStyle.MinimizedNoFocus;<BR>+<BR>+ &nbs=
p; =0A=
public const CallType =
vbMethod =3D =0A=
CallType.Method;<BR>+ =0A=
public const CallType vbGet =
=3D =0A=
CallType.Get;<BR>+ =0A=
public const CallType vbLet =
=3D =0A=
CallType.Let;<BR>+ =0A=
public const CallType vbSet =
=3D =0A=
CallType.Set;<BR>+<BR>+ =0A=
public const CompareMethod =0A=
vbBinaryCompare =3D =
CompareMethod.Binary;<BR>+ =0A=
public const CompareMethod =0A=
vbTextCompare =3D =0A=
CompareMethod.Text;<BR>+<BR>+ =0A=
public const DateFormat =
vbGeneralDate =0A=
=3D DateFormat.GeneralDate;<BR>+ =0A=
public const DateFormat =
vbLongDate =3D =0A=
DateFormat.LongDate;<BR>+ =0A=
public const DateFormat =
vbShortDate =3D =0A=
DateFormat.ShortDate;<BR>+ =0A=
public const DateFormat =
vbLongTime =3D =0A=
DateFormat.LongTime;<BR>+ =0A=
public const DateFormat =
vbShortTime =3D =0A=
DateFormat.ShortTime;<BR>+<BR>+ =0A=
public const FirstDayOfWeek =0A=
vbUseSystemDayOfWeek =3D =0A=
FirstDayOfWeek.System;<BR>+ =0A=
public const FirstDayOfWeek =
vbSunday =0A=
=3D FirstDayOfWeek.Sunday;<BR>+ =0A=
public const FirstDayOfWeek =
vbMonday =0A=
=3D FirstDayOfWeek.Monday;<BR>+ =0A=
public const FirstDayOfWeek =
vbTuesday =0A=
=3D FirstDayOfWeek.Tuesday;<BR>+ =0A=
public const FirstDayOfWeek =0A=
vbWednesday =3D =
FirstDayOfWeek.Wednesday;<BR>+ =0A=
public const FirstDayOfWeek =0A=
vbThursday =3D =
FirstDayOfWeek.Thursday;<BR>+ =0A=
public const FirstDayOfWeek =
vbFriday =0A=
=3D FirstDayOfWeek.Friday;<BR>+ =0A=
public const FirstDayOfWeek =0A=
vbSaturday =3D =0A=
FirstDayOfWeek.Saturday;<BR>+<BR>+ =0A=
public const FileAttribute =
vbNormal =3D =0A=
FileAttribute.Normal;<BR>+ =0A=
public const FileAttribute =
vbReadOnly =0A=
=3D FileAttribute.ReadOnly;<BR>+ =0A=
public const FileAttribute =
vbHidden =3D =0A=
FileAttribute.Hidden;<BR>+ =0A=
public const FileAttribute =
vbSystem =3D =0A=
FileAttribute.System;<BR>+ =0A=
public const FileAttribute =
vbVolume =3D =0A=
FileAttribute.Volume;<BR>+ =0A=
public const FileAttribute =0A=
vbDirectory =3D =
FileAttribute.Directory;<BR>+ =0A=
public const FileAttribute =
vbArchive =0A=
=3D FileAttribute.Archive;<BR>+<BR>+ =0A=
public const FirstWeekOfYear =0A=
vbUseSystem =3D =
FirstWeekOfYear.System;<BR>+ =0A=
public const FirstWeekOfYear =0A=
vbFirstJan1 =3D =
FirstWeekOfYear.Jan1;<BR>+ =0A=
public const FirstWeekOfYear =0A=
vbFirstFourDays =3D =0A=
FirstWeekOfYear.FirstFourDays;<BR>+ =0A=
public const FirstWeekOfYear =0A=
vbFirstFullWeek =3D =0A=
FirstWeekOfYear.FirstFullWeek;<BR>+<BR>+ &nb=
sp; =0A=
public const VbStrConv =
vbUpperCase =3D =0A=
VbStrConv.UpperCase;<BR>+ =0A=
public const VbStrConv =
vbLowerCase =3D =0A=
VbStrConv.LowerCase;<BR>+ =0A=
public const VbStrConv =
vbProperCase =3D =0A=
VbStrConv.ProperCase;<BR>+ =0A=
public const VbStrConv vbWide =
=3D =0A=
VbStrConv.Wide;<BR>+ =0A=
public const VbStrConv =
vbNarrow =3D =0A=
VbStrConv.Narrow;<BR>+ =0A=
public const VbStrConv =
vbKatakana =3D =0A=
VbStrConv.Katakana;<BR>+ =0A=
public const VbStrConv =
vbHiragana =3D =0A=
VbStrConv.Hiragana;<BR>+ =0A=
public const VbStrConv =0A=
vbSimplifiedChinese =3D =0A=
VbStrConv.SimplifiedChinese;<BR>+ =0A=
public const VbStrConv =0A=
vbTraditionalChinese =3D =0A=
VbStrConv.TraditionalChinese;<BR>+ =0A=
public const VbStrConv =0A=
vbLinguisticCasing =3D =0A=
VbStrConv.LinguisticCasing;<BR>+<BR>+ =
=0A=
public const TriState =
vbUseDefault =3D =0A=
TriState.UseDefault;<BR>+ =0A=
public const TriState vbTrue =
=3D =0A=
TriState.True;<BR>+ =0A=
public const TriState vbFalse =
=3D =0A=
TriState.False;<BR>+<BR>+ =0A=
public const VariantType =
vbEmpty =3D =0A=
VariantType.Empty;<BR>+ =0A=
public const VariantType =
vbNull =3D =0A=
VariantType.Null;<BR>+ =0A=
public const VariantType =
vbInteger =3D =0A=
VariantType.Integer;<BR>+ =0A=
public const VariantType =
vbLong =3D =0A=
VariantType.Long;<BR>+ =0A=
public const VariantType =
vbSingle =3D =0A=
VariantType.Single;<BR>+ =0A=
public const VariantType =
vbDouble =3D =0A=
VariantType.Double;<BR>+ =0A=
public const VariantType =
vbCurrency =3D =0A=
VariantType.Currency;<BR>+ =0A=
public const VariantType =
vbDate =3D =0A=
VariantType.Date;<BR>+ =0A=
public const VariantType =
vbString =3D =0A=
VariantType.String;<BR>+ =0A=
public const VariantType =
vbObject =3D =0A=
VariantType.Object;<BR>+ =0A=
public const VariantType =
vbBoolean =3D =0A=
VariantType.Boolean;<BR>+ =0A=
public const VariantType =
vbVariant =3D =0A=
VariantType.Variant;<BR>+ =0A=
public const VariantType =
vbDecimal =3D =0A=
VariantType.Decimal;<BR>+ =0A=
public const VariantType =
vbByte =3D =0A=
VariantType.Byte;<BR>+ =0A=
public const VariantType =0A=
vbUserDefinedType =3D =0A=
VariantType.UserDefinedType;<BR>+ =0A=
public const VariantType =
vbArray =3D =0A=
VariantType.Array;<BR>+<BR>+ =0A=
public const MsgBoxResult =
vbOK =3D =0A=
MsgBoxResult.OK;<BR>+ =0A=
public const MsgBoxResult =
vbCancel =3D =0A=
MsgBoxResult.Cancel;<BR>+ =0A=
public const MsgBoxResult =
vbAbort =3D =0A=
MsgBoxResult.Abort;<BR>+ =0A=
public const MsgBoxResult =
vbRetry =3D =0A=
MsgBoxResult.Retry;<BR>+ =0A=
public const MsgBoxResult =
vbIgnore =3D =0A=
MsgBoxResult.Ignore;<BR>+ =0A=
public const MsgBoxResult =
vbYes =3D =0A=
MsgBoxResult.Yes;<BR>+ =0A=
public const MsgBoxResult =
vbNo =3D =0A=
MsgBoxResult.No;<BR>+<BR>+ =0A=
public const MsgBoxStyle =
vbOKOnly =3D =0A=
MsgBoxStyle.OKOnly;<BR>+ =0A=
public const MsgBoxStyle =
vbOKCancel =3D =0A=
MsgBoxStyle.OKCancel;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbAbortRetryIgnore =3D =0A=
MsgBoxStyle.AbortRetryIgnore;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbYesNoCancel =3D =0A=
MsgBoxStyle.YesNoCancel;<BR>+ =0A=
public const MsgBoxStyle =
vbYesNo =3D =0A=
MsgBoxStyle.YesNo;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbRetryCancel =3D =0A=
MsgBoxStyle.RetryCancel;<BR>+ =0A=
public const MsgBoxStyle =
vbCritical =3D =0A=
MsgBoxStyle.Critical;<BR>+ =0A=
public const MsgBoxStyle =
vbQuestion =3D =0A=
MsgBoxStyle.Question;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbExclamation =3D =0A=
MsgBoxStyle.Exclamation;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbInformation =3D =0A=
MsgBoxStyle.Information;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbDefaultButton1 =3D =0A=
MsgBoxStyle.DefaultButton1;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbDefaultButton2 =3D =0A=
MsgBoxStyle.DefaultButton2;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbDefaultButton3 =3D =0A=
MsgBoxStyle.DefaultButton3;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbApplicationModal =3D =0A=
MsgBoxStyle.ApplicationModal;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbSystemModal =3D =0A=
MsgBoxStyle.SystemModal;<BR>+ =0A=
public const MsgBoxStyle =
vbMsgBoxHelp =0A=
=3D MsgBoxStyle.MsgBoxHelp;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbMsgBoxRight =3D =0A=
MsgBoxStyle.MsgBoxRight;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbMsgBoxRtlReading =3D =0A=
MsgBoxStyle.MsgBoxRtlReading;<BR>+ =0A=
public const MsgBoxStyle =0A=
vbMsgBoxSetForeground =3D =0A=
MsgBoxStyle.MsgBoxSetForeground;<BR>+<BR>+ &=
nbsp; =0A=
// =0A=
Constructors<BR>+ =0A=
// =0A=
Properties<BR>+ =0A=
// =0A=
Methods<BR>+ =0A=
// =0A=
Events<BR>+ };<BR>+}<BR><BR>Index: =0A=
ChangeLog<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>RCS=
=0A=
file: =0A=
/cvs/public/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ChangeL=
og,v<BR>retrieving =0A=
revision 1.43<BR>retrieving revision 1.43.2.1<BR>diff -u -d -r1.43 =0A=
-r1.43.2.1<BR>--- ChangeLog 24 Jun 2004 16:56:07 =0A=
-0000 1.43<BR>+++ ChangeLog 22 =
Jul =0A=
2004 04:39:48 -0000 1.43.2.1<BR>@@ -1,3 =
+1,8 =0A=
@@<BR>+2004-07-22 Jambunathan K =0A=
<kjambunathan@novell.com><BR>+<BR>+ &n=
bsp; * =0A=
Constants.cs: Fixed definitions of vbCr, vbLf, vbCrLf =0A=
and<BR>+ =0A=
vbNewLine<BR>+<BR> 2004-06-24 Jambunathan K =0A=
<kjambunathan@novell.com><BR> &n=
bsp; * =0A=
RandomVBFile.cs: Fixed FileGet() for Date and Decimal =0A=
types<BR> * FileSystem.cs: =
Fixed =0A=
ChDir, =0A=
FileCopy<BR><BR>_______________________________________________<BR>Mono-p=
atches =0A=
maillist - Mono-patches@ximian.com<BR><A =0A=
href=3D"http://lists.ximian.com/mailman/listinfo/mono-patches">http://lis=
ts.ximian.com/mailman/listinfo/mono-patches</A><BR><BR><BR></FONT></P></D=
IV>=0A=
=0A=
</BODY>=0A=
</HTML>
------_=_NextPart_001_01C46FBB.4325FE28--