Skip to content

Commit a11ee78

Browse files
authored
Miscellaneous fixes in IntelliSense comments (#301)
***NO_CI***
1 parent 04fb4b8 commit a11ee78

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

source/TestFramework/Assert.cs

+5
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ public static void IsTrue(bool condition, [CallerArgumentExpression(nameof(condi
229229
}
230230
}
231231

232+
/// <summary>
233+
/// Call this method to indicate that a test should be skipped.
234+
/// </summary>
235+
/// <param name="message">The message to include in the exception when the test is skipped. The message is shown in test results.</param>
236+
/// <exception cref="SkipTestException">Thrown to indicate that a test should be skipped.</exception>
232237
[DoesNotReturn]
233238
public static void SkipTest(string message = null)
234239
{

source/TestFramework/CollectionAssert.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44

5+
using System;
56
using System.Collections;
67
using TestFrameworkShared;
78

@@ -28,7 +29,7 @@ public sealed class CollectionAssert
2829
/// <param name="collection">The collection the test expects to be empty.</param>
2930
/// <param name="message">The message to include in the exception when the collection is empty. The message is shown in test results.</param>
3031
/// <exception cref="AssertFailedException">Raises an exception if the collection is not empty.</exception>
31-
/// <exception cref=""></exception>
32+
/// <exception cref="ArgumentNullException">Raises an exception if the collection is null.</exception>
3233
public static void Empty(ICollection collection, string message = "")
3334
{
3435
Assert.EnsureParameterIsNotNull(collection, "CollectionAssert.Empty");

0 commit comments

Comments
 (0)