Comments (2)
Thanks for your report, will check and fix this out.
from ipnetwork.
Well, it looks like "Current" behaviour is right on purpose.
From the ienumerator documentation :
https://docs.microsoft.com/en-us/dotnet/api/system.collections.ienumerator.current?view=net-5.0
Remarks
Current is undefined under any of the following conditions:
-
The enumerator is positioned before the first element in the collection, immediately after the enumerator is created. MoveNext must be called to advance the enumerator to the first element of the collection before reading the value of Current.
-
The last call to MoveNext returned false, which indicates the end of the collection.
-
The enumerator is invalidated due to changes made in the collection, such as adding, modifying, or deleting elements.
-
Current returns the same object until MoveNext is called. MoveNext sets Current to the next element.
from ipnetwork.
Related Issues (20)
- [ULA] Does it support generating a random unique local IPv6 address? HOT 3
- Equality behaviour HOT 4
- Definition whether remote IPv6-address is in the same network
- The type 'BigInteger' is defined in an assembly that is not referenced HOT 1
- PR #214 breaks backward compatibility HOT 3
- Performance considerations HOT 1
- CidrGuess considerations
- Change log HOT 5
- IPNetwork.Parse(string, ParseOptions) HOT 1
- Misleading release history among 'Releases' and NuGet HOT 3
- TryParse of a CIDR string with a trailing space and subsequent characters and `sanitanize: false` returns true HOT 2
- Please delete.
- Could not load file or assembly HOT 3
- [.NET 8.0] Conflict HOT 7
- Support for SymmetricDifference HOT 2
- Assembly should be marked CLSCompliant HOT 1
- RobiniaDocs API Explorer HOT 1
- IPNetwork.TryParse throws an exception when provided with "*" HOT 3
- Assembly should not use BCL namespaces HOT 3
- Large to very small CIDR taking up too much memory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipnetwork.