Inheritance: BaseFixupRecord
コード例 #1
0
ファイル: ObjectManager.cs プロジェクト: zgramana/mono
        public virtual void RecordArrayElementFixup(long arrayToBeFixed, int[] indices, long objectRequired)
        {
            if (arrayToBeFixed <= 0)
            {
                throw new ArgumentOutOfRangeException("arrayToBeFixed", "The arrayToBeFixed parameter is less than or equal to zero");
            }
            if (objectRequired <= 0)
            {
                throw new ArgumentOutOfRangeException("objectRequired", "The objectRequired parameter is less than or equal to zero");
            }
            if (indices == null)
            {
                throw new ArgumentNullException("indices");
            }
            MultiArrayFixupRecord record = new MultiArrayFixupRecord(GetObjectRecord(arrayToBeFixed), indices, GetObjectRecord(objectRequired));

            AddFixup(record);
        }
コード例 #2
0
		public virtual void RecordArrayElementFixup (long arrayToBeFixed, int[] indices, long objectRequired)
		{
			if (arrayToBeFixed <= 0) throw new ArgumentOutOfRangeException("arrayToBeFixed","The arrayToBeFixed parameter is less than or equal to zero");
			if (objectRequired <= 0) throw new ArgumentOutOfRangeException("objectRequired","The objectRequired parameter is less than or equal to zero");
			if (indices == null) throw new ArgumentNullException("indices");
			MultiArrayFixupRecord record = new MultiArrayFixupRecord (GetObjectRecord(arrayToBeFixed), indices, GetObjectRecord(objectRequired));
			AddFixup (record);
		}