[tests] Revert manual preservation of InternalsVisibleToAttribute.ctor(string) (#11160)

The issue https://github.com/mono/linker/issues/1913 was fixed a while ago.
This commit is contained in:
Sebastien Pouliot 2021-04-08 13:01:35 -04:00 коммит произвёл GitHub
Родитель c9486eb6c8
Коммит 99892d79f9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -16,16 +16,4 @@ namespace LinkAll
}
#endif // !__WATCHOS__
}
#if NET
// https://github.com/mono/linker/issues/1913
[Foundation.Preserve (AllMembers = true)]
class Preserver
{
public Preserver ()
{
GC.KeepAlive (new System.Runtime.CompilerServices.InternalsVisibleToAttribute ("preserve this constructor"));
}
}
#endif
}