Skip to content

Commit

Permalink
XML docs: param → paramref where appropriate (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR authored Jul 4, 2023
1 parent 810faa1 commit 1c94143
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions src/Verify.Expecto/Verifier_Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public static partial class Verifier
#if NETSTANDARD2_1 || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static Task<VerifyResult> VerifyDirectory(
string name,
Expand All @@ -25,7 +25,7 @@ public static Task<VerifyResult> VerifyDirectory(
}

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object target)</code> which will verify the full path.
/// </summary>
public static Task<VerifyResult> VerifyDirectory(
Expand All @@ -43,7 +43,7 @@ public static Task<VerifyResult> VerifyDirectory(
#else

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static Task<VerifyResult> VerifyDirectory(
string name,
Expand All @@ -61,7 +61,7 @@ public static Task<VerifyResult> VerifyDirectory(
}

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object target)</code> which will verify the full path.
/// </summary>
public static Task<VerifyResult> VerifyDirectory(
Expand Down
4 changes: 2 additions & 2 deletions src/Verify.Expecto/Verifier_File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace VerifyExpecto;
public static partial class Verifier
{
/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static Task<VerifyResult> VerifyFile(
string name,
Expand All @@ -19,7 +19,7 @@ public static Task<VerifyResult> VerifyFile(
}

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="FileInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static Task<VerifyResult> VerifyFile(
Expand Down
8 changes: 4 additions & 4 deletions src/Verify.MSTest/VerifyBase_Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public partial class VerifyBase
#if NETSTANDARD2_1 || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyDirectory(
string path,
Expand All @@ -19,7 +19,7 @@ public SettingsTask VerifyDirectory(
Verify(settings, sourceFile, _ => _.VerifyDirectory(path, include, pattern, options, info, fileScrubber), true);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyDirectory(
Expand All @@ -35,7 +35,7 @@ public SettingsTask VerifyDirectory(
#else

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyDirectory(
string path,
Expand All @@ -49,7 +49,7 @@ public SettingsTask VerifyDirectory(
Verify(settings, sourceFile, _ => _.VerifyDirectory(path, include, pattern, option, info, fileScrubber), true);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyDirectory(
Expand Down
4 changes: 2 additions & 2 deletions src/Verify.MSTest/VerifyBase_File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public partial class VerifyBase
{
/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyFile(
string path,
Expand All @@ -13,7 +13,7 @@ public SettingsTask VerifyFile(
Verify(settings, sourceFile, _ => _.VerifyFile(path, info));

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="FileInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyFile(
Expand Down
8 changes: 4 additions & 4 deletions src/Verify.NUnit/Verifier_Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public static partial class Verifier
#if NETSTANDARD2_1 || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static SettingsTask VerifyDirectory(
string path,
Expand All @@ -19,7 +19,7 @@ public static SettingsTask VerifyDirectory(
Verify(settings, sourceFile, _ => _.VerifyDirectory(path, include, pattern, options, info, fileScrubber), true);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static SettingsTask VerifyDirectory(
Expand All @@ -36,7 +36,7 @@ public static SettingsTask VerifyDirectory(
#else

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static SettingsTask VerifyDirectory(
string path,
Expand All @@ -54,7 +54,7 @@ public static SettingsTask VerifyDirectory(
true);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static SettingsTask VerifyDirectory(
Expand Down
4 changes: 2 additions & 2 deletions src/Verify.NUnit/Verifier_File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public static partial class Verifier
{
/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static SettingsTask VerifyFile(
string path,
Expand All @@ -13,7 +13,7 @@ public static SettingsTask VerifyFile(
Verify(settings, sourceFile, _ => _.VerifyFile(path, info));

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="FileInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static SettingsTask VerifyFile(
Expand Down
8 changes: 4 additions & 4 deletions src/Verify.NUnit/VerifyBase_Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public partial class VerifyBase
#if NETSTANDARD2_1 || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyDirectory(
string path,
Expand All @@ -26,7 +26,7 @@ public SettingsTask VerifyDirectory(
sourceFile);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyDirectory(
Expand All @@ -50,7 +50,7 @@ public SettingsTask VerifyDirectory(
#else

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyDirectory(
string path,
Expand All @@ -71,7 +71,7 @@ public SettingsTask VerifyDirectory(
sourceFile);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyDirectory(
Expand Down
4 changes: 2 additions & 2 deletions src/Verify.NUnit/VerifyBase_File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public partial class VerifyBase
{
/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyFile(
string path,
Expand All @@ -12,7 +12,7 @@ public SettingsTask VerifyFile(
Verifier.VerifyFile(path, settings ?? this.settings, info, sourceFile);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="FileInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyFile(
Expand Down
8 changes: 4 additions & 4 deletions src/Verify.Xunit/Verifier_Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public static partial class Verifier
#if NETSTANDARD2_1 || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static SettingsTask VerifyDirectory(
string path,
Expand All @@ -19,7 +19,7 @@ public static SettingsTask VerifyDirectory(
Verify(settings, sourceFile, _ => _.VerifyDirectory(path, include, pattern, options, info, fileScrubber), true);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static SettingsTask VerifyDirectory(
Expand All @@ -36,7 +36,7 @@ public static SettingsTask VerifyDirectory(
#else

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static SettingsTask VerifyDirectory(
string path,
Expand All @@ -54,7 +54,7 @@ public static SettingsTask VerifyDirectory(
true);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static SettingsTask VerifyDirectory(
Expand Down
4 changes: 2 additions & 2 deletions src/Verify.Xunit/Verifier_File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public static partial class Verifier
{
/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public static SettingsTask VerifyFile(
string path,
Expand All @@ -13,7 +13,7 @@ public static SettingsTask VerifyFile(
Verify(settings, sourceFile, _ => _.VerifyFile(path, info));

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="FileInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public static SettingsTask VerifyFile(
Expand Down
8 changes: 4 additions & 4 deletions src/Verify.Xunit/VerifyBase_Directory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public partial class VerifyBase
#if NETSTANDARD2_1 || NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyDirectory(
string path,
Expand All @@ -26,7 +26,7 @@ public SettingsTask VerifyDirectory(
sourceFile);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyDirectory(
Expand All @@ -50,7 +50,7 @@ public SettingsTask VerifyDirectory(
#else

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyDirectory(
string path,
Expand All @@ -71,7 +71,7 @@ public SettingsTask VerifyDirectory(
sourceFile);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="DirectoryInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyDirectory(
Expand Down
4 changes: 2 additions & 2 deletions src/Verify.Xunit/VerifyBase_File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public partial class VerifyBase
{
/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// </summary>
public SettingsTask VerifyFile(
string path,
Expand All @@ -12,7 +12,7 @@ public SettingsTask VerifyFile(
Verifier.VerifyFile(path, settings ?? this.settings, info, sourceFile);

/// <summary>
/// Verifies the contents of <param name="path"/>.
/// Verifies the contents of <paramref name="path"/>.
/// Differs from passing <see cref="FileInfo"/> to <code>Verify(object? target)</code> which will verify the full path.
/// </summary>
public SettingsTask VerifyFile(
Expand Down

0 comments on commit 1c94143

Please sign in to comment.