Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public static class DataColumnCollectionAssertionExtensions
/// <summary>
/// Asserts that an object reference refers to the exact same object as another object reference.
/// </summary>
/// <param name="assertion">The <see cref="GenericCollectionAssertions{T}"/> object that is being extended.</param>
/// <param name="expected">The expected object</param>
/// <param name="because">
/// A formatted phrase as is supported by <see cref="string.Format(string,object[])" /> explaining why the assertion
Expand Down Expand Up @@ -56,6 +57,7 @@ public static AndConstraint<GenericCollectionAssertions<DataColumn>> BeSameAs(
/// <summary>
/// Asserts that an object reference refers to a different object than another object reference refers to.
/// </summary>
/// <param name="assertion">The <see cref="GenericCollectionAssertions{T}"/> object that is being extended.</param>
/// <param name="unexpected">The unexpected object</param>
/// <param name="because">
/// A formatted phrase as is supported by <see cref="string.Format(string,object[])" /> explaining why the assertion
Expand Down Expand Up @@ -98,6 +100,7 @@ public static AndConstraint<GenericCollectionAssertions<DataColumn>> NotBeSameAs
/// <summary>
/// Assert that the current collection has the same number of elements as <paramref name="otherCollection" />.
/// </summary>
/// <param name="assertion">The <see cref="GenericCollectionAssertions{T}"/> object that is being extended.</param>
/// <param name="otherCollection">The other collection with the same expected number of elements</param>
/// <param name="because">
/// A formatted phrase as is supported by <see cref="string.Format(string,object[])" /> explaining why the assertion
Expand Down Expand Up @@ -134,6 +137,7 @@ public static AndConstraint<GenericCollectionAssertions<DataColumn>> HaveSameCou
/// Assert that the current collection of <see cref="DataColumn"/>s does not have the same number of columns as
/// <paramref name="otherCollection" />.
/// </summary>
/// <param name="assertion">The <see cref="GenericCollectionAssertions{T}"/> object that is being extended.</param>
/// <param name="otherCollection">The other <see cref="DataColumnCollection"/> with the unexpected number of
/// elements</param>
/// <param name="because">
Expand Down
6 changes: 4 additions & 2 deletions 6 Src/FluentAssertions/Specialized/ExceptionAssertions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ public virtual ExceptionAssertions<TInnerException> WithInnerException<TInnerExc
}

/// <summary>
/// Asserts that the thrown exception contains an inner exception of type <param name="innerException" />.
/// Asserts that the thrown exception contains an inner exception of type <paramref name="innerException" />.
/// </summary>
/// <param name="innerException">The expected type of the inner exception.</param>
/// <param name="because">
/// A formatted phrase as is supported by <see cref="string.Format(string,object[])" /> explaining why the assertion
/// is needed. If the phrase does not start with the word <i>because</i>, it is prepended automatically.
Expand Down Expand Up @@ -147,8 +148,9 @@ public virtual ExceptionAssertions<TInnerException> WithInnerExceptionExactly<TI
}

/// <summary>
/// Asserts that the thrown exception contains an inner exception of the exact type <param name="innerException" /> (and not a derived exception type).
/// Asserts that the thrown exception contains an inner exception of the exact type <paramref name="innerException" /> (and not a derived exception type).
/// </summary>
/// <param name="innerException">The expected type of the inner exception.</param>
/// <param name="because">
/// A formatted phrase as is supported by <see cref="string.Format(string,object[])" /> explaining why the assertion
/// is needed. If the phrase does not start with the word <i>because</i>, it is prepended automatically.
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.