From 0ee0a8e5488e8f44fec2335a66382ac23bf5dd21 Mon Sep 17 00:00:00 2001 From: "Chris J. Breisch" Date: Sun, 12 May 2002 16:50:02 +0000 Subject: [PATCH] Fixed to conform to Mono standards for incomplete functionality. svn path=/trunk/mcs/; revision=4560 --- .../ComClassAttribute.cs | 61 +++-- .../Microsoft.VisualBasic/Conversion.cs | 125 +++++---- .../Microsoft.VisualBasic/DateAndTime.cs | 116 +++++--- .../Microsoft.VisualBasic/ErrObject.cs | 69 +++-- .../Microsoft.VisualBasic/FileSystem.cs | 253 ++++++++++++------ .../Microsoft.VisualBasic/Globals.cs | 53 ++-- .../Microsoft.VisualBasic/Information.cs | 94 ++++--- 7 files changed, 480 insertions(+), 291 deletions(-) diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ComClassAttribute.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ComClassAttribute.cs index 1dc04845339..efd694246b4 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ComClassAttribute.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ComClassAttribute.cs @@ -1,26 +1,35 @@ -// -// ComClassAttribute.cs -// -// Author: -// Chris J Breisch (cjbreisch@altavista.net) -// -// (C) 2002 Chris J Breisch -// -namespace Microsoft.VisualBasic { - [System.AttributeUsageAttribute(System.AttributeTargets.Class)] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] - sealed public class ComClassAttribute : System.Attribute { - // Declarations - // Constructors - ComClassAttribute(System.String _ClassID) {} - ComClassAttribute(System.String _ClassID, System.String _InterfaceID) {} - ComClassAttribute(System.String _ClassID, System.String _InterfaceID, System.String _EventId) {} - // Properties - public System.String EventID { get {return "";} } - public System.Boolean InterfaceShadows { get {return false;} set {} } - public System.String ClassID { get {return "";} } - public System.String InterfaceID { get {return "";} } - // Methods - // Events - }; -} +// +// ComClassAttribute.cs +// +// Author: +// Chris J Breisch (cjbreisch@altavista.net) +// +// (C) 2002 Chris J Breisch +// + +using System; + +namespace Microsoft.VisualBasic { + [System.AttributeUsageAttribute(System.AttributeTargets.Class)] + sealed public class ComClassAttribute : System.Attribute { + // Declarations + // Constructors + [MonoTODO] + ComClassAttribute(System.String _ClassID) { throw new NotImplementedException (); } + [MonoTODO] + ComClassAttribute(System.String _ClassID, System.String _InterfaceID) { throw new NotImplementedException (); } + [MonoTODO] + ComClassAttribute(System.String _ClassID, System.String _InterfaceID, System.String _EventId) { throw new NotImplementedException (); } + // Properties + [MonoTODO] + public System.String EventID { get { throw new NotImplementedException (); } } + [MonoTODO] + public System.Boolean InterfaceShadows { get { throw new NotImplementedException (); } } + [MonoTODO] + public System.String ClassID { get { throw new NotImplementedException (); } } + [MonoTODO] + public System.String InterfaceID { get { throw new NotImplementedException (); } } + // Methods + // Events + }; +} diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Conversion.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Conversion.cs index 4390ef678d6..7243d68e810 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Conversion.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Conversion.cs @@ -1,49 +1,76 @@ -// -// Conversion.cs -// -// Author: -// Chris J Breisch (cjbreisch@altavista.net) -// -// (C) 2002 Chris J Breisch -// -namespace Microsoft.VisualBasic { - [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] - sealed public class Conversion { - // Declarations - // Constructors - // Properties - // Methods - public static System.String ErrorToString () { return "";} - public static System.String ErrorToString (System.Int32 ErrorNumber) { return "";} - public static System.Int16 Fix (System.Int16 Number) { return 0;} - public static System.Int32 Fix (System.Int32 Number) { return 0;} - public static System.Int64 Fix (System.Int64 Number) { return 0;} - public static System.Double Fix (System.Double Number) { return 0;} - public static System.Single Fix (System.Single Number) { return 0;} - public static System.Decimal Fix (System.Decimal Number) { return 0;} - public static System.Object Fix (System.Object Number) { return null;} - public static System.Int16 Int (System.Int16 Number) { return 0;} - public static System.Int32 Int (System.Int32 Number) { return 0;} - public static System.Int64 Int (System.Int64 Number) { return 0;} - public static System.Double Int (System.Double Number) { return 0;} - public static System.Single Int (System.Single Number) { return 0;} - public static System.Decimal Int (System.Decimal Number) { return 0;} - public static System.Object Int (System.Object Number) { return null;} - public static System.String Hex (System.Int16 Number) { return "";} - public static System.String Hex (System.Byte Number) { return "";} - public static System.String Hex (System.Int32 Number) { return "";} - public static System.String Hex (System.Int64 Number) { return "";} - public static System.String Hex (System.Object Number) { return "";} - public static System.String Oct (System.Int16 Number) { return "";} - public static System.String Oct (System.Byte Number) { return "";} - public static System.String Oct (System.Int32 Number) { return "";} - public static System.String Oct (System.Int64 Number) { return "";} - public static System.String Oct (System.Object Number) { return "";} - public static System.String Str (System.Object Number) { return "";} - public static System.Double Val (System.String InputStr) { return 0;} - public static System.Int32 Val (System.Char Expression) { return 0;} - public static System.Double Val (System.Object Expression) { return 0;} - // Events - }; -} +// +// Conversion.cs +// +// Author: +// Chris J Breisch (cjbreisch@altavista.net) +// +// (C) 2002 Chris J Breisch +// + +using System; + +namespace Microsoft.VisualBasic { + [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] + sealed public class Conversion { + // Declarations + // Constructors + // Properties + // Methods + [MonoTODO] + public static System.String ErrorToString () { throw new NotImplementedException (); } + [MonoTODO] + public static System.String ErrorToString (System.Int32 ErrorNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int16 Fix (System.Int16 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Fix (System.Int32 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 Fix (System.Int64 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Double Fix (System.Double Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Single Fix (System.Single Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Decimal Fix (System.Decimal Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Object Fix (System.Object Number) { throw new NotImplementedException (); } + public static System.Int16 Int (System.Int16 Number) { return (System.Int16)Math.Floor(Number); } + public static System.Int32 Int (System.Int32 Number) { return (System.Int16)Math.Floor(Number); } + public static System.Int64 Int (System.Int64 Number) { return (System.Int16)Math.Floor(Number); } + public static System.Double Int (System.Double Number) { return (System.Int16)Math.Floor(Number); } + public static System.Single Int (System.Single Number) { return (System.Int16)Math.Floor(Number); } + [MonoTODO] + public static System.Decimal Int (System.Decimal Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Object Int (System.Object Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Hex (System.Int16 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Hex (System.Byte Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Hex (System.Int32 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Hex (System.Int64 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Hex (System.Object Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Oct (System.Int16 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Oct (System.Byte Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Oct (System.Int32 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Oct (System.Int64 Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Oct (System.Object Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Str (System.Object Number) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Double Val (System.String InputStr) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Val (System.Char Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Double Val (System.Object Expression) { throw new NotImplementedException (); } + // Events + }; +} diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/DateAndTime.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/DateAndTime.cs index 7de2c50d3e6..e59ddcffb9d 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/DateAndTime.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/DateAndTime.cs @@ -1,44 +1,72 @@ -// -// DateAndTime.cs -// -// Author: -// Chris J Breisch (cjbreisch@altavista.net) -// -// (C) 2002 Chris J Breisch -// -namespace Microsoft.VisualBasic { - [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] - sealed public class DateAndTime { - // Declarations - // Constructors - // Properties - public static System.String DateString { get {return "";} set {} } - public static System.DateTime Today { get {return System.DateTime.MinValue;} set {} } - public static System.Double Timer { get {return 0;} } - public static System.DateTime Now { get {return System.DateTime.MinValue;} } - public static System.DateTime TimeOfDay { get {return System.DateTime.MinValue;} set {} } - public static System.String TimeString { get {return "";} set {} } - // Methods - public static System.DateTime DateAdd (Microsoft.VisualBasic.DateInterval Interval, System.Double Number, System.DateTime DateValue) { return System.DateTime.MinValue;} - public static System.Int64 DateDiff (Microsoft.VisualBasic.DateInterval Interval, System.DateTime Date1, System.DateTime Date2, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { return 0;} - public static System.Int32 DatePart (Microsoft.VisualBasic.DateInterval Interval, System.DateTime DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek FirstDayOfWeekValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear FirstWeekOfYearValue) { return 0;} - public static System.DateTime DateAdd (System.String Interval, System.Double Number, System.Object DateValue) { return System.DateTime.MinValue;} - public static System.Int64 DateDiff (System.String Interval, System.Object Date1, System.Object Date2, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { return 0;} - public static System.Int32 DatePart (System.String Interval, System.Object DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { return 0;} - public static System.DateTime DateSerial (System.Int32 Year, System.Int32 Month, System.Int32 Day) { return System.DateTime.MinValue;} - public static System.DateTime TimeSerial (System.Int32 Hour, System.Int32 Minute, System.Int32 Second) { return System.DateTime.MinValue;} - public static System.DateTime DateValue (System.String StringDate) { return System.DateTime.MinValue;} - public static System.DateTime TimeValue (System.String StringTime) { return System.DateTime.MinValue;} - public static System.Int32 Year (System.DateTime DateValue) { return 0;} - public static System.Int32 Month (System.DateTime DateValue) { return 0;} - public static System.Int32 Day (System.DateTime DateValue) { return 0;} - public static System.Int32 Hour (System.DateTime TimeValue) { return 0;} - public static System.Int32 Minute (System.DateTime TimeValue) { return 0;} - public static System.Int32 Second (System.DateTime TimeValue) { return 0;} - public static System.Int32 Weekday (System.DateTime DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek) { return 0;} - public static System.String MonthName (System.Int32 Month, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean Abbreviate) { return "";} - public static System.String WeekdayName (System.Int32 Weekday, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean Abbreviate, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(0)] Microsoft.VisualBasic.FirstDayOfWeek FirstDayOfWeekValue) { return "";} - // Events - }; -} +// +// DateAndTime.cs +// +// Author: +// Chris J Breisch (cjbreisch@altavista.net) +// +// (C) 2002 Chris J Breisch +// + +using System; + +namespace Microsoft.VisualBasic +{ + [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] + sealed public class DateAndTime { + // Declarations + // Constructors + // Properties + [MonoTODO] + public static System.String DateString { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public static System.DateTime Today { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public static System.Double Timer { get { throw new NotImplementedException (); } } + [MonoTODO] + public static System.DateTime Now { get { throw new NotImplementedException (); } } + [MonoTODO] + public static System.DateTime TimeOfDay { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public static System.String TimeString { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + // Methods + [MonoTODO] + public static System.DateTime DateAdd (Microsoft.VisualBasic.DateInterval Interval, System.Double Number, System.DateTime DateValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 DateDiff (Microsoft.VisualBasic.DateInterval Interval, System.DateTime Date1, System.DateTime Date2, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 DatePart (Microsoft.VisualBasic.DateInterval Interval, System.DateTime DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek FirstDayOfWeekValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear FirstWeekOfYearValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.DateTime DateAdd (System.String Interval, System.Double Number, System.Object DateValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 DateDiff (System.String Interval, System.Object Date1, System.Object Date2, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 DatePart (System.String Interval, System.Object DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstWeekOfYear WeekOfYear) { throw new NotImplementedException (); } + [MonoTODO] + public static System.DateTime DateSerial (System.Int32 Year, System.Int32 Month, System.Int32 Day) { throw new NotImplementedException (); } + [MonoTODO] + public static System.DateTime TimeSerial (System.Int32 Hour, System.Int32 Minute, System.Int32 Second) { throw new NotImplementedException (); } + [MonoTODO] + public static System.DateTime DateValue (System.String StringDate) { throw new NotImplementedException (); } + [MonoTODO] + public static System.DateTime TimeValue (System.String StringTime) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Year (System.DateTime DateValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Month (System.DateTime DateValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Day (System.DateTime DateValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Hour (System.DateTime TimeValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Minute (System.DateTime TimeValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Second (System.DateTime TimeValue) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 Weekday (System.DateTime DateValue, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] Microsoft.VisualBasic.FirstDayOfWeek DayOfWeek) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String MonthName (System.Int32 Month, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean Abbreviate) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String WeekdayName (System.Int32 Weekday, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean Abbreviate, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(0)] Microsoft.VisualBasic.FirstDayOfWeek FirstDayOfWeekValue) { throw new NotImplementedException (); } + // Events + }; +} diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ErrObject.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ErrObject.cs index de17cb64459..8883f938833 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ErrObject.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/ErrObject.cs @@ -1,28 +1,41 @@ -// -// ErrObject.cs -// -// Author: -// Chris J Breisch (cjbreisch@altavista.net) -// -// (C) 2002 Chris J Breisch -// -namespace Microsoft.VisualBasic { - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] - sealed public class ErrObject { - // Declarations - // Constructors - // Properties - public System.Int32 HelpContext { get {return 0;} set {} } - public System.Int32 LastDllError { get {return 0;} } - public System.Int32 Number { get {return 0;} set {} } - public System.Int32 Erl { get {return 0;} } - public System.String Source { get {return "";} set {} } - public System.String HelpFile { get {return "";} set {} } - public System.String Description { get {return "";} set {} } - // Methods - public System.Exception GetException () { return null;} - public void Clear () { } - public void Raise (System.Int32 Number, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object Source, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object Description, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object HelpFile, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object HelpContext) { } - // Events - }; -} +// +// ErrObject.cs +// +// Author: +// Chris J Breisch (cjbreisch@altavista.net) +// +// (C) 2002 Chris J Breisch +// + +using System; + +namespace Microsoft.VisualBasic +{ + sealed public class ErrObject { + // Declarations + // Constructors + // Properties + [MonoTODO] + public System.Int32 HelpContext { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public System.Int32 LastDllError { get { throw new NotImplementedException (); } } + [MonoTODO] + public System.Int32 Number { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public System.Int32 Erl { get { throw new NotImplementedException (); } } + [MonoTODO] + public System.String Source { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public System.String HelpFile { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + [MonoTODO] + public System.String Description { get { throw new NotImplementedException (); } set { throw new NotImplementedException (); } } + // Methods + [MonoTODO] + public System.Exception GetException () { throw new NotImplementedException (); } + [MonoTODO] + public void Clear () { throw new NotImplementedException (); } + [MonoTODO] + public void Raise (System.Int32 Number, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object Source, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object Description, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object HelpFile, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(null)] System.Object HelpContext) { throw new NotImplementedException (); } + // Events + }; +} diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/FileSystem.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/FileSystem.cs index f4258ddbe04..80cc1a297d8 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/FileSystem.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/FileSystem.cs @@ -6,99 +6,184 @@ // // (C) 2002 Chris J Breisch // + +using System; + namespace Microsoft.VisualBasic { [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] sealed public class FileSystem { // Declarations // Constructors // Properties // Methods - public static void ChDir (System.String Path) { } - public static void ChDrive (System.Char Drive) { } - public static void ChDrive (System.String Drive) { } - public static System.String CurDir () { return "";} - public static System.String CurDir (System.Char Drive) { return "";} - public static System.String Dir () { return "";} - public static System.String Dir (System.String Pathname, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(0)] Microsoft.VisualBasic.FileAttribute Attributes) { return "";} - public static void MkDir (System.String Path) { } - public static void RmDir (System.String Path) { } - public static void FileCopy (System.String Source, System.String Destination) { } - public static System.DateTime FileDateTime (System.String PathName) { return System.DateTime.MinValue;} - public static System.Int64 FileLen (System.String PathName) { return 0;} - public static Microsoft.VisualBasic.FileAttribute GetAttr (System.String PathName) { return 0;} - public static void Kill (System.String PathName) { } - public static void SetAttr (System.String PathName, Microsoft.VisualBasic.FileAttribute Attributes) { } - public static void FileOpen (System.Int32 FileNumber, System.String FileName, Microsoft.VisualBasic.OpenMode Mode, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] Microsoft.VisualBasic.OpenAccess Access, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] Microsoft.VisualBasic.OpenShare Share, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int32 RecordLength) { } - public static void FileClose (params System.Int32[] FileNumbers) { } - public static void FileGetObject (System.Int32 FileNumber, ref System.Object Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.ValueType Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Array Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] ref System.Boolean ArrayIsDynamic, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] ref System.Boolean StringIsFixedLength) { } - public static void FileGet (System.Int32 FileNumber, ref System.Boolean Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Byte Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Int16 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Int32 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Int64 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Char Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Single Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Double Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.Decimal Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FileGet (System.Int32 FileNumber, ref System.String Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] ref System.Boolean StringIsFixedLength) { } - public static void FileGet (System.Int32 FileNumber, ref System.DateTime Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { } - public static void FilePutObject (System.Int32 FileNumber, System.Object Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } + [MonoTODO] + public static void ChDir (System.String Path) { throw new NotImplementedException (); } + [MonoTODO] + public static void ChDrive (System.Char Drive) { throw new NotImplementedException (); } + [MonoTODO] + public static void ChDrive (System.String Drive) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String CurDir () { throw new NotImplementedException (); } + [MonoTODO] + public static System.String CurDir (System.Char Drive) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Dir () { throw new NotImplementedException (); } + [MonoTODO] + public static System.String Dir (System.String Pathname, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(0)] Microsoft.VisualBasic.FileAttribute Attributes) { throw new NotImplementedException (); } + [MonoTODO] + public static void MkDir (System.String Path) { throw new NotImplementedException (); } + [MonoTODO] + public static void RmDir (System.String Path) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileCopy (System.String Source, System.String Destination) { throw new NotImplementedException (); } + [MonoTODO] + public static System.DateTime FileDateTime (System.String PathName) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 FileLen (System.String PathName) { throw new NotImplementedException (); } + [MonoTODO] + public static Microsoft.VisualBasic.FileAttribute GetAttr (System.String PathName) { throw new NotImplementedException (); } + [MonoTODO] + public static void Kill (System.String PathName) { throw new NotImplementedException (); } + [MonoTODO] + public static void SetAttr (System.String PathName, Microsoft.VisualBasic.FileAttribute Attributes) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileOpen (System.Int32 FileNumber, System.String FileName, Microsoft.VisualBasic.OpenMode Mode, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] Microsoft.VisualBasic.OpenAccess Access, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] Microsoft.VisualBasic.OpenShare Share, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int32 RecordLength) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileClose (params System.Int32[] FileNumbers) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGetObject (System.Int32 FileNumber, ref System.Object Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.ValueType Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Array Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] ref System.Boolean ArrayIsDynamic, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] ref System.Boolean StringIsFixedLength) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Boolean Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Byte Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Int16 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Int32 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Int64 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Char Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Single Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Double Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.Decimal Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.String Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] ref System.Boolean StringIsFixedLength) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileGet (System.Int32 FileNumber, ref System.DateTime Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] ref System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePutObject (System.Int32 FileNumber, System.Object Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] [System.ObsoleteAttribute("Use FilePutObject to write Object types, or coerce FileNumber and RecordNumber to Integer for writing non-Object types", false)] - public static void FilePut (System.Object FileNumber, System.Object Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Object RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.ValueType Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Array Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean ArrayIsDynamic, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean StringIsFixedLength) { } - public static void FilePut (System.Int32 FileNumber, System.Boolean Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Byte Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Int16 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Int32 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Int64 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Char Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Single Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Double Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.Decimal Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void FilePut (System.Int32 FileNumber, System.String Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean StringIsFixedLength) { } - public static void FilePut (System.Int32 FileNumber, System.DateTime Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { } - public static void Print (System.Int32 FileNumber, params System.Object[] Output) { } - public static void PrintLine (System.Int32 FileNumber, params System.Object[] Output) { } - public static void Input (System.Int32 FileNumber, ref System.Object Value) { } - public static void Input (System.Int32 FileNumber, ref System.Boolean Value) { } - public static void Input (System.Int32 FileNumber, ref System.Byte Value) { } - public static void Input (System.Int32 FileNumber, ref System.Int16 Value) { } - public static void Input (System.Int32 FileNumber, ref System.Int32 Value) { } - public static void Input (System.Int32 FileNumber, ref System.Int64 Value) { } - public static void Input (System.Int32 FileNumber, ref System.Char Value) { } - public static void Input (System.Int32 FileNumber, ref System.Single Value) { } - public static void Input (System.Int32 FileNumber, ref System.Double Value) { } - public static void Input (System.Int32 FileNumber, ref System.Decimal Value) { } - public static void Input (System.Int32 FileNumber, ref System.String Value) { } - public static void Input (System.Int32 FileNumber, ref System.DateTime Value) { } - public static void Write (System.Int32 FileNumber, params System.Object[] Output) { } - public static void WriteLine (System.Int32 FileNumber, params System.Object[] Output) { } - public static System.String InputString (System.Int32 FileNumber, System.Int32 CharCount) { return "";} - public static System.String LineInput (System.Int32 FileNumber) { return "";} - public static void Lock (System.Int32 FileNumber) { } - public static void Lock (System.Int32 FileNumber, System.Int64 Record) { } - public static void Lock (System.Int32 FileNumber, System.Int64 FromRecord, System.Int64 ToRecord) { } - public static void Unlock (System.Int32 FileNumber) { } - public static void Unlock (System.Int32 FileNumber, System.Int64 Record) { } - public static void Unlock (System.Int32 FileNumber, System.Int64 FromRecord, System.Int64 ToRecord) { } - public static void FileWidth (System.Int32 FileNumber, System.Int32 RecordWidth) { } - public static System.Int32 FreeFile () { return 0;} - public static void Seek (System.Int32 FileNumber, System.Int64 Position) { } - public static System.Int64 Seek (System.Int32 FileNumber) { return 0;} - public static System.Boolean EOF (System.Int32 FileNumber) { return false;} - public static System.Int64 Loc (System.Int32 FileNumber) { return 0;} - public static System.Int64 LOF (System.Int32 FileNumber) { return 0;} - public static Microsoft.VisualBasic.TabInfo TAB () { return new Microsoft.VisualBasic.TabInfo();} - public static Microsoft.VisualBasic.TabInfo TAB (System.Int16 Column) { return new Microsoft.VisualBasic.TabInfo();} - public static Microsoft.VisualBasic.SpcInfo SPC (System.Int16 Count) { return new Microsoft.VisualBasic.SpcInfo();} - public static Microsoft.VisualBasic.OpenMode FileAttr (System.Int32 FileNumber) { return 0;} - public static void Reset () { } - public static void Rename (System.String OldPath, System.String NewPath) { } + public static void FilePut (System.Object FileNumber, System.Object Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Object RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.ValueType Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Array Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean ArrayIsDynamic, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean StringIsFixedLength) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Boolean Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Byte Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Int16 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Int32 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Int64 Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Char Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Single Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Double Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.Decimal Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.String Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(false)] System.Boolean StringIsFixedLength) { throw new NotImplementedException (); } + [MonoTODO] + public static void FilePut (System.Int32 FileNumber, System.DateTime Value, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(-1)] System.Int64 RecordNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void Print (System.Int32 FileNumber, params System.Object[] Output) { throw new NotImplementedException (); } + [MonoTODO] + public static void PrintLine (System.Int32 FileNumber, params System.Object[] Output) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Object Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Boolean Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Byte Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Int16 Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Int32 Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Int64 Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Char Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Single Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Double Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.Decimal Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.String Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Input (System.Int32 FileNumber, ref System.DateTime Value) { throw new NotImplementedException (); } + [MonoTODO] + public static void Write (System.Int32 FileNumber, params System.Object[] Output) { throw new NotImplementedException (); } + [MonoTODO] + public static void WriteLine (System.Int32 FileNumber, params System.Object[] Output) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String InputString (System.Int32 FileNumber, System.Int32 CharCount) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String LineInput (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void Lock (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void Lock (System.Int32 FileNumber, System.Int64 Record) { throw new NotImplementedException (); } + [MonoTODO] + public static void Lock (System.Int32 FileNumber, System.Int64 FromRecord, System.Int64 ToRecord) { throw new NotImplementedException (); } + [MonoTODO] + public static void Unlock (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void Unlock (System.Int32 FileNumber, System.Int64 Record) { throw new NotImplementedException (); } + [MonoTODO] + public static void Unlock (System.Int32 FileNumber, System.Int64 FromRecord, System.Int64 ToRecord) { throw new NotImplementedException (); } + [MonoTODO] + public static void FileWidth (System.Int32 FileNumber, System.Int32 RecordWidth) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 FreeFile () { throw new NotImplementedException (); } + [MonoTODO] + public static void Seek (System.Int32 FileNumber, System.Int64 Position) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 Seek (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean EOF (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 Loc (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int64 LOF (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static Microsoft.VisualBasic.TabInfo TAB () { throw new NotImplementedException (); } + [MonoTODO] + public static Microsoft.VisualBasic.TabInfo TAB (System.Int16 Column) { throw new NotImplementedException (); } + [MonoTODO] + public static Microsoft.VisualBasic.SpcInfo SPC (System.Int16 Count) { throw new NotImplementedException (); } + [MonoTODO] + public static Microsoft.VisualBasic.OpenMode FileAttr (System.Int32 FileNumber) { throw new NotImplementedException (); } + [MonoTODO] + public static void Reset () { throw new NotImplementedException (); } + [MonoTODO] + public static void Rename (System.String OldPath, System.String NewPath) { throw new NotImplementedException (); } // Events }; } diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs index 7bb132a3a35..2c89b994d4e 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Globals.cs @@ -1,23 +1,30 @@ -// -// Globals.cs -// -// Author: -// Chris J Breisch (cjbreisch@altavista.net) -// -// (C) 2002 Chris J Breisch -// -namespace Microsoft.VisualBasic { - [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] - sealed public class Globals { - // Declarations - // Constructors - // Properties - public static System.String ScriptEngine { get {return "";} } - public static System.Int32 ScriptEngineMajorVersion { get {return 0;} } - public static System.Int32 ScriptEngineMinorVersion { get {return 0;} } - public static System.Int32 ScriptEngineBuildVersion { get {return 0;} } - // Methods - // Events - }; -} +// +// Globals.cs +// +// Author: +// Chris J Breisch (cjbreisch@altavista.net) +// +// (C) 2002 Chris J Breisch +// + +using System; + +namespace Microsoft.VisualBasic +{ + [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] + sealed public class Globals { + // Declarations + // Constructors + // Properties + [MonoTODO] + public static System.String ScriptEngine { get { throw new NotImplementedException (); } } + [MonoTODO] + public static System.Int32 ScriptEngineMajorVersion { get { throw new NotImplementedException (); } } + [MonoTODO] + public static System.Int32 ScriptEngineMinorVersion { get { throw new NotImplementedException (); } } + [MonoTODO] + public static System.Int32 ScriptEngineBuildVersion { get { throw new NotImplementedException (); } } + // Methods + // Events + }; +} diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Information.cs b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Information.cs index 1d34f63452c..165fbad52e0 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Information.cs +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic/Information.cs @@ -1,37 +1,57 @@ -// -// Information.cs -// -// Author: -// Chris J Breisch (cjbreisch@altavista.net) -// -// (C) 2002 Chris J Breisch -// -namespace Microsoft.VisualBasic { - [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Auto)] - sealed public class Information { - // Declarations - // Constructors - // Properties - // Methods - public static Microsoft.VisualBasic.ErrObject Err () { return null;} - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static System.Int32 Erl () { return 0;} - public static System.Boolean IsArray (System.Object VarName) { return false;} - public static System.Boolean IsDate (System.Object Expression) { return false;} - public static System.Boolean IsDBNull (System.Object Expression) { return false;} - public static System.Boolean IsNothing (System.Object Expression) { return false;} - public static System.Boolean IsError (System.Object Expression) { return false;} - public static System.Boolean IsReference (System.Object Expression) { return false;} - public static System.Boolean IsNumeric (System.Object Expression) { return false;} - public static System.Int32 LBound (System.Array Array, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] System.Int32 Rank) { return 0;} - public static System.Int32 UBound (System.Array Array, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] System.Int32 Rank) { return 0;} - public static System.String TypeName (System.Object VarName) { return "";} - public static System.String SystemTypeName (System.String VbName) { return "";} - public static System.String VbTypeName (System.String UrtName) { return "";} - public static System.Int32 QBColor (System.Int32 Color) { return 0;} - public static System.Int32 RGB (System.Int32 Red, System.Int32 Green, System.Int32 Blue) { return 0;} - public static Microsoft.VisualBasic.VariantType VarType (System.Object VarName) { return 0;} - // Events - }; -} +// +// Information.cs +// +// Author: +// Chris J Breisch (cjbreisch@altavista.net) +// +// (C) 2002 Chris J Breisch +// + +using System; + +namespace Microsoft.VisualBasic +{ + [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute] + sealed public class Information { + // Declarations + // Constructors + // Properties + // Methods + [MonoTODO] + public static Microsoft.VisualBasic.ErrObject Err () { throw new NotImplementedException (); } + [MonoTODO] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Int32 Erl () { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsArray (System.Object VarName) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsDate (System.Object Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsDBNull (System.Object Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsNothing (System.Object Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsError (System.Object Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsReference (System.Object Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Boolean IsNumeric (System.Object Expression) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 LBound (System.Array Array, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] System.Int32 Rank) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 UBound (System.Array Array, [System.Runtime.InteropServices.Optional] [System.ComponentModel.DefaultValue(1)] System.Int32 Rank) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String TypeName (System.Object VarName) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String SystemTypeName (System.String VbName) { throw new NotImplementedException (); } + [MonoTODO] + public static System.String VbTypeName (System.String UrtName) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 QBColor (System.Int32 Color) { throw new NotImplementedException (); } + [MonoTODO] + public static System.Int32 RGB (System.Int32 Red, System.Int32 Green, System.Int32 Blue) { throw new NotImplementedException (); } + [MonoTODO] + public static Microsoft.VisualBasic.VariantType VarType (System.Object VarName) { throw new NotImplementedException (); } + // Events + }; +} -- 2.25.1