You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
@ -144,6 +144,7 @@
|
||||
<Reference Include="System.ComponentModel.Primitives" />
|
||||
<Reference Include="System.Diagnostics.Debug" />
|
||||
<Reference Include="System.Diagnostics.Tracing" />
|
||||
<Reference Include="System.Memory" />
|
||||
<Reference Include="System.Net.NameResolution" />
|
||||
<Reference Include="System.Net.Primitives" />
|
||||
<Reference Include="System.Net.Sockets" />
|
||||
|
@ -7,6 +7,9 @@ using System.Runtime.Serialization;
|
||||
namespace System.Net.NetworkInformation
|
||||
{
|
||||
[Serializable]
|
||||
#if !MONO
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
#endif
|
||||
public class PingException : InvalidOperationException
|
||||
{
|
||||
public PingException(string message) :
|
||||
@ -22,7 +25,6 @@ namespace System.Net.NetworkInformation
|
||||
protected PingException(SerializationInfo serializationInfo, StreamingContext streamingContext) :
|
||||
base(serializationInfo, streamingContext)
|
||||
{
|
||||
throw new PlatformNotSupportedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -466,6 +466,7 @@ namespace System.Net.NetworkInformation.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "GC has different behavior on Mono")]
|
||||
public void CanBeFinalized()
|
||||
{
|
||||
FinalizingPing.CreateAndRelease();
|
||||
|
Reference in New Issue
Block a user