• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lduchosal / ipnetwork / 960

15 May 2026 07:18AM UTC coverage: 0.0% (-94.1%) from 94.053%
960

Pull #411

appveyor

web-flow
Merge ef6b054ce into 4cec191ae
Pull Request #411: Bump MSTest.TestFramework from 4.2.2 to 4.2.3

0 of 2438 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/System.Net.IPNetwork/IPNetwork2ISerializable.cs
1
// <copyright file="IPNetwork2ISerializable.cs" company="IPNetwork">
2
// Copyright (c) IPNetwork. All rights reserved.
3
// </copyright>
4

5
namespace System.Net;
6

7
using System.Runtime.Serialization;
8

9
/// <summary>
10
/// ISerializable.
11
/// </summary>
12
public sealed partial class IPNetwork2
13
{
14
    private IPNetwork2(SerializationInfo info, StreamingContext context)
×
15
    {
×
16
        string sipnetwork = info.GetString("IPNetwork") ?? throw new SerializationException("Missing IPNetwork value");
×
17
        var ipnetwork = Parse(sipnetwork);
×
18

19
        this.ipaddress = ipnetwork.ipaddress;
×
20
        this.cidr = ipnetwork.cidr;
×
21
        this.family = ipnetwork.family;
×
22
        this.cachedHashCode = new Lazy<int>(this.ComputeHashCode);
×
23
    }
×
24

25
    /// <inheritdoc/>
26
    void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
27
    {
×
28
        info.AddValue("IPNetwork", this.ToString());
×
29
    }
×
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc