Skip to content

Commit

Permalink
House Cleaning - Spelling and grammar 🚿
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Aug 28, 2017
1 parent 79fdf41 commit c9f4312
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public static Action<object, object> MakeFastPropertySetter(PropertyInfo propert
/// </summary>
/// <remarks>
/// The implementation of PropertyHelper will cache the property accessors per-type. This is
/// faster when the the same type is used multiple times with ObjectToDictionary.
/// faster when the same type is used multiple times with ObjectToDictionary.
/// </remarks>
public static IDictionary<string, object> ObjectToDictionary(object value)
{
Expand Down Expand Up @@ -453,7 +453,7 @@ protected static PropertyHelper[] GetVisibleProperties(
// the type to see if we should include it.
var ignoreProperty = false;

// Walk up the hierarchy until we find the type that actally declares this
// Walk up the hierarchy until we find the type that actually declares this
// PropertyInfo.
var currentTypeInfo = type.GetTypeInfo();
var declaringTypeInfo = declaringType.GetTypeInfo();
Expand Down Expand Up @@ -514,7 +514,7 @@ protected static PropertyHelper[] GetProperties(
// Indexed properties are not useful (or valid) for grabbing properties off an object.
private static bool IsInterestingProperty(PropertyInfo property)
{
// For imporving application startup time, do not use GetIndexParameters() api early in this check as it
// For improving application startup time, do not use GetIndexParameters() api early in this check as it
// creates a copy of parameter array and also we would like to check for the presence of a get method
// and short circuit asap.
return property.GetMethod != null &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal class StackFrameSourceCodeInfo
public int Line { get; set; }

/// <summary>
/// The line preceeding the frame line
/// The line preceding the frame line
/// </summary>
public int PreContextLine { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Extensions.Primitives/ChangeToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Microsoft.Extensions.Primitives
{
/// <summary>
/// Propagates notifications that a change has occured.
/// Propagates notifications that a change has occurred.
/// </summary>
public static class ChangeToken
{
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Extensions.Primitives/IChangeToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
namespace Microsoft.Extensions.Primitives
{
/// <summary>
/// Propagates notifications that a change has occured.
/// Propagates notifications that a change has occurred.
/// </summary>
public interface IChangeToken
{
/// <summary>
/// Gets a value that indicates if a change has occured.
/// Gets a value that indicates if a change has occurred.
/// </summary>
bool HasChanged { get; }

Expand Down

0 comments on commit c9f4312

Please sign in to comment.