public GCHandleKind PinKind; // Either AsyncPinned or Pinned. public PinningStackAnalysisPinInfo(double pinTimeRelativeMSec, StackSourceCallStackIndex pinStack, GCHandleKind pinKind) { // TODO: Complete member initialization PinTimeRelativeMSec = pinTimeRelativeMSec; PinStack = pinStack; PinKind = pinKind; }
internal PinningRoot( GCHandleKind rootType) { if ((rootType != GCHandleKind.AsyncPinned) && (rootType != GCHandleKind.Pinned)) { throw new ArgumentException("Invalid Handle Type", "rootType"); } _RootType = rootType; }