Skip to content

Commit 1a3706f

Browse files
authored
Add Debug.WriteLine (empty) (#185)
1 parent 58083d0 commit 1a3706f

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

nanoFramework.CoreLibrary/System/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
[assembly: AssemblyProduct(".NET nanoFramework mscorlib")]
1414
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
1515

16-
[assembly: AssemblyNativeVersion("100.5.0.17")]
16+
[assembly: AssemblyNativeVersion("100.5.0.18")]

nanoFramework.CoreLibrary/System/Console.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace System
1515
public static class Console
1616
{
1717
/// <summary>
18-
/// Writes the specified string value, followed by the current line terminator, to the standard output stream.
18+
/// Writes the specified string value to the standard output stream.
1919
/// </summary>
2020
/// <param name="value">The value to write.</param>
2121
/// <remarks>

nanoFramework.CoreLibrary/System/Diagnostics/Debug.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,26 @@ static public void Assert(bool condition, string message, string detailedMessage
6161
/// </summary>
6262
/// <param name="message">A message to write.</param>
6363
/// <remarks>
64-
/// In nanoFramework implementation the message is output to Visual Studio debugger window.
64+
/// In .NET nanoFramework implementation the message is output to Visual Studio debugger window.
6565
/// </remarks>
6666
[Conditional("DEBUG")]
6767
public static void Write(string message) => WriteLineNative(message, false);
6868

69+
/// <summary>
70+
/// Writes the current line terminator to the standard output stream.
71+
/// </summary>
72+
/// <remarks>
73+
/// In .NET nanoFramework implementation the message is output to Visual Studio debugger window.
74+
/// </remarks>
75+
[Conditional("DEBUG")]
76+
public static void WriteLine() => WriteLineNative(string.Empty, true);
77+
6978
/// <summary>
7079
/// Writes a message followed by a line terminator to the trace listeners in the Listeners collection.
7180
/// </summary>
7281
/// <param name="message">A message to write.</param>
7382
/// <remarks>
74-
/// In nanoFramework implementation the message is output to Visual Studio debugger window.
83+
/// In .NET nanoFramework implementation the message is output to Visual Studio debugger window.
7584
/// </remarks>
7685
[Conditional("DEBUG")]
7786
public static void WriteLine(string message) => WriteLineNative(message, true);

0 commit comments

Comments
 (0)