mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-26 22:41:01 +00:00
Fix a nameof() using wrong variable in GeneratedVariableIdentifier
This commit is contained in:
parent
f8ac2565fa
commit
45d032da52
|
@ -40,7 +40,7 @@ namespace OpenTK.Rewrite
|
||||||
|
|
||||||
if (definition == null)
|
if (definition == null)
|
||||||
{
|
{
|
||||||
throw new ArgumentException("The definition argument cannot be null.", nameof(body));
|
throw new ArgumentException("The definition argument cannot be null.", nameof(definition));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(name))
|
if (string.IsNullOrEmpty(name))
|
||||||
|
|
Loading…
Reference in a new issue