8 references to AllPorts
System (8)
net\System\Net\SocketPermission.cs (8)
165
if (!ValidationHelper.ValidateTcpPort(port) && port != SocketPermission.
AllPorts
) {
569
if (!ValidationHelper.ValidateTcpPort(port) && port != SocketPermission.
AllPorts
) {
600
endpoint.AddAttribute("port", permission.Port !=
AllPorts
?
614
endpoint.AddAttribute("port", permission.Port !=
AllPorts
?
753
if (!ValidationHelper.ValidateTcpPort(port) && port != SocketPermission.
AllPorts
) {
1001
&& ((port == e.port) || (e.port == SocketPermission.
AllPorts
) || port == SocketPermission.AnyPort)
1040
else if (port == SocketPermission.
AllPorts
) {
1043
else if (E.port == SocketPermission.
AllPorts
) {