Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BufferList

IList<ArraySegment<byte> >? System.Net.Sockets.SocketAsyncEventArgs.BufferList
getsetinherited

Definition at line 228 of file SocketAsyncEventArgs.cs.

229 {
230 get
231 {
232 return _bufferList;
233 }
234 set
235 {
237 try
238 {
239 if (value != null)
240 {
241 if (!_buffer.Equals(default(Memory<byte>)))
242 {
244 }
245 int count = value.Count;
246 if (_bufferListInternal == null)
247 {
249 }
250 else
251 {
253 }
254 for (int i = 0; i < count; i++)
255 {
257 RangeValidationHelpers.ValidateSegment(arraySegment);
259 }
260 }
261 else
262 {
264 }
267 }
268 finally
269 {
270 Complete();
271 }
272 }
273 }
void Add(TKey key, TValue value)
List< ArraySegment< byte > > _bufferListInternal
IList< ArraySegment< byte > > _bufferList
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string net_ambiguousbuffers
Definition SR.cs:90
Definition SR.cs:7
override bool Equals([NotNullWhen(true)] object? obj)
Definition Memory.cs:255