Skip to content

Commit ae7be89

Browse files
Hassmannjosesimoes
authored andcommitted
Fix typo in TimeSpan #66
***NO_CI***
1 parent 58877d6 commit ae7be89

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/nanoFramework.CoreLibrary/System/IO/Stream.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public abstract long Position
8383
}
8484

8585
/// <summary>
86-
/// Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
86+
/// Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
8787
/// </summary>
8888
/// <value>
89-
/// A value, in miliseconds, that determines how long the stream will attempt to read before timing out.
89+
/// A value, in milliseconds, that determines how long the stream will attempt to read before timing out.
9090
/// </value>
9191
/// <exception cref="System.InvalidOperationException"></exception>
9292
public virtual int ReadTimeout
@@ -103,10 +103,10 @@ public virtual int ReadTimeout
103103
}
104104

105105
/// <summary>
106-
/// Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
106+
/// Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
107107
/// </summary>
108108
/// <value>
109-
/// A value, in miliseconds, that determines how long the stream will attempt to write before timing out.
109+
/// A value, in milliseconds, that determines how long the stream will attempt to write before timing out.
110110
/// </value>
111111
/// <exception cref="System.InvalidOperationException"></exception>
112112
public virtual int WriteTimeout

source/nanoFramework.CoreLibrary/System/TimeSpan.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ public double TotalMilliseconds
260260
public static TimeSpan FromTicks(long value) => new TimeSpan(value);
261261

262262
/// <summary>
263-
/// Returns a <see cref="TimeSpan"/> that represents a specified time, where the specification is in units of miliseconds.
263+
/// Returns a <see cref="TimeSpan"/> that represents a specified time, where the specification is in units of milliseconds.
264264
/// </summary>
265-
/// <param name="value">A number of miliseconds that represent a time.</param>
265+
/// <param name="value">A number of milliseconds that represent a time.</param>
266266
/// <returns>An object that represents value.</returns>
267-
public static TimeSpan FromMiliseconds(long value) => new TimeSpan(TimeSpan.TicksPerMillisecond * value);
267+
public static TimeSpan FromMilliseconds(long value) => new TimeSpan(TimeSpan.TicksPerMillisecond * value);
268268

269269
/// <summary>
270270
/// Returns a <see cref="TimeSpan"/> that represents a specified time, where the specification is in units of seconds.

0 commit comments

Comments
 (0)