From 01201c3acbc0ea557f084663c0bd054072845d9d Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sun, 19 Jul 2020 05:45:35 -0700 Subject: [PATCH] Added missing ToString overrides --- BeefLibs/corlib/src/Int16.bf | 5 +++++ BeefLibs/corlib/src/Int8.bf | 5 +++++ BeefLibs/corlib/src/UInt16.bf | 5 +++++ BeefLibs/corlib/src/UInt8.bf | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/BeefLibs/corlib/src/Int16.bf b/BeefLibs/corlib/src/Int16.bf index 770836dc..45b6e83e 100644 --- a/BeefLibs/corlib/src/Int16.bf +++ b/BeefLibs/corlib/src/Int16.bf @@ -49,6 +49,11 @@ namespace System } } + public override void ToString(String outString) + { + ((int32)this).ToString(outString); + } + public void ToString(String outString, String format, IFormatProvider formatProvider) { if(format == null || format.IsEmpty) diff --git a/BeefLibs/corlib/src/Int8.bf b/BeefLibs/corlib/src/Int8.bf index 4f9136ec..5b389b52 100644 --- a/BeefLibs/corlib/src/Int8.bf +++ b/BeefLibs/corlib/src/Int8.bf @@ -49,6 +49,11 @@ namespace System } } + public override void ToString(String outString) + { + ((int32)this).ToString(outString); + } + public void ToString(String outString, String format, IFormatProvider formatProvider) { if(format == null || format.IsEmpty) diff --git a/BeefLibs/corlib/src/UInt16.bf b/BeefLibs/corlib/src/UInt16.bf index 4a501efc..dde13b67 100644 --- a/BeefLibs/corlib/src/UInt16.bf +++ b/BeefLibs/corlib/src/UInt16.bf @@ -49,6 +49,11 @@ namespace System } } + public override void ToString(String outString) + { + ((uint32)this).ToString(outString); + } + public void ToString(String outString, String format, IFormatProvider formatProvider) { if(format == null || format.IsEmpty) diff --git a/BeefLibs/corlib/src/UInt8.bf b/BeefLibs/corlib/src/UInt8.bf index 9f63610e..8a874620 100644 --- a/BeefLibs/corlib/src/UInt8.bf +++ b/BeefLibs/corlib/src/UInt8.bf @@ -49,6 +49,11 @@ namespace System } } + public override void ToString(String outString) + { + ((uint32)this).ToString(outString); + } + public void ToString(String outString, String format, IFormatProvider formatProvider) { if(format == null || format.IsEmpty)