Fix mscorlib 4.0.0.0 reference added by Rewrite.exe
This commit is contained in:
parent
fd4871aa87
commit
a498da9448
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ namespace OpenTK.Rewrite
|
|||
}
|
||||
else if (p.IsArray)
|
||||
{
|
||||
if (p.Name != method.Module.ImportReference(typeof(string[])).Name)
|
||||
if (p.Name != "String[]")
|
||||
{
|
||||
// .Net treats 1d arrays differently than higher rank arrays.
|
||||
// 1d arrays are directly supported by instructions such as ldlen and ldelema.
|
||||
|
|
Loading…
Reference in a new issue