mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
[Wox.Infrastructure] Enable analyzer and fix warnings (#16996)
This commit is contained in:
committed by
GitHub
parent
7365ba14d0
commit
561882c2f1
@@ -28,7 +28,7 @@ namespace Wox.Infrastructure
|
||||
{
|
||||
if (obj == null)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
throw new ArgumentNullException(nameof(obj));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -40,7 +40,7 @@ namespace Wox.Infrastructure
|
||||
{
|
||||
if (obj == null)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
throw new ArgumentNullException(nameof(obj));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user