@@ -17,8 +17,8 @@ public sealed partial class Assert
17
17
{
18
18
/// <summary>
19
19
/// Tests whether the specified values are equal and throws an exception
20
- /// if the two values are not equal. Different numeric types are treated
21
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
20
+ /// if the two values are not equal.
21
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
22
22
/// </summary>
23
23
/// <typeparam name="T">
24
24
/// The type of values to compare.
@@ -37,8 +37,8 @@ public static void AreEqual<T>(T? expected, T? actual)
37
37
38
38
/// <summary>
39
39
/// Tests whether the specified values are equal and throws an exception
40
- /// if the two values are not equal. Different numeric types are treated
41
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
40
+ /// if the two values are not equal.
41
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
42
42
/// </summary>
43
43
/// <typeparam name="T">
44
44
/// The type of values to compare.
@@ -61,8 +61,8 @@ public static void AreEqual<T>(T? expected, T? actual, IEqualityComparer<T>? com
61
61
62
62
/// <summary>
63
63
/// Tests whether the specified values are equal and throws an exception
64
- /// if the two values are not equal. Different numeric types are treated
65
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
64
+ /// if the two values are not equal.
65
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
66
66
/// </summary>
67
67
/// <typeparam name="T">
68
68
/// The type of values to compare.
@@ -87,8 +87,8 @@ public static void AreEqual<T>(T? expected, T? actual, string? message)
87
87
88
88
/// <summary>
89
89
/// Tests whether the specified values are equal and throws an exception
90
- /// if the two values are not equal. Different numeric types are treated
91
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
90
+ /// if the two values are not equal.
91
+ /// The equality is computed using the provided <paramref name="comparer"/> parameter .
92
92
/// </summary>
93
93
/// <typeparam name="T">
94
94
/// The type of values to compare.
@@ -117,8 +117,8 @@ public static void AreEqual<T>(T? expected, T? actual, IEqualityComparer<T>? com
117
117
118
118
/// <summary>
119
119
/// Tests whether the specified values are equal and throws an exception
120
- /// if the two values are not equal. Different numeric types are treated
121
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
120
+ /// if the two values are not equal.
121
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
122
122
/// </summary>
123
123
/// <typeparam name="T">
124
124
/// The type of values to compare.
@@ -146,8 +146,8 @@ public static void AreEqual<T>(T? expected, T? actual, string? message, params o
146
146
147
147
/// <summary>
148
148
/// Tests whether the specified values are equal and throws an exception
149
- /// if the two values are not equal. Different numeric types are treated
150
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
149
+ /// if the two values are not equal.
150
+ /// The equality is computed using the provided <paramref name="comparer"/> parameter .
151
151
/// </summary>
152
152
/// <typeparam name="T">
153
153
/// The type of values to compare.
@@ -205,8 +205,8 @@ public static void AreEqual<T>(T? expected, T? actual, IEqualityComparer<T>? com
205
205
206
206
/// <summary>
207
207
/// Tests whether the specified values are unequal and throws an exception
208
- /// if the two values are equal. Different numeric types are treated
209
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
208
+ /// if the two values are equal.
209
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
210
210
/// </summary>
211
211
/// <typeparam name="T">
212
212
/// The type of values to compare.
@@ -226,8 +226,8 @@ public static void AreNotEqual<T>(T? notExpected, T? actual)
226
226
227
227
/// <summary>
228
228
/// Tests whether the specified values are unequal and throws an exception
229
- /// if the two values are equal. Different numeric types are treated
230
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
229
+ /// if the two values are equal.
230
+ /// The equality is computed using the provided <paramref name="comparer"/> parameter .
231
231
/// </summary>
232
232
/// <typeparam name="T">
233
233
/// The type of values to compare.
@@ -251,8 +251,8 @@ public static void AreNotEqual<T>(T? notExpected, T? actual, IEqualityComparer<T
251
251
252
252
/// <summary>
253
253
/// Tests whether the specified values are unequal and throws an exception
254
- /// if the two values are equal. Different numeric types are treated
255
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
254
+ /// if the two values are equal.
255
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
256
256
/// </summary>
257
257
/// <typeparam name="T">
258
258
/// The type of values to compare.
@@ -277,8 +277,8 @@ public static void AreNotEqual<T>(T? notExpected, T? actual, string? message)
277
277
278
278
/// <summary>
279
279
/// Tests whether the specified values are unequal and throws an exception
280
- /// if the two values are equal. Different numeric types are treated
281
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
280
+ /// if the two values are equal.
281
+ /// The equality is computed using the provided <paramref name="comparer"/> parameter .
282
282
/// </summary>
283
283
/// <typeparam name="T">
284
284
/// The type of values to compare.
@@ -307,8 +307,8 @@ public static void AreNotEqual<T>(T? notExpected, T? actual, IEqualityComparer<T
307
307
308
308
/// <summary>
309
309
/// Tests whether the specified values are unequal and throws an exception
310
- /// if the two values are equal. Different numeric types are treated
311
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
310
+ /// if the two values are equal.
311
+ /// The equality is computed using the default <see cref="System.Collections.Generic.EqualityComparer{T}"/> .
312
312
/// </summary>
313
313
/// <typeparam name="T">
314
314
/// The type of values to compare.
@@ -336,8 +336,8 @@ public static void AreNotEqual<T>(T? notExpected, T? actual, string? message, pa
336
336
337
337
/// <summary>
338
338
/// Tests whether the specified values are unequal and throws an exception
339
- /// if the two values are equal. Different numeric types are treated
340
- /// as unequal even if the logical values are equal. 42L is not equal to 42 .
339
+ /// if the two values are equal.
340
+ /// The equality is computed using the provided <paramref name="comparer"/> parameter .
341
341
/// </summary>
342
342
/// <typeparam name="T">
343
343
/// The type of values to compare.
0 commit comments