private void ReadNextPasteTargetInfo(PasteTargetInfo obj) { obj.DefaultDragAndDropVerb = (DragAndDropVerb) this._source.Get_NodeData_PasteTargetInfo_DefaultDragAndDropVerb()[this._currentIndex]; int num = this._source.Get_NodeData_PasteTargetInfo_AllowedClipboardFormats_Count()[this._currentIndex]; string[] allowedClipboardFormats = null; if (num >= 0) { allowedClipboardFormats = new string[num]; } int index = 0; for (index = 0; index < num; index++) { allowedClipboardFormats[index] = this._strings.ReadString(); this._NodeData_PasteTargetInfo_AllowedClipboardFormats_Offset++; } obj.SetAllowedClipboardFormats(allowedClipboardFormats); }