2 instantiations of UdpReceiveResult
System.Net.Sockets (2)
System\Net\Sockets\UDPClient.cs (2)
628
return new
UdpReceiveResult
(buffer, (IPEndPoint)result.RemoteEndPoint);
654
return new
UdpReceiveResult
(buffer, (IPEndPoint)result.RemoteEndPoint);
22 references to UdpReceiveResult
netstandard (1)
netstandard.cs (1)
1287
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.
UdpReceiveResult
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
777
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Sockets.
UdpReceiveResult
))]
System.Net.Sockets (20)
System\Net\Sockets\UDPClient.cs (4)
615
public Task<
UdpReceiveResult
> ReceiveAsync()
624
async Task<
UdpReceiveResult
> WaitAndWrap(Task<SocketReceiveFromResult> task)
641
public ValueTask<
UdpReceiveResult
> ReceiveAsync(CancellationToken cancellationToken)
650
async ValueTask<
UdpReceiveResult
> WaitAndWrap(ValueTask<SocketReceiveFromResult> task)
System\Net\Sockets\UdpReceiveResult.cs (16)
11
public struct UdpReceiveResult : IEquatable<
UdpReceiveResult
>
17
/// Initializes a new instance of the <see cref="
UdpReceiveResult
"/> class
65
/// <returns>true if obj is an instance of <see cref="
UdpReceiveResult
"/> and equals the value of the instance; otherwise, false</returns>
67
obj is
UdpReceiveResult
other && Equals(other);
73
/// <returns>true if other is an instance of <see cref="
UdpReceiveResult
"/> and equals the value of the instance; otherwise, false</returns>
74
public bool Equals(
UdpReceiveResult
other)
80
/// Tests whether two specified <see cref="
UdpReceiveResult
"/> instances are equivalent
82
/// <param name="left">The <see cref="
UdpReceiveResult
"/> instance that is to the left of the equality operator</param>
83
/// <param name="right">The <see cref="
UdpReceiveResult
"/> instance that is to the right of the equality operator</param>
85
public static bool operator ==(
UdpReceiveResult
left,
UdpReceiveResult
right)
91
/// Tests whether two specified <see cref="
UdpReceiveResult
"/> instances are not equal
93
/// <param name="left">The <see cref="
UdpReceiveResult
"/> instance that is to the left of the not equal operator</param>
94
/// <param name="right">The <see cref="
UdpReceiveResult
"/> instance that is to the right of the not equal operator</param>
96
public static bool operator !=(
UdpReceiveResult
left,
UdpReceiveResult
right)