Skip to content

Commit 7738d34

Browse files
committed
Fixed some typos
1 parent 7b04c7d commit 7738d34

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Microsoft.Toolkit.HighPerformance/Memory/Memory2D{T}.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace Microsoft.Toolkit.HighPerformance.Memory
6767
/// <exception cref="ArgumentException">
6868
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
6969
/// </exception>
70-
/// <remarks>The total area must match the lenght of <paramref name="array"/>.</remarks>
70+
/// <remarks>The total area must match the length of <paramref name="array"/>.</remarks>
7171
public Memory2D(T[] array, int height, int width)
7272
: this(array, 0, height, width, 0)
7373
{
@@ -320,7 +320,7 @@ public Memory2D(T[,,] array, int depth, int row, int column, int height, int wid
320320
/// <exception cref="ArgumentException">
321321
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
322322
/// </exception>
323-
/// <remarks>The total area must match the lenght of <paramref name="memoryManager"/>.</remarks>
323+
/// <remarks>The total area must match the length of <paramref name="memoryManager"/>.</remarks>
324324
public Memory2D(MemoryManager<T> memoryManager, int height, int width)
325325
: this(memoryManager, 0, height, width, 0)
326326
{
@@ -396,7 +396,7 @@ public Memory2D(MemoryManager<T> memoryManager, int offset, int height, int widt
396396
/// <exception cref="ArgumentException">
397397
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
398398
/// </exception>
399-
/// <remarks>The total area must match the lenght of <paramref name="memory"/>.</remarks>
399+
/// <remarks>The total area must match the length of <paramref name="memory"/>.</remarks>
400400
internal Memory2D(Memory<T> memory, int height, int width)
401401
: this(memory, 0, height, width, 0)
402402
{

Microsoft.Toolkit.HighPerformance/Memory/ReadOnlyMemory2D{T}.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace Microsoft.Toolkit.HighPerformance.Memory
6161
/// <exception cref="ArgumentException">
6262
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
6363
/// </exception>
64-
/// <remarks>The total area must match the lenght of <paramref name="text"/>.</remarks>
64+
/// <remarks>The total area must match the length of <paramref name="text"/>.</remarks>
6565
public ReadOnlyMemory2D(string text, int height, int width)
6666
: this(text, 0, height, width, 0)
6767
{
@@ -128,7 +128,7 @@ public ReadOnlyMemory2D(string text, int offset, int height, int width, int pitc
128128
/// <exception cref="ArgumentException">
129129
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
130130
/// </exception>
131-
/// <remarks>The total area must match the lenght of <paramref name="array"/>.</remarks>
131+
/// <remarks>The total area must match the length of <paramref name="array"/>.</remarks>
132132
public ReadOnlyMemory2D(T[] array, int height, int width)
133133
: this(array, 0, height, width, 0)
134134
{
@@ -341,7 +341,7 @@ public ReadOnlyMemory2D(T[,,] array, int depth, int row, int column, int height,
341341
/// <exception cref="ArgumentException">
342342
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
343343
/// </exception>
344-
/// <remarks>The total area must match the lenght of <paramref name="memoryManager"/>.</remarks>
344+
/// <remarks>The total area must match the length of <paramref name="memoryManager"/>.</remarks>
345345
public ReadOnlyMemory2D(MemoryManager<T> memoryManager, int height, int width)
346346
: this(memoryManager, 0, height, width, 0)
347347
{
@@ -417,7 +417,7 @@ public ReadOnlyMemory2D(MemoryManager<T> memoryManager, int offset, int height,
417417
/// <exception cref="ArgumentException">
418418
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
419419
/// </exception>
420-
/// <remarks>The total area must match the lenght of <paramref name="memory"/>.</remarks>
420+
/// <remarks>The total area must match the length of <paramref name="memory"/>.</remarks>
421421
internal ReadOnlyMemory2D(ReadOnlyMemory<T> memory, int height, int width)
422422
: this(memory, 0, height, width, 0)
423423
{

Microsoft.Toolkit.HighPerformance/Memory/ReadOnlySpan2D{T}.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ internal ReadOnlySpan2D(object? instance, IntPtr offset, int height, int width,
146146
/// <exception cref="ArgumentException">
147147
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
148148
/// </exception>
149-
/// <remarks>The total area must match the lenght of <paramref name="array"/>.</remarks>
149+
/// <remarks>The total area must match the length of <paramref name="array"/>.</remarks>
150150
public ReadOnlySpan2D(T[] array, int height, int width)
151151
: this(array, 0, height, width, 0)
152152
{
@@ -384,7 +384,7 @@ public ReadOnlySpan2D(T[,,] array, int depth, int row, int column, int height, i
384384
/// <exception cref="ArgumentException">
385385
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
386386
/// </exception>
387-
/// <remarks>The total area must match the lenght of <paramref name="span"/>.</remarks>
387+
/// <remarks>The total area must match the length of <paramref name="span"/>.</remarks>
388388
internal ReadOnlySpan2D(ReadOnlySpan<T> span, int height, int width)
389389
: this(span, 0, height, width, 0)
390390
{

Microsoft.Toolkit.HighPerformance/Memory/Span2D{T}.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ internal Span2D(object? instance, IntPtr offset, int height, int width, int pitc
184184
/// <exception cref="ArgumentException">
185185
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
186186
/// </exception>
187-
/// <remarks>The total area must match the lenght of <paramref name="array"/>.</remarks>
187+
/// <remarks>The total area must match the length of <paramref name="array"/>.</remarks>
188188
public Span2D(T[] array, int height, int width)
189189
: this(array, 0, height, width, 0)
190190
{
@@ -455,7 +455,7 @@ public Span2D(T[,,] array, int depth, int row, int column, int height, int width
455455
/// <exception cref="ArgumentException">
456456
/// Thrown when either <paramref name="height"/> or <paramref name="width"/> are invalid.
457457
/// </exception>
458-
/// <remarks>The total area must match the lenght of <paramref name="span"/>.</remarks>
458+
/// <remarks>The total area must match the length of <paramref name="span"/>.</remarks>
459459
internal Span2D(Span<T> span, int height, int width)
460460
: this(span, 0, height, width, 0)
461461
{

0 commit comments

Comments
 (0)