5 writes to _tail
System.Net.Sockets (5)
System\Net\Sockets\SocketAsyncContext.Unix.cs (5)
884
_tail
= operation;
1113
_tail
= null;
1158
_tail
= null;
1204
_tail
= current;
1240
_tail
= null;
31 references to _tail
System.Net.Sockets (31)
System\Net\Sockets\SocketAsyncContext.Unix.cs (31)
873
if (
_tail
== null)
880
operation.Next =
_tail
.Next;
881
_tail
.Next = operation;
898
Debug.Assert(
_tail
== null);
959
Debug.Assert(
_tail
== null, "State == Ready but queue is not empty!");
965
Debug.Assert(
_tail
!= null, "State == Waiting but queue is empty!");
966
op =
_tail
.Next;
980
Debug.Assert(
_tail
!= null, "State == Processing but queue is empty!");
986
Debug.Assert(
_tail
== null);
1042
Debug.Assert(
_tail
== null);
1049
Debug.Assert(
_tail
!= null, "Unexpected empty queue while processing I/O");
1050
Debug.Assert(op ==
_tail
.Next, "Operation is not at head of queue???");
1070
Debug.Assert(
_tail
== null);
1102
Debug.Assert(
_tail
== null);
1108
Debug.Assert(
_tail
.Next == op, "Queue modified while processing queue");
1110
if (op ==
_tail
)
1122
nextOp =
_tail
.Next = op.Next;
1146
Debug.Assert(
_tail
== null);
1150
Debug.Assert(
_tail
!= null, "Unexpected empty queue in CancelAndContinueProcessing");
1152
if (
_tail
.Next == op)
1155
if (op ==
_tail
)
1164
_tail
.Next = op.Next;
1173
if (
_tail
== null)
1180
nextOp =
_tail
.Next;
1185
if (
_tail
== null)
1196
AsyncOperation current =
_tail
.Next;
1202
if (current.Next ==
_tail
)
1230
if (
_tail
!= null)
1232
AsyncOperation op =
_tail
;
1237
} while (op !=
_tail
);
1257
OutputTrace($"{IdOf(context)}-{queueType}.{memberName}: {message}, {_state}-{_sequenceNumber}, {((
_tail
== null) ? "empty" : "not empty")}");