diff --git a/source/nanoFramework.CoreLibrary/System/Console.cs b/source/nanoFramework.CoreLibrary/System/Console.cs index 7843cc3a..ebf9ccbc 100644 --- a/source/nanoFramework.CoreLibrary/System/Console.cs +++ b/source/nanoFramework.CoreLibrary/System/Console.cs @@ -22,6 +22,7 @@ public static class Console /// Writes the specified string value to the standard output stream. /// /// The value to write. + [Obsolete("This method is going to be removed in a future version. Call Debug.Write instead.")] public static void Write(string value) #pragma warning restore S4200 // Native methods should be wrapped { @@ -33,6 +34,7 @@ public static void Write(string value) /// Writes the specified string value, followed by the current line terminator, to the standard output stream. /// /// The value to write. + [Obsolete("This method is going to be removed in a future version. Call Debug.Write instead.")] public static void WriteLine(string value) #pragma warning restore S4200 // Native methods should be wrapped {