NullReferenceException
This commit is contained in:
@ -120,9 +120,9 @@ internal sealed class SimpleObjectDetector
|
||||
uint upsamplingAmount)
|
||||
{
|
||||
if (detector == null)
|
||||
throw new ArgumentNullException(nameof(detector));
|
||||
throw new NullReferenceException(nameof(detector));
|
||||
if (image == null)
|
||||
throw new ArgumentNullException(nameof(image));
|
||||
throw new NullReferenceException(nameof(image));
|
||||
|
||||
detector.ThrowIfDisposed();
|
||||
image.ThrowIfDisposed();
|
||||
|
Reference in New Issue
Block a user