[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono.git] / mcs / class / corlib / System / NotSupportedException.iOS.cs
1 namespace System {
2
3         public partial class NotSupportedException {
4
5                 // Avoid having the linker generate this method for every linked build
6                 // It also fix #30075 where --linkskip=mscorlib means that method could not be added
7                 // but still referenced from other assemblies
8                 internal static Exception LinkedAway ()
9                 {
10                         return new NotSupportedException ("Linked Away");
11                 }
12         }
13 }