Merge pull request #537 from UnknownShadow200/develop
Fix a nameof() using wrong variable in GeneratedVariableIdentifier
This commit is contained in:
commit
923e051989
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ namespace OpenTK.Rewrite
|
|||
|
||||
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))
|
||||
|
@ -53,4 +53,4 @@ namespace OpenTK.Rewrite
|
|||
this.Name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue