Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static ref T DangerousGetReference<T>(this T[,,] array)
/// <remarks>
/// This method doesn't do any bounds checks, therefore it is responsibility of the caller to ensure the <paramref name="i"/>
/// and <paramref name="j"/> parameters are valid. Furthermore, this extension will ignore the lower bounds for the input
/// array, and will just assume that the input index is 0-based. It is responsability of the caller to adjust the input
/// array, and will just assume that the input index is 0-based. It is responsibility of the caller to adjust the input
/// indices to account for the actual lower bounds, if the input array has either axis not starting at 0.
/// </remarks>
[Pure]
Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.HighPerformance/Memory/Memory2D{T}.cs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ private Memory2D(object instance, IntPtr offset, int height, int width, int pitc
/// <param name="width">The width of the 2D memory area to map.</param>
/// <param name="pitch">The pitch of the 2D memory area to map.</param>
/// <returns>A <see cref="Memory2D{T}"/> instance with the specified parameters.</returns>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsability of the caller to ensure it's valid.</remarks>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsibility of the caller to ensure it's valid.</remarks>
/// <exception cref="ArgumentOutOfRangeException">
/// Thrown when one of the input parameters is out of range.
/// </exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ private ReadOnlyMemory2D(object instance, IntPtr offset, int height, int width,
/// <param name="width">The width of the 2D memory area to map.</param>
/// <param name="pitch">The pitch of the 2D memory area to map.</param>
/// <returns>A <see cref="ReadOnlyMemory2D{T}"/> instance with the specified parameters.</returns>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsability of the caller to ensure it's valid.</remarks>
/// <remarks>The <paramref name="value"/> parameter is not validated, and it's responsibility of the caller to ensure it's valid.</remarks>
/// <exception cref="ArgumentOutOfRangeException">
/// Thrown when one of the input parameters is out of range.
/// </exception>
Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Toolkit.Mvvm/Messaging/WeakReferenceMessenger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void UnregisterAll(object recipient)

// Traverse all the existing conditional tables and remove all the ones
// with the target recipient as key. We don't perform a cleanup here,
// as that is responsability of a separate method defined below.
// as that is responsibility of a separate method defined below.
while (enumerator.MoveNext())
{
enumerator.Value.Remove(recipient);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private bool CompareValues(object compare, object value)
}
else if (compare.GetType() == TargetType)
{
// If we have a TargetType and the first value is ther right type
// If we have a TargetType and the first value is the right type
// Then our 2nd value isn't, so convert to string and coerce.
var valueBase2 = ConvertValue(TargetType, value);

Expand Down
20 changes: 10 additions & 10 deletions Microsoft.Toolkit.Uwp.UI.Media/Geometry/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static class Utils
/// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsCloseTo(this double value1, double value2)
{
Expand All @@ -55,7 +55,7 @@ public static bool IsCloseTo(this double value1, double value2)
/// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param>
/// <returns>
/// bool - the result of the LessThan comparision.
/// bool - the result of the LessThan comparison.
/// </returns>
public static bool IsLessThan(this double value1, double value2)
{
Expand All @@ -68,7 +68,7 @@ public static bool IsLessThan(this double value1, double value2)
/// <param name="value1"> The first double to compare. </param>
/// <param name="value2"> The second double to compare. </param>
/// <returns>
/// bool - the result of the GreaterThan comparision.
/// bool - the result of the GreaterThan comparison.
/// </returns>
public static bool IsGreaterThan(this double value1, double value2)
{
Expand All @@ -81,7 +81,7 @@ public static bool IsGreaterThan(this double value1, double value2)
/// </summary>
/// <param name="value"> The double to compare to 1. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsOne(this double value)
{
Expand All @@ -94,7 +94,7 @@ public static bool IsOne(this double value)
/// </summary>
/// <param name="value"> The double to compare to 0. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsZero(this double value)
{
Expand All @@ -107,7 +107,7 @@ public static bool IsZero(this double value)
/// <param name="value1"> The first float to compare. </param>
/// <param name="value2"> The second float to compare. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsCloseTo(this float value1, float value2)
{
Expand All @@ -131,7 +131,7 @@ public static bool IsCloseTo(this float value1, float value2)
/// <param name="value1"> The first float to compare. </param>
/// <param name="value2"> The second float to compare. </param>
/// <returns>
/// bool - the result of the LessThan comparision.
/// bool - the result of the LessThan comparison.
/// </returns>
public static bool IsLessThan(this float value1, float value2)
{
Expand All @@ -144,7 +144,7 @@ public static bool IsLessThan(this float value1, float value2)
/// <param name="value1"> The first float to compare. </param>
/// <param name="value2"> The second float to compare. </param>
/// <returns>
/// bool - the result of the GreaterThan comparision.
/// bool - the result of the GreaterThan comparison.
/// </returns>
public static bool IsGreaterThan(this float value1, float value2)
{
Expand All @@ -157,7 +157,7 @@ public static bool IsGreaterThan(this float value1, float value2)
/// </summary>
/// <param name="value"> The float to compare to 1. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsOne(this float value)
{
Expand All @@ -170,7 +170,7 @@ public static bool IsOne(this float value)
/// </summary>
/// <param name="value"> The float to compare to 0. </param>
/// <returns>
/// bool - the result of the AreClose comparision.
/// bool - the result of the AreClose comparison.
/// </returns>
public static bool IsZero(this float value)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace Microsoft.Toolkit.Uwp.UI
{
/// <summary>
/// Set of extention methods for using <see cref="DispatcherQueueTimer"/>.
/// Set of extension methods for using <see cref="DispatcherQueueTimer"/>.
/// </summary>
public static class DispatcherQueueTimerExtensions
{
Expand Down
4 changes: 2 additions & 2 deletions UnitTests/UnitTests.UWP/PrivateObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ private static void ValidateAccessString(string access)
}

/// <summary>
/// Invokes the memeber
/// Invokes the member
/// </summary>
/// <param name="name">Name of the member</param>
/// <param name="bindingFlags">Additional attributes</param>
Expand Down Expand Up @@ -887,7 +887,7 @@ internal class RuntimeTypeHelper
/// </summary>
/// <param name="m1">Method1</param>
/// <param name="m2">Method2</param>
/// <returns>True if they are similiar.</returns>
/// <returns>True if they are similar.</returns>
internal static bool CompareMethodSigAndName(MethodBase m1, MethodBase m2)
{
ParameterInfo[] params1 = m1.GetParameters();
Expand Down