Closed richardlawley closed 4 years ago
This was broken in 4.1.0 by 4f756998fc6d851a576531af91fdcc22af788d07. Most constructors had the following line added:
Operator = RangeOperatorFactory.Create(this);
This was missed in the mask length constructor: new IPAddressRange(IPAddress.Parse("10.0.0.0", 24))
new IPAddressRange(IPAddress.Parse("10.0.0.0", 24))
This causes .Contains to throw NullReferenceException:
var range = new IPAddressRange(IPAddress.Parse("192.168.0.80"), 24); range.Contains(range.Begin).Is(true); // throws NullReferenceException
This was broken in 4.1.0 by 4f756998fc6d851a576531af91fdcc22af788d07. Most constructors had the following line added:
This was missed in the mask length constructor:
new IPAddressRange(IPAddress.Parse("10.0.0.0", 24))
This causes .Contains to throw NullReferenceException: