e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
13 lines
382 B
C#
13 lines
382 B
C#
namespace System {
|
|
|
|
public partial class NotSupportedException {
|
|
|
|
// Avoid having the linker generate this method for every linked build
|
|
// It also fix #30075 where --linkskip=mscorlib means that method could not be added
|
|
// but still referenced from other assemblies
|
|
internal static Exception LinkedAway ()
|
|
{
|
|
return new NotSupportedException ("Linked Away");
|
|
}
|
|
}
|
|
} |