We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36bdb98 commit b8a1b15Copy full SHA for b8a1b15
1 file changed
src/runtime/pythonexception.cs
@@ -250,6 +250,7 @@ public static bool Matches(IntPtr ob)
250
return Runtime.PyErr_ExceptionMatches(ob) != 0;
251
}
252
253
+ [System.Diagnostics.DebuggerHidden]
254
public static void ThrowIfIsNull(IntPtr ob)
255
{
256
if (ob == IntPtr.Zero)
@@ -258,6 +259,7 @@ public static void ThrowIfIsNull(IntPtr ob)
258
259
260
261
262
263
internal static void ThrowIfIsNull(BorrowedReference reference)
264
265
if (reference.IsNull)
@@ -266,6 +268,7 @@ internal static void ThrowIfIsNull(BorrowedReference reference)
266
268
267
269
270
271
272
public static void ThrowIfIsNotZero(int value)
273
274
if (value != 0)
0 commit comments