Skip to content

Commit c9f4312

Browse files
committed
House Cleaning - Spelling and grammar 🚿
1 parent 79fdf41 commit c9f4312

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

shared/Microsoft.Extensions.PropertyHelper.Sources/PropertyHelper.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ public static Action<object, object> MakeFastPropertySetter(PropertyInfo propert
327327
/// </summary>
328328
/// <remarks>
329329
/// The implementation of PropertyHelper will cache the property accessors per-type. This is
330-
/// faster when the the same type is used multiple times with ObjectToDictionary.
330+
/// faster when the same type is used multiple times with ObjectToDictionary.
331331
/// </remarks>
332332
public static IDictionary<string, object> ObjectToDictionary(object value)
333333
{
@@ -453,7 +453,7 @@ protected static PropertyHelper[] GetVisibleProperties(
453453
// the type to see if we should include it.
454454
var ignoreProperty = false;
455455

456-
// Walk up the hierarchy until we find the type that actally declares this
456+
// Walk up the hierarchy until we find the type that actually declares this
457457
// PropertyInfo.
458458
var currentTypeInfo = type.GetTypeInfo();
459459
var declaringTypeInfo = declaringType.GetTypeInfo();
@@ -514,7 +514,7 @@ protected static PropertyHelper[] GetProperties(
514514
// Indexed properties are not useful (or valid) for grabbing properties off an object.
515515
private static bool IsInterestingProperty(PropertyInfo property)
516516
{
517-
// For imporving application startup time, do not use GetIndexParameters() api early in this check as it
517+
// For improving application startup time, do not use GetIndexParameters() api early in this check as it
518518
// creates a copy of parameter array and also we would like to check for the presence of a get method
519519
// and short circuit asap.
520520
return property.GetMethod != null &&

shared/Microsoft.Extensions.StackTrace.Sources/StackFrame/StackFrameSourceCodeInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal class StackFrameSourceCodeInfo
2727
public int Line { get; set; }
2828

2929
/// <summary>
30-
/// The line preceeding the frame line
30+
/// The line preceding the frame line
3131
/// </summary>
3232
public int PreContextLine { get; set; }
3333

src/Microsoft.Extensions.Primitives/ChangeToken.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Microsoft.Extensions.Primitives
77
{
88
/// <summary>
9-
/// Propagates notifications that a change has occured.
9+
/// Propagates notifications that a change has occurred.
1010
/// </summary>
1111
public static class ChangeToken
1212
{

src/Microsoft.Extensions.Primitives/IChangeToken.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
namespace Microsoft.Extensions.Primitives
77
{
88
/// <summary>
9-
/// Propagates notifications that a change has occured.
9+
/// Propagates notifications that a change has occurred.
1010
/// </summary>
1111
public interface IChangeToken
1212
{
1313
/// <summary>
14-
/// Gets a value that indicates if a change has occured.
14+
/// Gets a value that indicates if a change has occurred.
1515
/// </summary>
1616
bool HasChanged { get; }
1717

0 commit comments

Comments
 (0)