Skip to content

Commit 1174569

Browse files
authored
Fix typo xml comments (#39276)
1 parent 0aa76cc commit 1174569

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

src/Hosting/TestHost/src/TestServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public async Task<HttpContext> SendAsync(Action<HttpContext> configureContext, C
209209
}
210210

211211
/// <summary>
212-
/// Dispoes the <see cref="IWebHost" /> object associated with the test server.
212+
/// Dispose the <see cref="IWebHost" /> object associated with the test server.
213213
/// </summary>
214214
public void Dispose()
215215
{

src/Http/Http.Abstractions/src/FragmentString.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public override int GetHashCode()
152152
}
153153

154154
/// <summary>
155-
/// Evalutes if one framgent is not equal to another.
155+
/// Evalutes if one fragment is not equal to another.
156156
/// </summary>
157157
/// <param name="left">A <see cref="FragmentString"/> instance.</param>
158158
/// <param name="right">A <see cref="FragmentString"/> instance.</param>

src/Middleware/ResponseCaching/src/ResponseCachingMiddleware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ internal void FinalizeCacheBody(ResponseCachingContext context)
384384
}
385385

386386
/// <summary>
387-
/// Mark the response as started and set the response time if no reponse was started yet.
387+
/// Mark the response as started and set the response time if no response was started yet.
388388
/// </summary>
389389
/// <param name="context"></param>
390390
/// <returns><c>true</c> if the response was not started before this call; otherwise <c>false</c>.</returns>

src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Microsoft.Extensions.DependencyInjection;
77

88
/// <summary>
9-
/// Static class that adds razor compilation extenstion methods.
9+
/// Static class that adds razor compilation extension methods.
1010
/// </summary>
1111
public static class RazorRuntimeCompilationMvcBuilderExtensions
1212
{

src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public sealed class CompiledPageActionDescriptorProvider : IActionDescriptorProv
2222
private readonly CompiledPageActionDescriptorFactory _compiledPageActionDescriptorFactory;
2323

2424
/// <summary>
25-
/// Initializes a new isntance of <see cref="CompiledPageActionDescriptorProvider"/>.
25+
/// Initializes a new instance of <see cref="CompiledPageActionDescriptorProvider"/>.
2626
/// </summary>
2727
/// <param name="pageRouteModelProviders">The sequence of <see cref="IPageRouteModelProvider"/>.</param>
2828
/// <param name="applicationModelProviders">The sequence of <see cref="IPageRouteModelProvider"/>.</param>

src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferTextWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public ViewBufferTextWriter(ViewBuffer buffer, Encoding encoding, HtmlEncoder ht
8989
public ViewBuffer Buffer { get; }
9090

9191
/// <summary>
92-
/// Gets a value that indiciates if <see cref="Flush"/> or <see cref="FlushAsync" /> was invoked.
92+
/// Gets a value that indicates if <see cref="Flush"/> or <see cref="FlushAsync" /> was invoked.
9393
/// </summary>
9494
public bool Flushed { get; private set; }
9595

src/ObjectPool/src/LeakTrackingObjectPool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Extensions.ObjectPool;
1212
/// <para>
1313
/// A leak is produced if an object is leased from the pool but not returned before it is finalized.
1414
/// An error is only produced in <c>Debug</c> builds.
15-
/// This type is only recommended to be used for diagnostc builds.
15+
/// This type is only recommended to be used for diagnostic builds.
1616
/// </para>
1717
/// </summary>
1818
/// <typeparam name="T">The type of object which is being pooled.</typeparam>

src/Security/Authentication/OAuth/src/OAuthTokenResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Authentication.OAuth;
1212
public class OAuthTokenResponse : IDisposable
1313
{
1414
/// <summary>
15-
/// Initializes a new isntance <see cref="OAuthTokenResponse"/>.
15+
/// Initializes a new instance <see cref="OAuthTokenResponse"/>.
1616
/// </summary>
1717
/// <param name="response">The received JSON payload.</param>
1818
private OAuthTokenResponse(JsonDocument response)

src/Security/Authorization/Policy/src/PolicyAuthorizationResult.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ public static PolicyAuthorizationResult Challenge()
3838
=> new PolicyAuthorizationResult { Challenged = true };
3939

4040
/// <summary>
41-
/// Indiciates that the access to a resource was forbidden.
41+
/// Indicates that the access to a resource was forbidden.
4242
/// </summary>
4343
/// <returns>The <see cref="PolicyAuthorizationResult"/>.</returns>
4444
public static PolicyAuthorizationResult Forbid()
4545
=> Forbid(null);
4646

4747
/// <summary>
48-
/// Indiciates that the access to a resource was forbidden.
48+
/// Indicates that the access to a resource was forbidden.
4949
/// </summary>
5050
/// <param name="authorizationFailure">Specifies the reason the authorization failed.s</param>
5151
/// <returns>The <see cref="PolicyAuthorizationResult"/>.</returns>

0 commit comments

Comments
 (0)