示例#1
0
        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;
        }
示例#2
0
        internal PinningRoot(
            GCHandleKind rootType)
        {
            if ((rootType != GCHandleKind.AsyncPinned) && (rootType != GCHandleKind.Pinned))
            {
                throw new ArgumentException("Invalid Handle Type", "rootType");
            }

            _RootType = rootType;
        }