12 references to BaseAddress
System.Net.Primitives (12)
System\Net\IPNetwork.cs (12)
18/// This type disallows arbitrary IP-address/prefix-length CIDR pairs. <see cref="BaseAddress"/> must be defined so that all bits after the network prefix are set to zero.
19/// In other words, <see cref="BaseAddress"/> is always the first usable address of the network.
70if (address.AddressFamily != BaseAddress.AddressFamily && (BaseAddress.AddressFamily != AddressFamily.InterNetwork || !address.IsIPv4MappedToIPv6))
89return BaseAddress.PrivateIPv4Address == (address.PrivateIPv4Address & mask);
96BaseAddress.TryWriteBytes(MemoryMarshal.AsBytes(new Span<UInt128>(ref baseAddressValue)), out int bytesWritten);
284string.Create(CultureInfo.InvariantCulture, stackalloc char[128], $"{BaseAddress}/{(uint)PrefixLength}");
293destination.TryWrite(CultureInfo.InvariantCulture, $"{BaseAddress}/{(uint)PrefixLength}", out charsWritten);
302Utf8.TryWrite(utf8Destination, CultureInfo.InvariantCulture, $"{BaseAddress}/{(uint)PrefixLength}", out bytesWritten);
312BaseAddress.Equals(other.BaseAddress);
344public override int GetHashCode() => HashCode.Combine(BaseAddress, PrefixLength);