2 instantiations of UdpReceiveResult
System.Net.Sockets (2)
System\Net\Sockets\UDPClient.cs (2)
628return new UdpReceiveResult(buffer, (IPEndPoint)result.RemoteEndPoint); 654return 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)
615public Task<UdpReceiveResult> ReceiveAsync() 624async Task<UdpReceiveResult> WaitAndWrap(Task<SocketReceiveFromResult> task) 641public ValueTask<UdpReceiveResult> ReceiveAsync(CancellationToken cancellationToken) 650async ValueTask<UdpReceiveResult> WaitAndWrap(ValueTask<SocketReceiveFromResult> task)
System\Net\Sockets\UdpReceiveResult.cs (16)
11public 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> 67obj 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> 74public 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> 85public 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> 96public static bool operator !=(UdpReceiveResult left, UdpReceiveResult right)