[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:
Родитель
c9486eb6c8
Коммит
99892d79f9
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче