10 writes to SourceIpAddresses
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (10)
ResourceMonitoringOptionsCustomValidatorTests.cs (2)
21SourceIpAddresses = new HashSet<string> { "" } 35SourceIpAddresses = new HashSet<string> { "127.0.0.1", "[::]" }
Windows\Tcp6TableInfoTests.cs (3)
234SourceIpAddresses = new HashSet<string> { "[::1]" }, 250SourceIpAddresses = new HashSet<string> { "[::1]" }, 268SourceIpAddresses = new HashSet<string> { "[::1]" },
Windows\TcpTableInfoTests.cs (3)
177SourceIpAddresses = new HashSet<string> { "127.0.0.1" }, 193SourceIpAddresses = new HashSet<string> { "127.0.0.1" }, 211SourceIpAddresses = new HashSet<string> { "127.0.0.1" },
Windows\WindowsCountersTests.cs (2)
26SourceIpAddresses = new HashSet<string> { "127.0.0.1", "[::1]" }, 68SourceIpAddresses = new HashSet<string> { "127.0.0.1", "[::1]" },
3 references to SourceIpAddresses
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
ResourceMonitoringOptionsCustomValidator.cs (2)
23foreach (var s in options.SourceIpAddresses) 28builder.AddError(nameof(options.SourceIpAddresses), "must contain IPv4 or IPv6 addresses only");
Windows\Network\WindowsTcpStateInfo.cs (1)
30var stringAddresses = options.Value.SourceIpAddresses;