mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 02:55:31 +00:00
Fix mscorlib 4.0.0.0 reference added by Rewrite.exe
This commit is contained in:
parent
fd4871aa87
commit
a498da9448
|
@ -936,7 +936,7 @@ namespace OpenTK.Rewrite
|
||||||
}
|
}
|
||||||
else if (p.IsArray)
|
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.
|
// .Net treats 1d arrays differently than higher rank arrays.
|
||||||
// 1d arrays are directly supported by instructions such as ldlen and ldelema.
|
// 1d arrays are directly supported by instructions such as ldlen and ldelema.
|
||||||
|
|
Loading…
Reference in a new issue