We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0afbe71 commit 35e82f3Copy full SHA for 35e82f3
1 file changed
TUnit.Mocks/Arguments/AnyType.cs
@@ -20,6 +20,9 @@ public sealed class AnyType
20
/// Wildcard marker for a generic method's value-type argument. The struct counterpart of
21
/// <see cref="AnyType"/>, for matching a <c>where T : struct</c> type parameter regardless of the
22
/// concrete value type supplied at the call site.
23
+/// A type parameter with constraints beyond <c>struct</c> (e.g. <c>where T : struct, IComparable</c>)
24
+/// supports exact-type matching only, since <see cref="AnyValueType"/> does not implement any
25
+/// interfaces and cannot be supplied as its type argument.
26
/// </summary>
27
public struct AnyValueType
28
{
0 commit comments