system\array.cs (99)
65Array.Copy(larray, 0, newArray, 0, larray.Length > newSize? newSize : larray.Length);
72public unsafe static Array CreateInstance(Type elementType, int length)
78Contract.Ensures(Contract.Result<Array>() != null);
79Contract.Ensures(Contract.Result<Array>().Length == length);
80Contract.Ensures(Contract.Result<Array>().Rank == 1);
90public unsafe static Array CreateInstance(Type elementType, int length1, int length2)
96Contract.Ensures(Contract.Result<Array>() != null);
97Contract.Ensures(Contract.Result<Array>().Rank == 2);
98Contract.Ensures(Contract.Result<Array>().GetLength(0) == length1);
99Contract.Ensures(Contract.Result<Array>().GetLength(1) == length2);
111public unsafe static Array CreateInstance(Type elementType, int length1, int length2, int length3)
121Contract.Ensures(Contract.Result<Array>() != null);
122Contract.Ensures(Contract.Result<Array>().Rank == 3);
123Contract.Ensures(Contract.Result<Array>().GetLength(0) == length1);
124Contract.Ensures(Contract.Result<Array>().GetLength(1) == length2);
125Contract.Ensures(Contract.Result<Array>().GetLength(2) == length3);
138public unsafe static Array CreateInstance(Type elementType, params int[] lengths)
146Contract.Ensures(Contract.Result<Array>() != null);
147Contract.Ensures(Contract.Result<Array>().Rank == lengths.Length);
166public static Array CreateInstance(Type elementType, params long[] lengths)
173Contract.Ensures(Contract.Result<Array>() != null);
174Contract.Ensures(Contract.Result<Array>().Rank == lengths.Length);
187return Array.CreateInstance(elementType, intLengths);
192public unsafe static Array CreateInstance(Type elementType, int[] lengths,int[] lowerBounds)
204Contract.Ensures(Contract.Result<Array>() != null);
205Contract.Ensures(Contract.Result<Array>().Rank == lengths.Length);
227private unsafe static extern Array InternalCreate(void* elementType,int rank,int *pLengths,int *pLowerBounds);
233internal static Array UnsafeCreateInstance(Type elementType, int length)
242internal static Array UnsafeCreateInstance(Type elementType, int length1, int length2)
251internal static Array UnsafeCreateInstance(Type elementType, params int[] lengths)
260internal static Array UnsafeCreateInstance(Type elementType, int[] lengths, int[] lowerBounds)
270public static void Copy(Array sourceArray, Array destinationArray, int length)
292public static void Copy(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length)
305internal static extern void Copy(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length, bool reliable);
314public static void ConstrainedCopy(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length)
320public static void Copy(Array sourceArray, Array destinationArray, long length)
325Array.Copy(sourceArray, destinationArray, (int) length);
329public static void Copy(Array sourceArray, long sourceIndex, Array destinationArray, long destinationIndex, long length)
338Array.Copy(sourceArray, (int) sourceIndex, destinationArray, (int) destinationIndex, (int) length);
349public static extern void Clear(Array array, int index, int length);
717return Array.IndexOf(this, value) >= this.GetLowerBound(0);
722Array.Clear(this, this.GetLowerBound(0), this.Length);
727return Array.IndexOf(this, value);
757Array o = other as Array;
787Array o = other as Array;
841public static int BinarySearch(Array array, Object value) {
865public static int BinarySearch(Array array, int index, int length, Object value) {
885public static int BinarySearch(Array array, Object value, IComparer comparer) {
911public static int BinarySearch(Array array, int index, int length, Object value, IComparer comparer) {
982private static extern bool TrySZBinarySearch(Array sourceArray, int sourceIndex, int count, Object value, out int retVal);
1058public void CopyTo(Array array, int index)
1064Array.Copy(this, GetLowerBound(0), array, index, Length);
1069public void CopyTo(Array array, long index)
1090return Array.FindIndex(array, match) != -1;
1282public static int IndexOf(Array array, Object value) {
1298public static int IndexOf(Array array, Object value, int startIndex) {
1315public static int IndexOf(Array array, Object value, int startIndex, int count) {
1414private static extern bool TrySZIndexOf(Array sourceArray, int sourceIndex, int count, Object value, out int retVal);
1422public static int LastIndexOf(Array array, Object value) {
1437public static int LastIndexOf(Array array, Object value, int startIndex) {
1454public static int LastIndexOf(Array array, Object value, int startIndex, int count) {
1570private static extern bool TrySZLastIndexOf(Array sourceArray, int sourceIndex, int count, Object value, out int retVal);
1579public static void Reverse(Array array) {
1594public static void Reverse(Array array, int index, int length) {
1636private static extern bool TrySZReverse(Array array, int index, int count);
1643public static void Sort(Array array) {
1657public static void Sort(Array keys, Array items) {
1669public static void Sort(Array array, int index, int length) {
1680public static void Sort(Array keys, Array items, int index, int length) {
1691public static void Sort(Array array, IComparer comparer) {
1707public static void Sort(Array keys, Array items, IComparer comparer) {
1721public static void Sort(Array array, int index, int length, IComparer comparer) {
1735public static void Sort(Array keys, Array items, int index, int length, IComparer comparer) {
1775private static extern bool TrySZSort(Array keys, Array items, int left, int right);
1900Array.Sort(array, comparer);
2255private Array keys;
2256private Array items;
2259internal SorterGenericArray(Array keys, Array items, IComparer comparer)
2573private Array _array;
2577internal SZArrayEnumerator(Array array) {
2612private Array array;
2619internal ArrayEnumerator(Array array, int index, int count) {
2766Array.Copy(_this, 0, array, index, _this.Length);
2814return Array.IndexOf(_this, value) != -1;
2832return Array.IndexOf(_this, value);
system\arraysegment.cs (3)
177int index = System.Array.IndexOf<T>(_array, item, _offset, _count);
239int index = System.Array.IndexOf<T>(_array, item, _offset, _count);
253System.Array.Copy(_array, _offset, array, arrayIndex, _count);
system\attribute.cs (11)
58Array array = CreateAttributeArrayHelper(type, attributeList.Count);
59Array.Copy(attributeList.ToArray(), 0, array, 0, attributeList.Count);
159Array array = CreateAttributeArrayHelper(type, attributeList.Count);
160Array.Copy(attributeList.ToArray(), 0, array, 0, attributeList.Count);
314Array.Copy(temp,ret,temp.Length);
395return Array.Empty<Type>();
441return (Attribute[])Array.UnsafeCreateInstance(elementType, elementCount);
880Array thisValueArray = thisValue as Array;
881Array thatValueArray = thatValue as Array;
system\buffer.cs (11)
52public static extern void BlockCopy(Array src, int srcOffset,
53Array dst, int dstOffset, int count);
62internal static extern void InternalBlockCopy(Array src, int srcOffsetBytes,
63Array dst, int dstOffsetBytes, int byteCount);
148private static extern bool IsPrimitiveTypeArray(Array array);
159private static extern byte _GetByte(Array array, int index);
162public static byte GetByte(Array array, int index)
188private static extern void _SetByte(Array array, int index, byte value);
191public static void SetByte(Array array, int index, byte value)
219private static extern int _ByteLength(Array array);
222public static int ByteLength(Array array)
system\collections\arraylist.cs (57)
123Array.Copy(_items, 0, newItems, 0, _size);
250return Array.BinarySearch((Array)_items, index, count, value, comparer);
270Array.Clear(_items, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
285Array.Copy(_items, 0, la._items, 0, _size);
312public virtual void CopyTo(Array array) {
319public virtual void CopyTo(Array array, int arrayIndex) {
324Array.Copy(_items, 0, array, arrayIndex, _size);
331public virtual void CopyTo(int index, Array array, int arrayIndex, int count) {
338Array.Copy(_items, index, array, arrayIndex, count);
350if ((uint)newCapacity > Array.MaxArrayLength) newCapacity = Array.MaxArrayLength;
416return Array.IndexOf((Array)_items, value, 0, _size);
433return Array.IndexOf((Array)_items, value, startIndex, _size - startIndex);
451return Array.IndexOf((Array)_items, value, startIndex, count);
466Array.Copy(_items, index, _items, index + 1, _size - index);
490Array.Copy(_items, index, _items, index + count, _size - index);
554return Array.LastIndexOf((Array)_items, value, startIndex, count);
603Array.Copy(_items, index + 1, _items, index, _size - index);
626Array.Copy(_items, index + count, _items, index, _size - index);
668Array.Reverse(_items, index, count);
728Array.Sort(_items, index, count, comparer);
760Array.Copy(_items, 0, array, 0, _size);
770public virtual Array ToArray(Type type) {
773Contract.Ensures(Contract.Result<Array>() != null);
775Array array = Array.UnsafeCreateInstance(type, _size);
776Array.Copy(_items, 0, array, 0, _size);
905public override void CopyTo(Array array, int index) {
909public override void CopyTo(int index, Array array, int arrayIndex, int count) {
1113Array.Sort(array, 0, count, comparer);
1128public override Array ToArray(Type type)
1133Array array = Array.UnsafeCreateInstance(type, _list.Count);
1321public override void CopyTo(Array array) {
1327public override void CopyTo(Array array, int index) {
1334public override void CopyTo(int index, Array array, int arrayIndex, int count) {
1472public override Array ToArray(Type type) {
1550public virtual void CopyTo(Array array, int index) {
1637public virtual void CopyTo(Array array, int index) {
1735public override void CopyTo(Array array, int index) {
1740public override void CopyTo(int index, Array array, int arrayIndex, int count) {
1836public override Array ToArray(Type type) {
1895public virtual void CopyTo(Array array, int index) {
1992public override void CopyTo(Array array, int index) {
1997public override void CopyTo(int index, Array array, int arrayIndex, int count) {
2090public override Array ToArray(Type type) {
2268public override void CopyTo(Array array, int index) {
2283public override void CopyTo(int index, Array array, int arrayIndex, int count) {
2520Array.Copy(_baseList._items, _baseIndex, array, 0, _baseSize);
2525public override Array ToArray(Type type) {
2531Array array = Array.UnsafeCreateInstance(type, _baseSize);
system\collections\bitarray.cs (6)
154Array.Copy(values, m_array, values.Length);
174Array.Copy(bits.m_array, m_array, arrayLength);
333Array.Copy(m_array, newarray, newints > m_array.Length ? m_array.Length : newints);
346Array.Clear(m_array, last + 1, newints - last - 1);
355public void CopyTo(Array array, int index)
370Array.Copy(m_array, 0, array, index, GetArrayLength(m_length, BitsPerInt32));
system\collections\generic\list.cs (27)
125Array.Copy(_items, 0, newItems, 0, _size);
286return Array.BinarySearch<T>(_items, index, count, item, comparer);
306Array.Clear(_items, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
367void System.Collections.ICollection.CopyTo(Array array, int arrayIndex) {
375Array.Copy(_items, 0, array, arrayIndex, _size);
393Array.Copy(_items, index, array, arrayIndex, count);
398Array.Copy(_items, 0, array, arrayIndex, _size);
410if ((uint)newCapacity > Array.MaxArrayLength) newCapacity = Array.MaxArrayLength;
598Array.Copy(_items, index, list._items, 0, count);
615return Array.IndexOf(_items, item, 0, _size);
641return Array.IndexOf(_items, item, index, _size - index);
662return Array.IndexOf(_items, item, index, count);
677Array.Copy(_items, index, _items, index + 1, _size - index);
717Array.Copy(_items, index, _items, index + count, _size - index);
723Array.Copy(_items, 0, _items, index, index);
725Array.Copy(_items, index+count, _items, index*2, _size-index);
817return Array.LastIndexOf(_items, item, index, count);
867Array.Clear(_items, freeIndex, _size - freeIndex);
884Array.Copy(_items, index + 1, _items, index, _size - index);
909Array.Copy(_items, index + count, _items, index, _size - index);
911Array.Clear(_items, _size, count);
941Array.Reverse(_items, index, count);
980Array.Sort<T>(_items, index, count, comparer);
991IComparer<T> comparer = new Array.FunctorComparer<T>(comparison);
992Array.Sort(_items, 0, _size, comparer);
1003Array.Copy(_items, 0, array, 0, _size);
system\collections\queue.cs (15)
96Array.Copy(_array, _head, q._array, 0, firstPart);
99Array.Copy(_array, 0, q._array, _array.Length - _head, numToCopy);
121Array.Clear(_array, _head, _size);
123Array.Clear(_array, _head, _array.Length - _head);
124Array.Clear(_array, 0, _tail);
136public virtual void CopyTo(Array array, int index)
153Array.Copy(_array, _head, array, index, firstPart);
156Array.Copy(_array, 0, array, index+_array.Length - _head, numToCopy);
260Array.Copy(_array, _head, arr, 0, _size);
262Array.Copy(_array, _head, arr, 0, _array.Length - _head);
263Array.Copy(_array, 0, arr, _array.Length - _head, _tail);
276Array.Copy(_array, _head, newarray, 0, _size);
278Array.Copy(_array, _head, newarray, 0, _array.Length - _head);
279Array.Copy(_array, 0, newarray, _array.Length - _head, _tail);
343public override void CopyTo(Array array, int arrayIndex) {
system\collections\sortedlist.cs (25)
173Array.Sort(keys, values, comparer);
183int i = Array.BinarySearch(keys, 0, _size, key, comparer);
210Array.Copy(keys, 0, newKeys, 0, _size);
211Array.Copy(values, 0, newValues, 0, _size);
282Array.Clear(keys, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
283Array.Clear(values, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
294Array.Copy(keys, 0, sl.keys, 0, _size);
295Array.Copy(values, 0, sl.values, 0, _size);
328public virtual void CopyTo(Array array, int arrayIndex) {
364if ((uint)newCapacity > Array.MaxArrayLength) newCapacity = Array.MaxArrayLength;
449int i = Array.BinarySearch(keys, 0, _size, key, comparer);
470int ret = Array.BinarySearch(keys, 0, _size, key, comparer);
481return Array.IndexOf(values, value, 0, _size);
488Array.Copy(keys, index, keys, index + 1, _size - index);
489Array.Copy(values, index, values, index + 1, _size - index);
505Array.Copy(keys, index + 1, keys, index, _size - index);
506Array.Copy(values, index + 1, values, index, _size - index);
642public override void CopyTo(Array array, int index) {
865public virtual void CopyTo(Array array, int arrayIndex) {
871Array.Copy(sortedList.keys, 0, array, arrayIndex, sortedList.Count);
896int i = Array.BinarySearch(sortedList.keys, 0,
952public virtual void CopyTo(Array array, int arrayIndex) {
958Array.Copy(sortedList.values, 0, array, arrayIndex, sortedList.Count);
979return Array.IndexOf(sortedList.values, value, 0, sortedList.Count);
system\collections\stack.cs (5)
93Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
103Array.Copy(_array, 0, s._array, 0, _size);
124public virtual void CopyTo(Array array, int index) {
185Array.Copy(_array, 0, newArray, 0, _size);
266public override void CopyTo(Array array, int arrayIndex) {
system\defaultbinder.cs (18)
316Array.Copy(args, 0, objs, 0, lastPos);
317objs[lastPos] = Array.UnsafeCreateInstance(paramArrayTypes[0], 1);
318((Array)objs[lastPos]).SetValue(args[lastPos], 0);
333objs[i] = Array.UnsafeCreateInstance(paramArrayTypes[0], 0); // create an empty array for the
346Array.Copy(args, 0, objs, 0, paramArrayPos);
347objs[paramArrayPos] = Array.UnsafeCreateInstance(paramArrayTypes[0], args.Length - paramArrayPos);
348Array.Copy(args, paramArrayPos, (System.Array)objs[paramArrayPos], 0, args.Length - paramArrayPos);
395Array.Copy(args, 0, objs, 0, lastPos);
396objs[lastPos] = Array.UnsafeCreateInstance(paramArrayTypes[currentMin], 1);
397((Array)objs[lastPos]).SetValue(args[lastPos], 0);
413objs[i] = Array.UnsafeCreateInstance(paramArrayTypes[currentMin], 0);
428Array.Copy(args, 0, objs, 0, paramArrayPos);
429objs[paramArrayPos] = Array.UnsafeCreateInstance(paramArrayTypes[currentMin], args.Length - paramArrayPos);
430Array.Copy(args, paramArrayPos, (System.Array)objs[paramArrayPos], 0, args.Length - paramArrayPos);
722Array.Copy(args, 0, newArgs, 0, paramArrayPos);
732Array.Copy(args, 0, newArgs, 0, binderState.m_originalSize);
system\diagnostics\eventing\eventsource.cs (5)
1756Array.Resize(ref bytes, 16);
3587Array.Copy(args, 1, newargs, 0, args.Length - 1);
3643Array.Copy(eventData, newValues, eventData.Length);
3682Array.Copy(eventData, newValues, newValues.Length);
5708Array.Sort(keyValues, (x, y) => (0x7FFFFFFF & (tickNow - y.Value)) - (0x7FFFFFFF & (tickNow - x.Value)));
system\reflection\customattribute.cs (33)
88return Array.AsReadOnly(pca);
111return Array.AsReadOnly(pca);
134return Array.AsReadOnly(pca);
192return Array.AsReadOnly(pca);
213return Array.AsReadOnly(pca);
316return Array.AsReadOnly(customAttributes);
416m_typedCtorArgs = Array.AsReadOnly(new CustomAttributeTypedArgument[]
421m_namedArgs = Array.AsReadOnly(new CustomAttributeNamedArgument[]
437m_typedCtorArgs = Array.AsReadOnly(new CustomAttributeTypedArgument[] {
440m_namedArgs = Array.AsReadOnly(new CustomAttributeNamedArgument[0]);
446m_typedCtorArgs = Array.AsReadOnly(new CustomAttributeTypedArgument[]
477m_namedArgs = Array.AsReadOnly(namedArgs);
488m_typedCtorArgs = Array.AsReadOnly(typedArgs);
491m_namedArgs = Array.AsReadOnly(namedArgs);
496m_typedCtorArgs = Array.AsReadOnly(new CustomAttributeTypedArgument[0]);
497m_namedArgs = Array.AsReadOnly(new CustomAttributeNamedArgument[0]);
546m_typedCtorArgs = Array.AsReadOnly(typedCtorArgs);
578m_namedArgs = Array.AsReadOnly(namedArgs);
710return typeof(Array);
899m_value = Array.AsReadOnly(arrayValue);
1349if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1372Array.Copy(result.ToArray(), 0, typedResult, 0, result.Count);
1450if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1473Array.Copy(result.ToArray(), 0, typedResult, 0, result.Count);
1486if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1505if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1523if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1536if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1549if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1564if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1578if (pcaCount > 0) Array.Copy(pca, 0, attributes, attributes.Length - pcaCount, pcaCount);
1842Array.Copy(attributes, 0, result, 0, cAttributes);
2094return (object[])Array.UnsafeCreateInstance(elementType, elementCount);
system\reflection\emit\ilgenerator.cs (23)
39Array.Copy(incoming, temp, incoming.Length);
46Array.Copy(incoming, temp, incoming.Length);
53Array.Copy(incoming, temp, incoming.Length);
61Array.Copy(incoming, temp, incoming.Length);
68Array.Copy(incoming, temp, incoming.Length);
265Array.Copy(m_ILStream, newBytes, newSize);
318Array.Copy(m_exceptions, temp, m_exceptionCount);
431Array.Copy(m_RelocFixupList, narrowTokens, m_RelocFixupCount);
1457Array.Copy(incoming, temp, incoming.Length);
1758Array.Copy(m_iOffsets, temp, m_iCount);
1762Array.Copy(m_ScopeActions, tempSA, m_iCount);
1766Array.Copy(m_localSymInfos, tempLSI, m_iCount);
1878Array.Copy(m_Documents, temp, m_DocumentCount);
1956Array.Copy(m_iOffsets, temp, m_iLineNumberCount);
1960Array.Copy(m_iLines, temp, m_iLineNumberCount);
1964Array.Copy(m_iColumns, temp, m_iLineNumberCount);
1968Array.Copy(m_iEndLines, temp, m_iLineNumberCount);
1972Array.Copy(m_iEndColumns, temp, m_iLineNumberCount);
1992Array.Copy(m_iOffsets, iOffsetsTemp, m_iLineNumberCount);
1995Array.Copy(m_iLines, iLinesTemp, m_iLineNumberCount);
1998Array.Copy(m_iColumns, iColumnsTemp, m_iLineNumberCount);
2001Array.Copy(m_iEndLines, iEndLinesTemp, m_iLineNumberCount);
2004Array.Copy(m_iEndColumns, iEndColumnsTemp, m_iLineNumberCount);
system\reflection\emit\methodbuilder.cs (9)
158Array.Copy(parameterTypes, m_parameterTypes, parameterTypes.Length);
836Array.Copy (parameterTypes, m_parameterTypes, parameterTypes.Length);
1090Array.Copy(il,m_ubBody,count);
1305Array.Copy(m_namespace, strTemp, m_iNameSpaceCount);
1327Array.Copy(m_iLocalSlot, temp, m_iLocalSymCount);
1331Array.Copy(m_iStartOffset, temp, m_iLocalSymCount);
1335Array.Copy(m_iEndOffset, temp, m_iLocalSymCount);
1339Array.Copy(m_strName, strTemp, m_iLocalSymCount);
1343Array.Copy(m_ubSignature, ubTemp, m_iLocalSymCount);
system\reflection\emit\signaturehelper.cs (4)
653Array.Copy(inArray, outArray, inArray.Length);
717Array.Copy(m_signature, m_sizeLoc + 1, temp, m_sizeLoc + newSigSize, currSigHolder - (m_sizeLoc + 1));
812Array.Copy(m_signature, 2, temp, sigCopyIndex, currSigLength - 2);
940Array.Copy(m_signature, temp, m_currSig);
system\rttype.cs (19)
142Array.Resize(ref _items, _count);
158Array.Copy(_items, 0, array, index, _count);
188Array.Resize(ref _items, newCapacity);
515Array.Resize(ref m_allMembers, memberCount);
606Array.Resize(ref cachedMembers2, newSize);
4070Array.Copy(ret, retVal, ret.Length);
4076public override Array GetEnumValues()
4086Array ret = Array.UnsafeCreateInstance(this, values.Length);
4129if (Array.IndexOf(names, value) >= 0)
4145return (Array.BinarySearch(ulValues, ulValue) >= 0);
4172int index = Array.BinarySearch(ulValues, ulValue);
4605if (namedParams != null && Array.IndexOf(namedParams, null) != -1)
4703if (selFld.FieldType.IsArray || Object.ReferenceEquals(selFld.FieldType, typeof(System.Array)))
4734Array a = (Array) selFld.GetValue(target);
5727Array oldArray = (Array)aArgs[i];
5729Object[] newArray = (Object[])Array.UnsafeCreateInstance(wrapperType, numElems);
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (4)
97Array.Sort(kvArray, keyValuePairComparator);
113Array.Sort(kvArray, keyValuePairComparator);
192int index = Array.BinarySearch(items, firstItemIndex, Count, searchKey, keyValuePairComparator);
199int index = Array.BinarySearch(items, firstItemIndex, Count, searchKey, keyValuePairComparator);
system\runtime\remoting\message.cs (5)
1987public virtual void CopyTo(Array array, int index)
3883Array.Copy(h, 1, newHeaders, 0, h.Length-1);
4247Array.Copy(h, 1, newHeaders, 0, h.Length-1);
5496Array.Copy(tempMarshalRequestMap, marshalRequestMap, marshalRequestCount);
5499Array.Copy(tempMarshalResponseMap, marshalResponseMap, marshalResponseCount);
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (13)
734pr.PRnewObj = Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA[0]);
741pr.PRnewObj = Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA, pr.PRlowerBoundA);
750pr.PRprimitiveArray = new PrimitiveArray(pr.PRarrayElementTypeCode, (Array)pr.PRnewObj);
787pr.PRnewObj = Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA);
789pr.PRnewObj = Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA, pr.PRlowerBoundA);
838Array.Copy(pr.PRrectangularMap, pr.PRindexMap, pr.PRrank);
893Array.Copy(objectPr.PRindexMap, 0, fixupIndex, 0, objectPr.PRrank);
904((Array)objectPr.PRnewObj).SetValue(refObj, objectPr.PRindexMap); // Object has been instantiated
926ValueFixupStack.Push(new ValueFixup((Array)objectPr.PRnewObj, objectPr.PRindexMap)); //valuefixup
941((Array)objectPr.PRnewObj).SetValue(pr.PRnewObj, objectPr.PRindexMap);
955((Array)objectPr.PRnewObj).SetValue((Object)pr.PRvalue, objectPr.PRindexMap);
992((Array)objectPr.PRnewObj).SetValue(var, objectPr.PRindexMap); // Primitive type
1018((Array)objectPr.PRnewObj).SetValue(var, objectPr.PRindexMap); // Primitive type
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (9)
315Array.Copy(objects, 0, newItems, 0, objects.Length);
450Array.Copy(negObjects, 0, newItems, 0, negObjects.Length);
457Array.Copy(objects, 0, newItems, 0, objects.Length);
540Array.Copy(negObjects, 0, newItems, 0, negObjects.Length);
547Array.Copy(objects, 0, newItems, 0, objects.Length);
657internal Array arrayObj;
665internal ValueFixup(Array arrayObj, int[] indexMap)
850internal PrimitiveArray(InternalPrimitiveTypeE code, Array array)
855internal void Init(InternalPrimitiveTypeE code, Array array)
system\runtime\serialization\objectmanager.cs (9)
198Array.Copy(m_objects, temp, m_objects.Length);
375Array.Copy(fieldsTemp, temp, fieldsTemp.Length);
417if (!(holder.ObjectValue is Array) && holder.ObjectValue!=null) {
464((Array)(holder.ObjectValue)).SetValue(fixupObj, arrayIndex);
578Contract.Assert(holder.ObjectValue is Array,"holder.ObjectValue is Array");
582((Array)(holder.ObjectValue)).SetValue(tempObjectHolder.ObjectValue, ((int[])fixupInfo));
1626Array.Copy(m_values, temp, m_count);
1715Array.Copy(m_values, temp, m_count);
1760Array.Copy(m_values, temp, m_count);
system\security\cryptography\cryptoapitransform.cs (6)
61Array.Copy(rgArgIds, _rgArgIds, rgArgIds.Length);
63Array.Copy(rgbKey, _rgbKey, rgbKey.Length);
70Array.Copy(rgbOrig, rgbNew, rgbOrig.Length);
135Array.Clear(_rgbKey,0,_rgbKey.Length);
139Array.Clear(IVValue,0,IVValue.Length);
143Array.Clear(_depadBuffer, 0, _depadBuffer.Length);
system\security\cryptography\cryptostream.cs (8)
145Array.Clear(_InputBuffer, 0, _InputBuffer.Length);
147Array.Clear(_OutputBuffer, 0, _OutputBuffer.Length);
251Array.Clear(tempInputBuffer, 0, tempInputBuffer.Length);
252Array.Clear(tempOutputBuffer, 0, tempOutputBuffer.Length);
427Array.Clear(tempInputBuffer, 0, tempInputBuffer.Length);
428Array.Clear(tempOutputBuffer, 0, tempOutputBuffer.Length);
719Array.Clear(_InputBuffer, 0, _InputBuffer.Length);
721Array.Clear(_OutputBuffer, 0, _OutputBuffer.Length);
system\security\cryptography\rijndaelmanagedtransform.cs (12)
94Array.Copy(encryptindex1, 0, m_encryptindex, 0, m_Nb);
95Array.Copy(encryptindex2, 0, m_encryptindex, m_Nb, m_Nb);
96Array.Copy(encryptindex3, 0, m_encryptindex, m_Nb * 2, m_Nb);
99Array.Copy(decryptindex1, 0, m_decryptindex, 0, m_Nb);
100Array.Copy(decryptindex2, 0, m_decryptindex, m_Nb, m_Nb);
101Array.Copy(decryptindex3, 0, m_decryptindex, m_Nb * 2, m_Nb);
177Array.Clear(m_IV, 0, m_IV.Length);
181Array.Clear(m_lastBlockBuffer, 0, m_lastBlockBuffer.Length);
185Array.Clear(m_encryptKeyExpansion, 0, m_encryptKeyExpansion.Length);
189Array.Clear(m_decryptKeyExpansion, 0, m_decryptKeyExpansion.Length);
193Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length);
197Array.Clear(m_shiftRegister, 0, m_shiftRegister.Length);
system\security\policy\hash.cs (5)
126Array.Copy(hashValue, hashClone, hashClone.Length);
242Array.Copy(sha1, returnHash, returnHash.Length);
261Array.Copy(sha256, returnHash, returnHash.Length);
280Array.Copy(md5, returnHash, returnHash.Length);
298Array.Copy(hashValue, returnHash, returnHash.Length);
system\threading\asynclocal.cs (4)
372Array.Copy(_keyValues, 0, multi._keyValues, 0, _keyValues.Length);
391if (i != 0) Array.Copy(_keyValues, 0, multi._keyValues, 0, i);
392if (i != _keyValues.Length - 1) Array.Copy(_keyValues, i + 1, multi._keyValues, i, _keyValues.Length - i - 1);
411Array.Copy(_keyValues, 0, multi._keyValues, 0, _keyValues.Length);
Core\CSharp\MS\Internal\Shaping\OpenTypeLayout.cs (4)
1301Array.Clear(_lookupUsageFlags, 0, requiredLookupUsageArraySize);
1413Array.Copy(_cachePointers, tmp, firstGlyphChanged);
1414Array.Copy(_cachePointers, oldAfterLastGlyphChanged, tmp, afterLastGlyphChanged, oldLength - oldAfterLastGlyphChanged);
1420Array.Copy(_cachePointers, oldAfterLastGlyphChanged, _cachePointers, afterLastGlyphChanged, oldLength - oldAfterLastGlyphChanged);
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (6)
62System.Array pixels,
385public virtual void CopyPixels(Int32Rect sourceRect, Array pixels, int stride, int offset)
411public virtual void CopyPixels(Array pixels, int stride, int offset)
708unsafe internal void CriticalCopyPixels(Int32Rect sourceRect, Array pixels, int stride, int offset)
1137int i = Array.IndexOf(s_supportedDUCEFormats, format);
1744return (Array.IndexOf(s_supportedDUCEFormats, format) != -1);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (14)
150internal void InitVector(Array array, Type type, VarEnum varEnum)
160internal void Init(Array array, Type type, VarEnum vt)
279else if (value is Array)
285InitVector(value as Array, typeof(sbyte), VarEnum.VT_I1);
289InitVector(value as Array, typeof(byte), VarEnum.VT_UI1);
311InitVector(value as Array, typeof(short), VarEnum.VT_I2);
315InitVector(value as Array, typeof(ushort), VarEnum.VT_UI2);
319InitVector(value as Array, typeof(int), VarEnum.VT_I4);
323InitVector(value as Array, typeof(uint), VarEnum.VT_UI4);
327InitVector(value as Array, typeof(Int64), VarEnum.VT_I8);
331InitVector(value as Array, typeof(UInt64), VarEnum.VT_UI8);
335InitVector(value as Array, typeof(float), VarEnum.VT_R4);
339InitVector(value as Array, typeof(double), VarEnum.VT_R8);
343InitVector(value as Array, typeof(Guid), VarEnum.VT_CLSID);
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (4)
73public void CopyTo(Array array, int index)
92Array.Copy(Items, 0, array, index, Size);
127Array.Copy(Items, 0, array, index, Size);
789Array.Copy(Items, 0, newItems, 0, Size);
src\Framework\MS\Internal\UncommonValueTable.cs (4)
54Array.Copy(_table, 0, newTable, 0, index);
55Array.Copy(_table, index, newTable, index+1, n-index);
81Array.Copy(_table, 0, newTable, 0, index);
82Array.Copy(_table, index+1, newTable, index, n-index);
src\Framework\System\Windows\Controls\Grid.cs (16)
458Array.Clear(_definitionIndices, 0, _definitionIndices.Length);
466Array.Clear(_roundingErrors, 0, _roundingErrors.Length);
1569Array.Sort(tempDefinitions, 0, count, s_spanPreferredDistributionOrderComparer);
1606Array.Sort(tempDefinitions, 0, count, s_spanMaxDistributionOrderComparer);
1751Array.Sort(tempDefinitions, 0, starDefinitionsCount, s_starDistributionOrderComparer);
1910Array.Sort(tempDefinitions, 0, minCount, s_minRatioComparer);
1911Array.Sort(tempDefinitions, defCount, maxCount, s_maxRatioComparer);
2067Array.Sort(tempDefinitions, 0, starCount, s_starWeightComparer);
2239Array.Sort(definitionIndices, 0, starDefinitionsCount, starDistributionOrderIndexComparer);
2287Array.Sort(definitionIndices, 0, definitions.Length, distributionOrderIndexComparer);
2326Array.Sort(definitionIndices, 0, definitions.Length, roundingErrorIndexComparer);
2522Array.Sort(definitionIndices, 0, minCount, minRatioIndexComparer);
2524Array.Sort(definitionIndices, defCount, maxCount, maxRatioIndexComparer);
2684Array.Sort(definitionIndices, 0, starCount, starWeightIndexComparer);
2786Array.Sort(definitionIndices, 0, definitions.Length, roundingErrorIndexComparer);
2936Array.Clear(extData.TempDefinitions, 0, Math.Max(DefinitionsU.Length, DefinitionsV.Length));
src\Framework\System\Windows\Documents\FlowPosition.cs (2)
236Array.Copy(text.ToCharArray(flow._offset, maxLength), 0, chars, startIndex, maxLength);
240Array.Copy(text.ToCharArray(flow._offset - maxLength, maxLength), 0, chars, startIndex, maxLength);
src\Framework\System\Windows\Documents\TextSchema.cs (6)
59Array.Copy(textElementPropertyList, 0, _inheritableTextElementProperties, 0, textElementPropertyList.Length);
60Array.Copy(Typography.TypographyPropertiesList, 0, _inheritableTextElementProperties, textElementPropertyList.Length, Typography.TypographyPropertiesList.Length);
71Array.Copy(blockPropertyList, 0, _inheritableBlockProperties, 0, blockPropertyList.Length);
72Array.Copy(_inheritableTextElementProperties, 0, _inheritableBlockProperties, blockPropertyList.Length, _inheritableTextElementProperties.Length);
82Array.Copy(tableCellPropertyList, _inheritableTableCellProperties, tableCellPropertyList.Length);
83Array.Copy(_inheritableTextElementProperties, 0, _inheritableTableCellProperties, tableCellPropertyList.Length, _inheritableTextElementProperties.Length);
src\Framework\System\Windows\Documents\TextTreeTextBlock.cs (8)
101Array.Copy(_text, 0, newText, 0, _gapOffset);
103Array.Copy(_text, _gapOffset + _gapSize, newText, newText.Length - rightOfGapLength, rightOfGapLength);
128Array.Copy(textChars, textStartIndex, _text, logicalOffset, count);
156Array.Copy(_text, 0, newBlock._text, 0, _gapOffset);
170Array.Copy(_text, _gapOffset, newBlock._text, _gapOffset, MaxBlockSize - _gapOffset);
255Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount);
270Array.Copy(_text, logicalOffset, chars, charsStartIndex, copyCount);
488Array.Copy(_text, sourceOffset, _text, destinationOffset, count);
compmod\system\collections\generic\queue.cs (14)
113Array.Clear(_array, _head, _size);
115Array.Clear(_array, _head, _array.Length - _head);
116Array.Clear(_array, 0, _tail);
148Array.Copy(_array, _head, array, arrayIndex, firstPart);
151Array.Copy(_array, 0, array, arrayIndex+_array.Length - _head, numToCopy);
155void System.Collections.ICollection.CopyTo(Array array, int index)
183Array.Copy(_array, _head, array, index, firstPart);
187Array.Copy(_array, 0, array, index+_array.Length - _head, numToCopy);
301Array.Copy(_array, _head, arr, 0, _size);
303Array.Copy(_array, _head, arr, 0, _array.Length - _head);
304Array.Copy(_array, 0, arr, _array.Length - _head, _tail);
317Array.Copy(_array, _head, newarray, 0, _size);
319Array.Copy(_array, _head, newarray, 0, _array.Length - _head);
320Array.Copy(_array, 0, newarray, _array.Length - _head, _tail);
compmod\system\collections\generic\sortedlist.cs (22)
170Array.Sort<TKey, TValue>(keys, values, comparer);
179int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer);
226Array.Copy(keys, 0, newKeys, 0, _size);
227Array.Copy(values, 0, newValues, 0, _size);
376Array.Clear(keys, 0, _size);
377Array.Clear(values, 0, _size);
425void System.Collections.ICollection.CopyTo(Array array, int arrayIndex) {
534int i = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer);
587int ret = Array.BinarySearch<TKey>(keys, 0, _size, key, comparer);
598return Array.IndexOf(values, value, 0, _size);
605Array.Copy(keys, index, keys, index + 1, _size - index);
606Array.Copy(values, index, values, index + 1, _size - index);
632Array.Copy(keys, index + 1, keys, index, _size - index);
633Array.Copy(values, index + 1, values, index, _size - index);
957Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count);
960void System.Collections.ICollection.CopyTo(Array array, int arrayIndex) {
966Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count);
998int i = Array.BinarySearch<TKey>(_dict.keys, 0,
1057Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count);
1060void System.Collections.ICollection.CopyTo(Array array, int arrayIndex) {
1066Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count);
1095return Array.IndexOf(_dict.values, value, 0, _dict.Count);
compmod\system\collections\generic\stack.cs (8)
113Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
150Array.Copy(_array, 0, array, arrayIndex, _size);
151Array.Reverse(array, arrayIndex, _size);
154void System.Collections.ICollection.CopyTo(Array array, int arrayIndex) {
176Array.Copy(_array, 0, array, arrayIndex, _size);
177Array.Reverse(array, arrayIndex, _size);
204Array.Copy(_array, 0, newarray, 0, _size);
237Array.Copy(_array, 0, newArray, 0, _size);
compmod\system\componentmodel\EventDescriptorCollection.cs (8)
172void ICollection.CopyTo(Array array, int index) {
174Array.Copy(events, 0, array, index, Count);
182Array.Copy(events, 0, newEvents, 0, Count);
209Array.Copy(events, 0, newEvents, 0, eventCount);
247return Array.IndexOf(events, value, 0, eventCount);
260Array.Copy(events, index, events, index + 1, eventCount - index);
290Array.Copy(events, index + 1, events, index, eventCount - index - 1);
411Array.Sort(events, sorter);
compmod\system\componentmodel\PropertyDescriptorCollection.cs (10)
196public void CopyTo(Array array, int index) {
198Array.Copy(properties, 0, array, index, Count);
206Array.Copy(properties, 0, newProps, 0, Count);
233Array.Copy(properties, 0, newProps, 0, propCount);
287return Array.IndexOf(properties, value, 0, propCount);
300Array.Copy(properties, index, properties, index + 1, propCount - index);
330Array.Copy(properties, index + 1, properties, index, propCount - index - 1);
436Array.Sort(properties, sorter);
450Array.Copy(properties, 0, enumProps, 0, propCount);
589Array.Copy(properties, 0, newProps, 0, propCount);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (6)
140temp[typeof(Array)] = typeof(ArrayConverter);
1062Array.Copy(events, 0, newEvents, 0, eventCount);
1279Array.Copy(properties, 0, newProperties, 0, propertyCount);
1517Array.Copy(attrArray, 0, temp, 0, attrArray.Length);
1518Array.Copy(baseArray, 0, temp, attrArray.Length, baseArray.Length);
1541Array.Copy(attrArray, 0, temp, 0, attrArray.Length);
regex\system\text\regularexpressions\RegexRunner.cs (3)
401System.Array.Copy(runtrack, 0, newtrack, runtrack.Length, runtrack.Length);
415System.Array.Copy(runstack, 0, newstack, runstack.Length, runstack.Length);
428System.Array.Copy(runcrawl, 0, newcrawl, runcrawl.Length, runcrawl.Length);
services\monitoring\system\diagnosticts\EventLogEntry.cs (3)
98Array.Copy(dataBuf, bufOffset + IntFrom(dataBuf, bufOffset + FieldOffsets.DATAOFFSET),
367Array.Copy(dataBuf, bufOffset + IntFrom(dataBuf, bufOffset + FieldOffsets.USERSIDOFFSET),
562Array.Copy(dataBuf, bufOffset, buf, 0, len);
sys\System\IO\compression\OutputWindow.cs (3)
43System.Array.Copy(window, copyStart, window, end, length);
120System.Array.Copy(window, WindowSize - tailLen,
125System.Array.Copy(window, copy_end - length, output, offset, length);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
277if (valueToConvert is Array)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
277if (valueToConvert is Array)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (3)
406Array.Copy((char[])_object, ndataIndex, buffer, bufferOffset, length);
471Array.Copy((char[])_object, 0, data, 0, CharsLength);
478Array.Copy(buffer, bufferOffset, (char[])_object, ndataIndex, length);
fx\src\data\System\Data\Common\DBConnectionString.cs (6)
309return ((null == _restrictionValues) || (0 > Array.BinarySearch(_restrictionValues, key, StringComparer.Ordinal)));
346if (0 > Array.BinarySearch(preventusage, allowonly[i], StringComparer.Ordinal)) {
364if (0 <= Array.BinarySearch(b, a[i], StringComparer.Ordinal)) {
391if (0 > Array.BinarySearch(a, b[i], StringComparer.Ordinal)) {
396Array.Sort(restrictionValues, StringComparer.Ordinal);
437Array.Sort(restrictions, StringComparer.Ordinal);
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (4)
156Array.Copy(_items, 0, array, arrayIndex, _items.Length);
159void System.Collections.ICollection.CopyTo(Array array, int arrayIndex) {
160Array.Copy(_items, 0, array, arrayIndex, _items.Length);
193return Array.IndexOf(_items, value) >= 0;
fx\src\data\System\Data\DataTableReader.cs (3)
347Array.Copy(tempBuffer, dataIndex, buffer, bufferIndex, byteCount);
397Array.Copy(tempBuffer, dataIndex, buffer, bufferIndex, charCount);
579Array.Copy(currentDataRow.ItemArray, values, currentDataRow.ItemArray.Length > values.Length ? values.Length : currentDataRow.ItemArray.Length);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (3)
927private long GetBytesOrChars(int i, long dataIndex, Array buffer, bool isCharsBuffer, int bufferIndex, int length) {
1029Array.Copy((byte[])cachedObj, (int)dataIndex, (byte[])buffer, bufferIndex, lengthOfCopy);
1160private int readBytesOrCharsSequentialAccess(int i, Array buffer, bool isCharsBuffer, int bufferIndex, long bytesOrCharsLength) {
fx\src\data\System\Data\Sql\SqlMetaData.cs (11)
907Array.Copy(rgbValue, rgbNewValue, rgbValue.Length);
908Array.Clear(rgbNewValue, rgbValue.Length, rgbNewValue.Length - rgbValue.Length);
926Array.Copy(rgbValue, rgbNewValue, (int)MaxLength);
950Array.Copy(value.Buffer, rgchNew, (int)oldLength);
994Array.Copy(value.Buffer, rgbNew, (int)oldLength);
1000Array.Clear(rgbTemp, oldLength, rgbTemp.Length - oldLength);
1334Array.Copy(value, rgbNewValue, value.Length);
1335Array.Clear(rgbNewValue, value.Length, (int) rgbNewValue.Length - value.Length);
1354Array.Copy(value, rgbNewValue, (int)MaxLength);
1390Array.Copy(value, rgchNew, (int)oldLength);
1414Array.Copy(value, rgchNewValue, (int)MaxLength);
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (3)
240 Array.Copy(m_rgbBuf, buffer, (int)m_lCurLen);
371 Array.Copy(m_rgbBuf, offset, buffer, offsetInBuffer, count);
429 Array.Copy(buffer, offsetInBuffer, m_rgbBuf, offset, count);
fx\src\data\System\Data\SQLTypes\SQLChars.cs (3)
233 Array.Copy(m_rgchBuf, buffer, (int)m_lCurLen);
368 Array.Copy(m_rgchBuf, offset, buffer, offsetInBuffer, count);
427 Array.Copy(buffer, offsetInBuffer, m_rgchBuf, offset, count);
System\ServiceModel\Channels\MessageHeaders.cs (4)
106Array.Copy(headers.headers, this.headers, headerCount);
752IList<MessageHeaderInfo> list = Array.AsReadOnly<MessageHeaderInfo>(headers);
1273Array.Copy(headers, headerIndex, headers, headerIndex + 1, headerCount - headerIndex);
1429Array.Copy(headers, headerIndex + 1, headers, headerIndex, headerCount - headerIndex - 1);
System\ServiceModel\Channels\SequenceRangeCollection.cs (7)
77lowerBound = Array.BinarySearch(sortedRanges, new SequenceRange(range.Lower), upperComparer);
92Array.Copy(sortedRanges, returnedRanges, sortedRanges.Length);
118upperBound = Array.BinarySearch(sortedRanges, new SequenceRange(range.Upper), lowerComparer);
135Array.Copy(sortedRanges, 0, returnedRanges, 1, sortedRanges.Length);
153Array.Copy(sortedRanges, returnedRanges, lowerBound);
155Array.Copy(sortedRanges, upperBound + 1, returnedRanges, lowerBound + 1, sortedRanges.Length - upperBound - 1);
251int searchValue = Array.BinarySearch(this.ranges, searchFor, lowerComparer);
System\ServiceModel\Dispatcher\QueryBranchOp.cs (4)
547Array.Copy(this.branches, branches, this.branches.Length);
596Array.Copy(this.branches, index, this.branches, index + 1, this.count - index);
620Array.Copy(this.branches, index + 1, this.branches, index, this.count - index - 1);
634Array.Copy(this.branches, branches, this.count);
System\ServiceModel\Dispatcher\QueryUtil.cs (16)
230Array.Resize<T>(ref this.buffer, this.count > 0 ? this.count * 2 : 16);
267Array.Copy(addBuffer.buffer, 0, this.buffer, this.count, addBuffer.count);
328Array.Copy(addBuffer.buffer, 0, this.buffer, 0, addCount);
349Array.Copy(this.buffer, dest, this.count);
374Array.Resize<T>(ref this.buffer, capacity > newCapacity ? capacity : newCapacity);
466Array.Copy(this.buffer, index, this.buffer, index + reserveCount, this.count - index);
484Array.Copy(this.buffer, index + 1, this.buffer, index, this.count - index - 1);
491Array.Sort<T>(this.buffer, 0, this.count, comparer);
530Array.Copy(this.buffer, newBuffer, this.count);
583Array.Resize(ref this.buffer, value);
712Array.Copy(this.buffer, 0, tmp, 1, this.size);
716Array.Copy(this.buffer, 0, tmp, 0, this.size);
720Array.Copy(this.buffer, 0, tmp, 0, index);
721Array.Copy(this.buffer, index, tmp, index + 1, this.size - index);
728Array.Copy(this.buffer, index, this.buffer, index + 1, this.size - index);
754Array.Copy(this.buffer, index + 1, this.buffer, index, this.size - index - 1);
System\ServiceModel\Transactions\WsatProxy.cs (5)
383Array.Copy(fixedPropagationToken, tokenCopy, fixedPropagationToken.Length);
418Array.Copy(transactionIdBytes, 0, token, offsetof_guidTx, transactionIdBytes.Length);
422Array.Copy(isoLevelBytes, 0, token, offsetof_isoLevel, isoLevelBytes.Length);
426Array.Copy(isoFlagsBytes, 0, token, offsetof_isoFlags, isoFlagsBytes.Length);
434Array.Copy(descriptionBytes, 0, token, offsetof_szDesc, copyDescriptionBytes);
Hosting\ISAPIWorkerRequest.cs (4)
126Array.Copy(_charBuffer, newBuffer, _freePos);
1573Array.Copy(buf, _clientCert, pInts[1]);
1577Array.Copy(buf, pInts[1], _clientCertBinaryIssuer, 0, pInts[2]);
1582Array.Copy(buf, pInts[1] + pInts[2], _clientCertPublicKey, 0, pInts[3]);
HttpInputStream.cs (6)
68Array.Copy(data, offset, _data, _length, length);
78Array.Copy(_data, 0, newData, 0, _length);
79Array.Copy(data, offset, newData, _length, length);
141Array.Copy(_data, offset - _chunkOffset, buffer, bufferOffset, length);
148Array.Copy(_data, offset - _chunkOffset, buffer, bufferOffset, length);
157Array.Copy(_data, offset, buffer, bufferOffset, length);
UI\ControlCollection.cs (8)
81Array.Copy(_controls, newArray, _controls.Length);
131Array.Copy(_controls, newArray, index);
135Array.Copy(_controls, index, newArray, index+1, _size - index);
140Array.Copy(_controls, index, _controls, index + 1, _size - index);
222return Array.IndexOf(_controls, value, 0, _size);
239public virtual void CopyTo(Array array, int index) {
245Array.Copy(_controls, 0, array, index, _size);
314Array.Copy(_controls, index + 1, _controls, index, _size - index);