Skip to content

Commit 57dd7ee

Browse files
authored
Merge pull request #1209 from jnyrup/xmlSummaries
Cleanup parameter xml summaries
2 parents f60927f + b6fa364 commit 57dd7ee

File tree

7 files changed

+6
-42
lines changed

7 files changed

+6
-42
lines changed

Src/FluentAssertions/Common/IClock.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ public interface IClock
1212
/// <summary>
1313
/// Will block the current thread until a time delay has passed.
1414
/// </summary>
15-
/// <param name="delay">The time span to wait before completing the returned task</param>
15+
/// <param name="timeToDelay">The time span to wait before completing the returned task</param>
1616
void Delay(TimeSpan timeToDelay);
1717

1818
/// <summary>
1919
/// Creates a task that will complete after a time delay.
2020
/// </summary>
2121
/// <param name="delay">The time span to wait before completing the returned task</param>
22-
/// <param name="timeoutCancellationTokenSource"></param>
22+
/// <param name="cancellationToken"></param>
2323
/// <returns>A task that represents the time delay.</returns>
2424
/// <seealso cref="Task.Delay(TimeSpan)"/>
2525
Task DelayAsync(TimeSpan delay, CancellationToken cancellationToken);

Src/FluentAssertions/Equivalency/IMemberSelectionRule.cs

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ public interface IMemberSelectionRule
2121
/// A collection of members that was prepopulated by other selection rules. Can be empty.</param>
2222
/// <param name="context"></param>
2323
/// <param name="config"></param>
24-
/// <param name="info">
25-
/// Type info about the subject.
26-
/// </param>
2724
/// <returns>
2825
/// The collection of members after applying this rule. Can contain less or more than was passed in.
2926
/// </returns>

Src/FluentAssertions/Events/EventAssertions.cs

-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ protected internal EventAssertions(IMonitor<T> monitor) : base(monitor.Subject)
2727
/// <summary>
2828
/// Asserts that an object has raised a particular event at least once.
2929
/// </summary>
30-
/// <param name="eventSource">The object exposing the event.</param>
3130
/// <param name="eventName">
3231
/// The name of the event that should have been raised.
3332
/// </param>
@@ -59,7 +58,6 @@ public IEventRecorder Raise(string eventName, string because = "", params object
5958
/// <summary>
6059
/// Asserts that an object has not raised a particular event.
6160
/// </summary>
62-
/// <param name="eventSource">The object exposing the event.</param>
6361
/// <param name="eventName">
6462
/// The name of the event that should not be raised.
6563
/// </param>
@@ -88,7 +86,6 @@ public void NotRaise(string eventName, string because = "", params object[] beca
8886
/// <summary>
8987
/// Asserts that an object has raised the <see cref="INotifyPropertyChanged.PropertyChanged"/> event for a particular property.
9088
/// </summary>
91-
/// <param name="eventSource">The object exposing the event.</param>
9289
/// <param name="propertyExpression">
9390
/// A lambda expression referring to the property for which the property changed event should have been raised, or
9491
/// <c>null</c> to refer to all properties.
@@ -124,7 +121,6 @@ public IEventRecorder RaisePropertyChangeFor(Expression<Func<T, object>> propert
124121
/// <summary>
125122
/// Asserts that an object has not raised the <see cref="INotifyPropertyChanged.PropertyChanged"/> event for a particular property.
126123
/// </summary>
127-
/// <param name="eventSource">The object exposing the event.</param>
128124
/// <param name="propertyExpression">
129125
/// A lambda expression referring to the property for which the property changed event should have been raised.
130126
/// </param>

Src/FluentAssertions/Execution/IAssertionScope.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public interface IAssertionScope : IDisposable
8484
/// If an expectation was set through a prior call to <see cref="AssertionScope.WithExpectation"/>, then the failure message is appended to that
8585
/// expectation.
8686
/// </remarks>
87-
/// <param name="expectation">The format string that represents the failure message.</param>
87+
/// <param name="message">The format string that represents the failure message.</param>
8888
/// <param name="args">Optional arguments to any numbered placeholders.</param>
8989
IAssertionScope WithExpectation(string message, params object[] args);
9090

Src/FluentAssertions/Formatting/AggregateExceptionValueFormatter.cs

+1-16
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,7 @@ public bool CanHandle(object value)
1717
return value is AggregateException;
1818
}
1919

20-
/// <summary>
21-
/// Returns a <see cref="System.String" /> that represents this instance.
22-
/// </summary>
23-
/// <param name="value">The value for which to create a <see cref="System.String"/>.</param>
24-
/// <param name="context"> </param>
25-
/// <param name="formatChild"></param>
26-
/// <param name="processedObjects">
27-
/// A collection of objects that
28-
/// </param>
29-
/// <param name="nestedPropertyLevel">
30-
/// The level of nesting for the supplied value. This is used for indenting the format string for objects that have
31-
/// no <see cref="object.ToString()"/> override.
32-
/// </param>
33-
/// <returns>
34-
/// A <see cref="System.String" /> that represents this instance.
35-
/// </returns>
20+
/// <inheritdoc />
3621
public string Format(object value, FormattingContext context, FormatChild formatChild)
3722
{
3823
var exception = (AggregateException)value;

Src/FluentAssertions/Formatting/ByteValueFormatter.cs

+1-15
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,7 @@ public bool CanHandle(object value)
1414
return value is byte;
1515
}
1616

17-
/// <summary>
18-
/// Returns a <see cref="System.String" /> that represents this instance.
19-
/// </summary>
20-
/// <param name="value">The value for which to create a <see cref="System.String"/>.</param>
21-
/// <param name="useLineBreaks"> </param>
22-
/// <param name="processedObjects">
23-
/// A collection of objects that
24-
/// </param>
25-
/// <param name="nestedPropertyLevel">
26-
/// The level of nesting for the supplied value. This is used for indenting the format string for objects that have
27-
/// no <see cref="object.ToString()"/> override.
28-
/// </param>
29-
/// <returns>
30-
/// A <see cref="System.String" /> that represents this instance.
31-
/// </returns>
17+
/// <inheritdoc />
3218
public string Format(object value, FormattingContext context, FormatChild formatChild)
3319
{
3420
return "0x" + ((byte)value).ToString("X2");

Src/FluentAssertions/Types/MethodInfoSelectorAssertions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class MethodInfoSelectorAssertions
1818
/// <summary>
1919
/// Initializes a new instance of the <see cref="MethodInfoSelectorAssertions"/> class.
2020
/// </summary>
21-
/// <param name="methodInfo">The methods to assert.</param>
21+
/// <param name="methods">The methods to assert.</param>
2222
public MethodInfoSelectorAssertions(params MethodInfo[] methods)
2323
{
2424
SubjectMethods = methods;

0 commit comments

Comments
 (0)