Skip to content

Commit 3c63759

Browse files
committed
Fix grammar and phrasing
1 parent b8d4360 commit 3c63759

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Ramstack.FileSystem.Abstractions/VirtualFileExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static class VirtualFileExtensions
1111
private static Encoding? s_utf8NoBom;
1212

1313
/// <summary>
14-
/// Gets an instance of <c>UTF8</c> encoding without BOM.
14+
/// Gets an instance of the <see cref="UTF8Encoding"/> without BOM.
1515
/// </summary>
1616
private static Encoding Utf8NoBom => s_utf8NoBom ??= new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true);
1717

src/Ramstack.FileSystem.Abstractions/VirtualPath.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static ReadOnlySpan<char> GetExtension(ReadOnlySpan<char> path)
8282
/// <summary>
8383
/// Returns the file name and extension for the specified path.
8484
/// </summary>
85-
/// <param name="path">The path from which to obtain the file name and extension.</param>
85+
/// <param name="path">The path from which to get the file name and extension.</param>
8686
/// <returns>
8787
/// The file name and extension for the <paramref name="path"/>.
8888
/// </returns>
@@ -100,7 +100,7 @@ public static string GetFileName(string path)
100100
/// <summary>
101101
/// Returns the file name and extension for the specified path.
102102
/// </summary>
103-
/// <param name="path">The path from which to obtain the file name and extension.</param>
103+
/// <param name="path">The path from which to get the file name and extension.</param>
104104
/// <returns>
105105
/// The file name and extension for the <paramref name="path"/>.
106106
/// </returns>
@@ -118,7 +118,7 @@ public static ReadOnlySpan<char> GetFileName(ReadOnlySpan<char> path)
118118
/// </summary>
119119
/// <param name="path">The path to retrieve the directory portion from.</param>
120120
/// <returns>
121-
/// Directory portion for <paramref name="path"/>, or an empty string if path denotes a root directory.
121+
/// Directory portion for <paramref name="path"/>, or an empty string if the path denotes a root directory.
122122
/// </returns>
123123
public static string GetDirectoryName(string path)
124124
{

0 commit comments

Comments
 (0)