1 instantiation of SocketAsyncContext
System.Net.Sockets (1)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
106Interlocked.CompareExchange(ref _asyncContext, new SocketAsyncContext(this), null) ??
48 references to SocketAsyncContext
System.Net.Sockets (48)
System\Net\Sockets\SafeSocketHandle.Unix.cs (2)
18private SocketAsyncContext? _asyncContext; 104internal SocketAsyncContext AsyncContext =>
System\Net\Sockets\SocketAsyncContext.Unix.cs (38)
128public readonly SocketAsyncContext AssociatedContext; 136public AsyncOperation(SocketAsyncContext context) 152public OperationResult TryComplete(SocketAsyncContext context) 317protected abstract bool DoTryComplete(SocketAsyncContext context); 328public void TraceWithContext(SocketAsyncContext context, string message, [CallerMemberName] string? memberName = null) 338public ReadOperation(SocketAsyncContext context) : base(context) { } 345public WriteOperation(SocketAsyncContext context) : base(context) { } 357public SendOperation(SocketAsyncContext context) : base(context) { } 369public BufferMemorySendOperation(SocketAsyncContext context) : base(context) { } 371protected override bool DoTryComplete(SocketAsyncContext context) 398public BufferListSendOperation(SocketAsyncContext context) : base(context) { } 400protected override bool DoTryComplete(SocketAsyncContext context) 425public BufferPtrSendOperation(SocketAsyncContext context) : base(context) { } 427protected override bool DoTryComplete(SocketAsyncContext context) 441public ReceiveOperation(SocketAsyncContext context) : base(context) { } 454public BufferMemoryReceiveOperation(SocketAsyncContext context) : base(context) { } 456protected override bool DoTryComplete(SocketAsyncContext context) 509public BufferListReceiveOperation(SocketAsyncContext context) : base(context) { } 511protected override bool DoTryComplete(SocketAsyncContext context) 543public BufferPtrReceiveOperation(SocketAsyncContext context) : base(context) { } 545protected override bool DoTryComplete(SocketAsyncContext context) 568public ReceiveMessageFromOperation(SocketAsyncContext context) : base(context) { } 572protected override bool DoTryComplete(SocketAsyncContext context) 598public BufferPtrReceiveMessageFromOperation(SocketAsyncContext context) : base(context) { } 602protected override bool DoTryComplete(SocketAsyncContext context) 620public AcceptOperation(SocketAsyncContext context) : base(context) { } 624protected override bool DoTryComplete(SocketAsyncContext context) 653public ConnectOperation(SocketAsyncContext context) : base(context) { } 655protected override bool DoTryComplete(SocketAsyncContext context) 696public SendFileOperation(SocketAsyncContext context) : base(context) { } 703protected override bool DoTryComplete(SocketAsyncContext context) => 807public bool IsReady(SocketAsyncContext context, out int observedSequenceNumber) 833public bool StartAsyncOperation(SocketAsyncContext context, TOperation operation, int observedSequenceNumber, CancellationToken cancellationToken = default) 921static void HandleFailedRegistration(SocketAsyncContext context, TOperation operation, Interop.Error error) 947public AsyncOperation? ProcessSyncEventOrGetAsyncEvent(SocketAsyncContext context, bool skipAsyncEvents = false) 1031SocketAsyncContext context = op.AssociatedContext; 1213public bool StopAndAbort(SocketAsyncContext context) 1248public void Trace(SocketAsyncContext context, string message, [CallerMemberName] string? memberName = null)
System\Net\Sockets\SocketAsyncEngine.Unix.cs (8)
111public static bool TryRegisterSocket(IntPtr socketHandle, SocketAsyncContext context, out SocketAsyncEngine? engine, out Interop.Error error) 120private bool TryRegisterCore(IntPtr socketHandle, SocketAsyncContext context, out Interop.Error error) 141public void UnregisterSocket(IntPtr socketHandle, SocketAsyncContext __) 345SocketAsyncContext context = contextWrapper.Context; 375public SocketAsyncContextWrapper(SocketAsyncContext context) => Context = context; 377internal SocketAsyncContext Context { get; } 382public SocketAsyncContext Context { get; } 385public SocketIOEvent(SocketAsyncContext context, Interop.Sys.SocketEvents events)