Merge pull request #537 from UnknownShadow200/develop

Fix a nameof() using wrong variable in GeneratedVariableIdentifier
This commit is contained in:
varon 2017-06-12 01:20:43 +02:00 committed by GitHub
commit 923e051989

View file

@ -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;
}
}
}
}