2 writes to handles
System.IO.Log (2)
System\IO\Log\LogReserveAndAppendState.cs (2)
453
this.
handles
= new GCHandle[pinnedObjectCount];
519
this.
handles
= null;
11 references to handles
System.IO.Log (11)
System\IO\Log\LogReserveAndAppendState.cs (11)
442
if (this.
handles
!= null)
465
this.
handles
[(int)PinIndex.ReturnLsn] = GCHandle.Alloc(this.boxedResultLsn, GCHandleType.Pinned);
472
this.
handles
[(int)PinIndex.Reservations] = GCHandle.Alloc(this.alignedReservations, GCHandleType.Pinned);
478
this.
handles
[(int)PinIndex.Header] = GCHandle.Alloc(this.headerBits, GCHandleType.Pinned);
490
this.
handles
[(int)PinIndex.FirstData + i] = GCHandle.Alloc(segment.Array, GCHandleType.Pinned);
511
if (this.
handles
!= null)
513
for (int i = 0; i < this.
handles
.Length; i++)
515
if (this.
handles
[i].IsAllocated)
516
this.
handles
[i].Free();
532
if (this.
handles
!= null)
622
this.
handles
[(int)PinIndex.ReturnLsn].AddrOfPinnedObject(),