Open go3323 opened 2 weeks ago
The NET7_0 directive does not detect .NET 8 and above. This should be NET7_0_OR_GREATER instead.
NET7_0
NET7_0_OR_GREATER
This should be changed in two places:
https://github.com/codeyu/nanoid-net/blob/485c0093a727c94260e83fdab13d2ff4dc52a401/src/Nanoid/Nanoid.cs#L254
https://github.com/codeyu/nanoid-net/blob/485c0093a727c94260e83fdab13d2ff4dc52a401/src/Nanoid/Nanoid.cs#L301
curious on what's the impact of this
The
NET7_0
directive does not detect .NET 8 and above. This should beNET7_0_OR_GREATER
instead.This should be changed in two places:
https://github.com/codeyu/nanoid-net/blob/485c0093a727c94260e83fdab13d2ff4dc52a401/src/Nanoid/Nanoid.cs#L254
https://github.com/codeyu/nanoid-net/blob/485c0093a727c94260e83fdab13d2ff4dc52a401/src/Nanoid/Nanoid.cs#L301