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 a416361 commit 3e8ae8fCopy full SHA for 3e8ae8f
src/NetMQ/Utils/Assumes.cs
@@ -9,7 +9,7 @@ internal static class Assumes
9
[Conditional("DEBUG")]
10
public static void NotNull<T>([NotNull] T o) where T : class?
11
{
12
- Debug.Assert(o is object);
+ Debug.Assert(o is object, $"Unexpected null of type {typeof(T).Name}");
13
}
14
#pragma warning restore CS8777 // Parameter must have a non-null value when exiting.
15
0 commit comments