2555 references to Array
mscorlib (679)
microsoft\win32\registrykey.cs (1)
1611else if (value is Array) {
system\_localdatastore.cs (1)
226Array.Copy(m_DataTable, NewDataTable, m_DataTable.Length);
system\_localdatastoremgr.cs (1)
185Array.Copy(m_SlotInfoTable, newSlotInfoTable, slotTableSize);
system\activationarguments.cs (2)
128Array.Copy(m_appManifestPaths, clone.m_appManifestPaths, clone.m_appManifestPaths.Length); 133Array.Copy(m_activationData, clone.m_activationData, clone.m_activationData.Length);
system\appdomain.cs (2)
4039int index = Array.BinarySearch<string>(_aptcaVisibleAssemblies, name, 4127int index = Array.BinarySearch(_aptcaVisibleAssemblies, asmName, new CAPTCASearcher());
system\AppDomainSetup.cs (1)
288Array.Sort<string>(_AptcaVisibleAssemblies, StringComparer.OrdinalIgnoreCase);
system\applicationid.cs (2)
48Array.Copy(publicKeyToken, 0, m_publicKeyToken, 0, publicKeyToken.Length); 58Array.Copy(m_publicKeyToken, 0, publicKeyToken, 0, m_publicKeyToken.Length);
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\collectionbase.cs (1)
99void ICollection.CopyTo(Array array, int index) {
system\Collections\Concurrent\ConcurrentDictionary.cs (5)
708return Array.Empty<KeyValuePair<TKey, TValue>>(); 1676void ICollection.CopyTo(Array array, int index) 1840if (newLength > Array.MaxArrayLength) 1853newLength = Array.MaxArrayLength; 1872Array.Copy(tables.m_locks, newLocks, tables.m_locks.Length);
system\Collections\Concurrent\ConcurrentQueue.cs (1)
161void ICollection.CopyTo(Array array, int index)
system\Collections\Concurrent\ConcurrentStack.cs (1)
294void ICollection.CopyTo(Array array, int index)
system\collections\concurrent\PartitionerStatic.cs (2)
110/// Creates an orderable partitioner from a <see cref="System.Array"/> instance. 681Array.Copy(fillBufferLocalRef, beginPos, destArray, 0, actualNumElementsGrabbed);
system\collections\dictionarybase.cs (1)
67public void CopyTo(Array array, int index) {
system\collections\emptyreadonlydictionaryinternal.cs (1)
39public void CopyTo(Array array, int index) {
system\collections\generic\dictionary.cs (5)
219Array.Clear(entries, 0, count); 448Array.Copy(entries, 0, newEntries, 0, count); 528void ICollection.CopyTo(Array array, int index) { 869void ICollection.CopyTo(Array array, int index) { 1056void ICollection.CopyTo(Array array, int index) {
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\hashtable.cs (7)
558private void CopyKeys(Array array, int arrayIndex) { 574private void CopyEntries(Array array, int arrayIndex) { 590public virtual void CopyTo(Array array, int arrayIndex) 627private void CopyValues(Array array, int arrayIndex) { 1307public virtual void CopyTo(Array array, int arrayIndex) { 1348public virtual void CopyTo(Array array, int arrayIndex) { 1480public override void CopyTo(Array array, int arrayIndex) {
system\collections\icollection.cs (1)
33void CopyTo(Array array, int index);
system\collections\listdictionaryinternal.cs (2)
197public void CopyTo(Array array, int index) { 333void ICollection.CopyTo(Array array, int index) {
system\collections\objectmodel\collection.cs (1)
174void ICollection.CopyTo(Array array, int index) {
system\collections\objectmodel\readonlycollection.cs (1)
119void ICollection.CopyTo(Array array, int index) {
system\collections\objectmodel\readonlydictionary.cs (4)
231void ICollection.CopyTo(Array array, int index) { 426void ICollection.CopyTo(Array array, int index) { 525void ICollection.CopyTo(Array array, int index) { 558internal static void CopyToNonGenericICollectionHelper<T>(ICollection<T> collection, Array array, int index)
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\readonlycollectionbase.cs (1)
41void ICollection.CopyTo(Array array, int index) {
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\configuration\assemblies\assemblyhash.cs (2)
36Array.Copy(value, _Value, length); 48Array.Copy(value, _Value, length);
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\Diagnostics\Eventing\TraceLogging\ConcurrentSet.cs (2)
104Array.Copy(oldItems, 0, newItems, 0, lo); 106Array.Copy(oldItems, lo, newItems, lo + 1, oldLength - lo);
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (3)
142internal void AddBinary(Array value, int size) 147internal void AddArray(Array value, int length, int itemSize) 264Array.Resize(ref this.buffer, newSize);
system\diagnostics\stacktrace.cs (1)
609Array.Copy(frames, m_iMethodsToSkip, array, 0, m_iNumOfFrames);
system\enum.cs (2)
495public static Array GetValues(Type enumType) 499Contract.Ensures(Contract.Result<Array>() != null);
system\globalization\culturedata.cs (4)
1085Array.Sort(replacementCultureNames); 1088return Array.BinarySearch(replacementCultureNames, name) >= 0; 2345Array.Copy(calendarInts, 1, calendarInts, 2, 23 - 1 - 1); 2352Array.Copy(calendarInts, temp, count);
system\globalization\datetimeformatinfo.cs (1)
1847Array.Copy(patterns, 0, newPatterns, 1, patterns.Length);
system\globalization\japanesecalendar.cs (2)
226Array.Resize(ref registryEraRanges, iFoundEras); 229Array.Sort(registryEraRanges, CompareEraRanges);
system\globalization\japaneselunisolarcalendar.cs (1)
259Array.Resize(ref newEras, newIndex);
system\globalization\stringinfo.cs (1)
358Array.Copy(result, returnArray, resultCount);
system\internal.cs (3)
58System.Array.Sort<double>(null); 59System.Array.Sort<int>(null); 60System.Array.Sort<IntPtr>(null);
system\io\isolatedstorage\isolatedstoragefile.cs (2)
2486Array.Resize(ref list, 2 * list.Length); 2511Array.Resize(ref list, listSize);
system\io\memorystream.cs (6)
181if ((uint)(_capacity * 2) > Array.MaxByteArrayLength) 182newCapacity = value > Array.MaxByteArrayLength ? value : Array.MaxByteArrayLength; 544Array.Clear(_buffer, _length, newLength - _length); 584Array.Clear(_buffer, _length, i - _length); 647Array.Clear(_buffer, _length, _position - _length);
system\reflection\assembly.cs (1)
819Array.Copy(ModuleTypes[i], 0, ret, iCurrent, iLength);
system\reflection\assemblyname.cs (2)
494Array.Copy(publicKey, _PublicKey, publicKey.Length); 499Array.Copy(publicKeyToken, _PublicKeyToken, publicKeyToken.Length);
system\reflection\ConstructorInfo.cs (1)
500Array.Copy(parameters, ret, parameters.Length);
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\assemblybuilder.cs (3)
405Array.Copy(attribute.m_blob, securityRulesBlob, securityRulesBlob.Length); 417Array.Copy(attribute.m_blob, aptcaBlob, aptcaBlob.Length); 1500System.Array.Copy(resource, m_assemblyData.m_resourceBytes, resource.Length);
system\reflection\emit\assemblybuilderdata.cs (3)
86Array.Copy(m_CABuilders, tempCABuilders, m_iCABuilder); 119Array.Copy(binaryAttribute, attrs, binaryAttribute.Length); 461Array.Copy(m_publicComTypeList, tempTypeList, m_iPublicComTypeCount);
system\reflection\emit\customattributebuilder.cs (3)
135Array.Copy(constructorArgs, m_constructorArgs, constructorArgs.Length); 446Array a = (Array)value;
system\reflection\emit\dynamicmethod.cs (1)
916Array.Copy(privateParameters, parameters, privateParameters.Length);
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\localbuilder.cs (1)
105Array.Copy(signature, 1, mungedSig, 0, sigLength - 1);
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\modulebuilder.cs (2)
1409System.Array.Copy(resource, m_moduleData.m_resourceBytes, resource.Length); 2245Array.Copy(sigBytes, localSigBytes, sigBytes.Length);
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\reflection\emit\symbolmethod.cs (1)
49Array.Copy(parameterTypes, m_parameterTypes, parameterTypes.Length);
system\reflection\emit\symboltype.cs (4)
256Array.Copy(m_iaLowerBound, iaTemp, m_cRank); 258Array.Copy(m_iaUpperBound, iaTemp, m_cRank); 272Array.Copy(bFormat, curIndex, bFormatTemp, 0, length); 417get { return typeof(System.Array); }
system\reflection\emit\typebuilder.cs (1)
240Array.Copy(attr, localAttr, attr.Length);
system\reflection\methodbody.cs (2)
131public virtual IList<LocalVariableInfo> LocalVariables { get { return Array.AsReadOnly(m_localVariables); } } 135public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses { get { return Array.AsReadOnly(m_exceptionHandlingClauses); } }
system\reflection\methodinfo.cs (1)
598Array.Copy(m_parameters, ret, m_parameters.Length);
system\reflection\propertyinfo.cs (1)
539Array.Copy(indexParams, ret, numParams);
system\reflection\strongnamekeypair.cs (2)
84Array.Copy(keyPairArray, _keyPairArray, keyPairArray.Length); 128Array.Copy(_publicKey, publicKey, _publicKey.Length);
system\resources\resourcemanager.cs (1)
1495int pos = Array.IndexOf(installedSatellites, lookForCulture.Name);
system\resources\resourcereader.cs (2)
1219Array.Sort(sortedDataPositions); 1221int index = Array.BinarySearch(sortedDataPositions, dataPos);
system\resources\resourcewriter.cs (1)
451Array.Sort(nameHashes, namePositions);
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\compilerservices\runtimehelpers.cs (1)
32public static extern void InitializeArray(Array array,RuntimeFieldHandle fldHandle);
system\runtime\interopservices\gchandlecookietable.cs (2)
182Array.Copy(m_HandleList, newHandleList, CurrLength); 183Array.Copy(m_CycleCounts, newCycleCounts, CurrLength);
system\runtime\interopservices\marshal.cs (3)
314public static extern IntPtr UnsafeAddrOfPinnedArrayElement(Array arr, int index); 319return UnsafeAddrOfPinnedArrayElement((Array)arr, index); 2255Array.Copy(objects, result, objects.Length);
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (1)
70internal void CopyTo(Array array, int arrayIndex)
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (4)
375Array dataArray = _data as Array; 538Array dataArray = _data as Array;
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (3)
237void ICollection.CopyTo(Array array, int index) 299return CreateIReferenceArray((Array) obj); 368internal static Object CreateIReferenceArray(Array obj)
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\activationservices.cs (4)
1011Array.Copy( 1025Array.Copy(retAttr, ctxAttr, numAttr); 1749Array.Copy(activationTypes, newTypes, activationTypes.Length); 1750Array.Copy(activationAttributes, newAttr, activationAttributes.Length);
system\runtime\remoting\context.cs (2)
326Array.Copy(_ctxProps, retProps, _numCtxProps); 354Array.Copy(props, newProps, props.Length);
system\runtime\remoting\crossappdomainchannel.cs (2)
273Array.Copy(_sinks, tmpSinks, _sinks.Length); 274Array.Copy(_sinkKeys, tmpKeys, _sinkKeys.Length);
system\runtime\remoting\dynamicpropertyholder.cs (3)
110Array.Copy(_props, retProps, _numProps); 157Array.Copy(sinks, newSinks, sinks.Length); 201Array.Copy(props, newProps, props.Length);
system\runtime\remoting\ichannel.cs (2)
717public virtual void CopyTo(Array array, int index) { throw new NotSupportedException(); } 902public virtual void CopyTo(Array array, int index) { throw new NotSupportedException(); }
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\remoting\messagesmuggler.cs (2)
114Array array = arg as Array;
system\runtime\remoting\objref.cs (1)
1028Array.Copy(channelData, newChannelData, channelDataLength);
system\runtime\remoting\realproxy.cs (4)
501Array arg = args[index] as Array; 504Array.Copy((Array)outArgs[index], arg, arg.Length);
system\runtime\remoting\remotingservices.cs (1)
621Array.Copy(channelData, newChannelData, channelDataLength);
system\runtime\remoting\trackingservices.cs (2)
85Array.Copy(_Handlers, temp, _Size); 119Array.Copy(_Handlers, matchingIdx+1, _Handlers, matchingIdx, _Size-matchingIdx-1);
system\runtime\serialization\formatters\binary\binaryconverter.cs (2)
277internal static Array CreatePrimitiveArray(InternalPrimitiveTypeE code, int length) 279Array array = null;
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (2)
340internal void WriteSingleArray(NameInfo memberNameInfo, NameInfo arrayNameInfo, WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, int length, int lowerBound, Array array) 397private void WriteArrayAsBytes(Array array, int typeLength)
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\binaryobjectwriter.cs (3)
732System.Array array = (System.Array)objectInfo.obj; 976private void WriteRectangle(WriteObjectInfo objectInfo, int rank, int[] maxA, System.Array array, NameInfo arrayElemNameTypeInfo, int[] lowerBoundA)
system\runtime\serialization\formatters\binary\binaryparser.cs (2)
1024Array array = (Array)pr.PRnewObj;
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\formatterservices.cs (2)
133Array.Copy(typeMembers, membersTemp, typeMembers.Length); 164Array.Copy(parentTypes, 0, tempParentTypes, 0, parentTypeCount);
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\runtime\serialization\serializationinfo.cs (3)
277Array.Copy(m_members, newMembers, m_currMember); 278Array.Copy(m_data, newData, m_currMember); 279Array.Copy(m_types, newTypes, m_currMember);
system\security\accesscontrol\acl.cs (1)
171void ICollection.CopyTo( Array array, int index )
system\security\cryptography\base64transforms.cs (1)
264Array.Clear(_inputBuffer, 0, _inputBuffer.Length);
system\security\cryptography\capinative.cs (2)
457Array.Copy(signature, signatureValue, signatureValue.Length); 458Array.Reverse(signatureValue);
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\cryptoconfig.cs (3)
552Array.Copy(names, algorithmNames, algorithmNames.Length); 697Array.Copy(names, oidNames, oidNames.Length); 773Array.Copy(retval, 0, encodedOidNums, encodedOidNumsIndex, retval.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\hashalgorithm.cs (1)
212Array.Clear(HashValue, 0, HashValue.Length);
system\security\cryptography\hmac.cs (2)
170Array.Clear(m_inner, 0, m_inner.Length); 172Array.Clear(m_outer, 0, m_outer.Length);
system\security\cryptography\keyedhashalgorithm.cs (1)
25Array.Clear(KeyValue, 0, KeyValue.Length);
system\security\cryptography\mactripledes.cs (1)
164Array.Clear(_Buffer, 0, _Buffer.Length);
system\security\cryptography\passwordderivebytes.cs (4)
195Array.Clear(_baseValue, 0, _baseValue.Length); 198Array.Clear(_extra, 0, _extra.Length); 201Array.Clear(_password, 0, _password.Length); 204Array.Clear(_salt, 0, _salt.Length);
system\security\cryptography\randomnumbergenerator.cs (1)
62Array.Copy(tempData, 0, data, offset, count);
system\security\cryptography\rfc2898derivebytes.cs (3)
207Array.Clear(m_buffer, 0, m_buffer.Length); 210Array.Clear(m_salt, 0, m_salt.Length); 217Array.Clear(m_buffer, 0, m_buffer.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\cryptography\ripemd160managed.cs (2)
59Array.Clear(_blockDWords, 0, _blockDWords.Length); 60Array.Clear(_buffer, 0, _buffer.Length);
system\security\cryptography\sha1managed.cs (3)
69Array.Clear(_buffer, 0, _buffer.Length); 70Array.Clear(_expandedBuffer, 0, _expandedBuffer.Length); 84_impl.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
system\security\cryptography\sha256managed.cs (3)
71Array.Clear(_buffer, 0, _buffer.Length); 72Array.Clear(_W, 0, _W.Length); 86_impl.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
system\security\cryptography\sha384managed.cs (3)
68Array.Clear(_buffer, 0, _buffer.Length); 69Array.Clear(_W, 0, _W.Length); 85_impl.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
system\security\cryptography\sha512managed.cs (3)
60Array.Clear(_buffer, 0, _buffer.Length); 61Array.Clear(_W, 0, _W.Length); 77_impl.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
system\security\cryptography\symmetricalgorithm.cs (2)
63Array.Clear(KeyValue, 0, KeyValue.Length); 67Array.Clear(IVValue, 0, IVValue.Length);
system\security\cryptography\utils.cs (1)
686Array.Clear(counter, 0, counter.Length);
system\security\permissions\fileiopermission.cs (1)
227Array.Copy(pathListOrig, pathList, pathListOrig.Length);
system\security\permissions\keycontainerpermission.cs (1)
299void ICollection.CopyTo (Array array, int index) {
system\security\permissions\strongnamepublickeyblob.cs (1)
33Array.Copy( publicKey, 0, this.PublicKey, 0, publicKey.Length );
system\security\permissionset.cs (1)
257public virtual void CopyTo(Array array, int index)
system\security\policy\applicationtrust.cs (1)
616void ICollection.CopyTo(Array array, int index) {
system\security\policy\evidence.cs (2)
261Array.Resize(ref runtimeEvidenceTypes, l+1); 1064public void CopyTo(Array array, int index)
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\security\policy\hashmembershipcondition.cs (3)
62Array.Copy(value, m_value, value.Length); 97Array.Copy(value, m_value, value.Length); 106Array.Copy(m_value, value, m_value.Length);
system\security\securitydocument.cs (1)
97Array.Copy( m_data, 0, m_newData, 0, m_data.Length );
system\security\util\tokenbasedset.cs (2)
151System.Array.Copy(aObj, 0, aNew, 0, aLen); 226System.Array.Copy(aObj, 0, newset, 0, m_maxIndex+1);
system\text\encodingprovider.cs (2)
59if (Array.IndexOf(s_providers, provider) >= 0) 65Array.Copy(s_providers, providers, s_providers.Length);
system\text\stringbuilder.cs (3)
303Array.Copy(m_ChunkChars, newArray, m_ChunkLength); 501Array.Copy(chunk.m_ChunkChars, newArray, chunk.m_ChunkLength); 1581Array.Copy(replacements, newArray, replacements.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);
system\threading\executioncontext.cs (2)
712Contract.Assert(Array.IndexOf(current._localChangeNotifications, local) >= 0); 724Array.Resize(ref newChangeNotifications, newNotificationIndex + 1);
system\threading\Tasks\Task.cs (1)
5497signaledTaskIndex = Array.IndexOf(tasks, firstCompleted.Result);
system\threading\ThreadLocal.cs (3)
589if ((uint)minSize > Array.MaxArrayLength) 624if ((uint)newSize > Array.MaxArrayLength) 626newSize = Array.MaxArrayLength;
system\threading\threadpool.cs (1)
109Array.Copy(array, newArray, i + 1);
system\type.cs (12)
1393Array values; 1400public virtual Array GetEnumValues() 1404Contract.Ensures(Contract.Result<Array>() != null); 1410private Array GetEnumRawConstantValues() 1413Array values; 1419private void GetEnumData(out string[] enumNames, out Array enumValues) 1422Contract.Ensures(Contract.ValueAtReturn<Array>(out enumValues) != null); 1506if (Array.IndexOf(names, value) >= 0) 1520Array values = GetEnumRawConstantValues(); 1549Array values = GetEnumRawConstantValues(); 1562private static int BinarySearch(Array array, object value) 1570return Array.BinarySearch(ulArray, ulValue);
system\typenameparser.cs (1)
314if (Array.IndexOf<char>(SPECIAL_CHARS, c) >= 0)
system\variant.cs (1)
302if (obj is Array) {
PresentationBuildTasks (3)
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
252|| typeof(Array).IsAssignableFrom(type));
Framework\System\Windows\Markup\XmlnsDictionary.cs (2)
267public void CopyTo(Array array, int index) 650Array.Copy(_nsDeclarations, 0, new_nsDeclarations, 0, _nsDeclarations.Length);
PresentationCore (146)
Core\CSharp\MS\Internal\FontCache\BufferCache.cs (5)
165private static Array GetBuffer(int length, int index) 167Array buffer = null; 193private static void ReleaseBuffer(Array buffer, int index) 201_buffers = new Array[BuffersLength]; 245static private Array[] _buffers;
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
617if (Array.IndexOf<char>(InvalidFileNameChars, unescapedChar) >= 0)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
462Array.Clear(glyphBits, 0, glyphBitsLength);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (2)
373Array.Copy(fileReadBuffer, newBuffer, memoryFontSize); 393Array.Copy(fileReadBuffer, memoryFont, memoryFontSize);
Core\CSharp\MS\Internal\FontFace\CompositeFontInfo.cs (1)
289Array.Copy(ranges, temp, count);
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (10)
75Array array1 = (Array)this.Value; 76Array array2 = (Array)that.Value; 213Array newArray = Array.CreateInstance(elementType, ((Array)_value).Length); 214Array.Copy((Array)_value, newArray, ((Array)_value).Length);
Core\CSharp\MS\Internal\PartialArray.cs (1)
115int index = Array.IndexOf<T>(_array, item, _initialIndex, _count);
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\MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
553Array.Sort(records, 0, recordCount);
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (2)
90if (Array.IndexOf(InputManager.SynchronizedInputEvents, args.RoutedEvent) >= 0) 104Array.IndexOf(InputManager.SynchronizedInputEvents, args.RoutedEvent) >= 0)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (1)
528Array.Sort(bounds); // sort the TextEffect bounds.
Core\CSharp\System\Windows\ClassHandlersStore.cs (1)
59Array.Copy(handlers.Handlers, 0, mergedHandlers, 0, length);
Core\CSharp\System\Windows\DataObject.cs (2)
4110datalist = (DataStoreEntry[])Array.CreateInstance(typeof(DataStoreEntry), 1); 4116newlist = (DataStoreEntry[])Array.CreateInstance(typeof(DataStoreEntry), datalist.Length + 1);
Core\CSharp\System\Windows\FreezableCollection.cs (1)
509void ICollection.CopyTo(Array array, int index)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
406void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\GlobalEventManager.cs (2)
118if(Array.IndexOf(routedEvents, routedEvent) < 0) 137if(Array.IndexOf(routedEvents, routedEvent) < 0)
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
82void ICollection.CopyTo(System.Array array, int index)
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (1)
91void ICollection.CopyTo(System.Array array, int index)
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (1)
80void ICollection.CopyTo(System.Array array, int index)
Core\CSharp\System\Windows\Input\InputManager.cs (2)
966Array.IndexOf(SynchronizedInputEvents, input.RoutedEvent) < 0 && 967Array.IndexOf(PairedSynchronizedInputEvents, input.RoutedEvent) < 0)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
816Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
816Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
816Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
816Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
816Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
414void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
194void SC.ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (2)
160void SC.ICollection.CopyTo(Array array, int index) 467public void CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
413void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (3)
100Array.Copy(_items, 0, array, index, _count); 103void SC.ICollection.CopyTo(Array array, int index) 122Array.Copy(_items, 0, array, index, _count);
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (3)
106void SC.ICollection.CopyTo(Array array, int index) 384private void CopyItems(Array array, int index) 405Array.Copy(_items, 0, array, index, _count);
Core\CSharp\System\Windows\Media\Fonts.cs (1)
273return Array.AsReadOnly<FontFamily>(fontFamilyList);
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
380void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
427void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
415void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
427void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
415void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
380void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
416void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
415void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
380void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
415void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
427void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
380void ICollection.CopyTo(Array array, int index)
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\CachedBitmap.cs (1)
151System.Array pixels,
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);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (3)
437Array sourceBuffer, 555Array pixels, 1260private void ValidateArrayAndGetInfo(Array sourceBuffer,
Core\CSharp\System\Windows\Media\KnownColors.cs (1)
178Array knownColorValues = Enum.GetValues(typeof(KnownColor));
Core\CSharp\System\Windows\Media\MatrixStack.cs (1)
51Array.Copy(_items, newItems, _size);
Core\CSharp\System\Windows\Media\VisualCollection.cs (2)
192public void CopyTo(Array array, int index) 293Array.Copy(_items, 0, newItems, 0, _size);
Core\CSharp\System\Windows\Media\VisualProxy.cs (1)
581Array.Copy(_tail, reallocatedTail, Math.Min(_tail.Length, newLength));
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
411void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
423void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
423void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
376void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
423void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
376void ICollection.CopyTo(Array array, int index)
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
168void ICollection.CopyTo(Array array, int index)
Graphics\include\exports.cs (2)
2206Array.Sort(doubleArray, 0, countX); 2212Array.Sort(doubleArray, countX, countY);
Shared\MS\Internal\PriorityQueue.cs (1)
116Array.Resize<T>(ref _heap, _count * 2);
PresentationFramework (95)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
351void ICollection.CopyTo(Array array, int index)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
314internal static void CopyTo(IEnumerable collection, Array array, int index)
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
624public void CopyTo(Array array, int index)
src\Framework\MS\Internal\Data\RBNode.cs (2)
55public int OffsetOf(T x) { return Array.IndexOf(_data, x); } 311Array.Copy(sourceNode._data, sourceOffset, destNode._data, destOffset, count);
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
109Array.Sort(list, sfc);
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\IO\Packaging\ByteStream.cs (1)
344Array.Copy(localBuffer, 0, buffer, offset, read);
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
869Array.Clear(nulls, 0, nulls.Length);
src\Framework\MS\Internal\PtsHost\DtrList.cs (2)
135Array.Copy(_dtrs, i, _dtrs, i+1, _count-i); 323Array.Copy(_dtrs, newdtrs, _dtrs.Length);
src\Framework\MS\Internal\PtsHost\PtsContext.cs (1)
478Array.Copy(_unmanagedHandles, newItems, _unmanagedHandles.Length);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
2052Array.Copy(
src\Framework\MS\Internal\PtsTable\RowSpanVector.cs (1)
257Array.Copy(_entries, newEntries, _entries.Length);
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\CustomDictionarySources.cs (1)
299void ICollection.CopyTo(Array array, int 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\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
41_clearedColumns = System.Array.AsReadOnly<GridViewColumn>(clearedColumns);
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
302public void CopyTo(Array array, int index)
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (1)
313public void CopyTo(Array array, int index)
src\Framework\System\Windows\Controls\UIElementCollection.cs (1)
85public virtual void CopyTo(Array array, int index)
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
458Array.Reverse(args);
src\Framework\System\Windows\Data\BindingExpression.cs (1)
1239Array.Copy(newWorkerSources, 0, newSources, offset, n);
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
487Array.Copy(temp, 0, result, 0, j); 2914Array.Copy(sources, 0, temp, 0, n);
src\Framework\System\Windows\Data\CompositeCollection.cs (1)
105public void CopyTo(Array array, int index)
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
612Array.Clear(_tempTypes, 0, _tempTypes.Length); 1267Array.Clear(_tempValues, 0, _tempValues.Length);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
440Array.Reverse(chars);
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\ImmComposition.cs (2)
1067Array.Copy(resultChars, 0, compositionText, 0, resultLength); 1068Array.Copy(compositionChars, 0, compositionText, resultLength, compositionLength);
src\Framework\System\Windows\Documents\Speller.cs (1)
1022Array.Copy(data.TextMap.Text, sTextRange.Start, word, 0, sTextRange.Length);
src\Framework\System\Windows\Documents\TableCellCollection.cs (1)
64public void CopyTo(Array array, int index)
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
65public void CopyTo(Array array, int index)
src\Framework\System\Windows\Documents\TableRowCollection.cs (1)
64public void CopyTo(Array array, int index)
src\Framework\System\Windows\Documents\TableRowGroupCollection.cs (1)
64public void CopyTo(Array array, int index)
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
623void ICollection.CopyTo(Array array, int arrayIndex)
src\Framework\System\Windows\Documents\TextElementCollectionHelper.cs (1)
117Array.Copy(_cleanParentList, 0, _cleanParentList, 1, index);
src\Framework\System\Windows\Documents\TextPointerBase.cs (3)
647return Array.IndexOf(NextLineCharacters, ch) > -1; 1467Array.Copy(preceedingText, SelectionWordBreaker.MinContextLength - preceedingCount, text, 0, preceedingCount); 1468Array.Copy(followingText, 0, text, preceedingCount, followingCount);
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);
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
398Array.Reverse(args);
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
373void ICollection.CopyTo(Array array, int index)
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
530Array.Sort(entries, delegate(DictionaryEntry one, DictionaryEntry two) 969Array array = value as Array;
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1169typeof(Array).IsAssignableFrom(type);
src\Framework\System\Windows\Markup\XmlnsDictionary.cs (3)
220CopyTo((Array)array, index); 267public void CopyTo(Array array, int index) 650Array.Copy(_nsDeclarations, 0, new_nsDeclarations, 0, _nsDeclarations.Length);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
908Array.Sort(_sortedResolvedKeyFrames);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
256void ICollection.CopyTo(Array array, int index)
src\Framework\System\Windows\ResourceDictionary.cs (2)
911void ICollection.CopyTo(Array array, int arrayIndex) 2247void ICollection.CopyTo(Array array, int index)
src\Framework\System\Windows\TriggerActionCollection.cs (1)
237void ICollection.CopyTo(Array array, int index)
src\Framework\System\Windows\WindowCollection.cs (1)
96void ICollection.CopyTo(Array array, int index)
src\Shared\MS\Utility\ItemMap.cs (2)
43Array.Copy(Entries, 0, destEntries, 0, index); 47Array.Copy(Entries, index, destEntries, index + 1, Count - index);
System (216)
compmod\system\codedom\CodeAttributeArgumentCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeAttributeArgumentCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeAttributeDeclarationCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeAttributeDeclarationCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeCatchClauseCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeCatchClauseCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeCommentStatementCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeCommentStatementCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeExpressionCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeExpressionCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeNamespaceCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeNamespaceCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
166void ICollection.CopyTo(Array array, int index) {
compmod\system\codedom\CodeParameterDeclarationExpressionCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeParameterDeclarationExpressionCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeStatementCollection.cs (1)
117/// <para>Copies the <see cref='System.CodeDom.CodeStatementCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeTypeDeclarationCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeTypeDeclarationCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeTypeMemberCollection.cs (1)
109/// <para>Copies the <see cref='System.CodeDom.CodeTypeMemberCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\CodeTypeReferenceCollection.cs (1)
123/// <para>Copies the <see cref='System.CodeDom.CodeTypeReferenceCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\compiler\CompilerErrorCollection.cs (1)
106/// <para>Copies the <see cref='System.CodeDom.Compiler.CompilerErrorCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
compmod\system\codedom\compiler\CompilerInfo.cs (2)
153Array.Copy(_compilerLanguages, compilerLanguages, _compilerLanguages.Length); 159Array.Copy(_compilerExtensions, compilerExtensions, _compilerExtensions.Length);
compmod\system\codedom\compiler\TempFiles.cs (1)
150void ICollection.CopyTo(Array array, int start) {
compmod\system\collections\generic\linkedlist.cs (1)
397void System.Collections.ICollection.CopyTo(Array array, int index) {
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\sorteddictionary.cs (3)
240void ICollection.CopyTo(Array array, int index) { 486void ICollection.CopyTo(Array array, int index) { 641void ICollection.CopyTo(Array array, int index) {
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\sortedset.cs (2)
618void ICollection.CopyTo(Array array, int index) { 1271Array.Sort(elements, this.Comparer);
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\collections\specialized\hybriddictionary.cs (1)
287public void CopyTo(Array array, int index) {
compmod\system\collections\specialized\listdictionary.cs (2)
227public void CopyTo(Array array, int index) { 362void ICollection.CopyTo(Array array, int index) {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (2)
501void ICollection.CopyTo(Array array, int index) { 718void ICollection.CopyTo(Array array, int index) {
compmod\system\collections\specialized\namevaluecollection.cs (1)
211public void CopyTo(Array dest, int index) {
compmod\system\collections\specialized\ordereddictionary.cs (2)
241public void CopyTo(Array array, int index) { 467void ICollection.CopyTo(Array array, int index) {
compmod\system\collections\specialized\stringcollection.cs (2)
96/// <para>Copies the <see cref='System.Collections.Specialized.StringCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the 201void ICollection.CopyTo(Array array, int index) {
compmod\system\collections\specialized\stringdictionary.cs (2)
150/// <para>Copies the string dictionary values to a one-dimensional <see cref='System.Array'/> instance at the 153public virtual void CopyTo(Array array, int index) {
compmod\system\componentmodel\ArrayConverter.cs (10)
20/// <para>Provides a type converter to convert <see cref='System.Array'/> 36if (value is Array) { 54Array valueArray = (Array)value; 85if (instance is Array) { 86Array array = (Array)instance; 96if (instance is Array) { 97Array array = (Array)instance;
compmod\system\componentmodel\ArraySubsetEnumerator.cs (2)
18private Array array; 22public ArraySubsetEnumerator(Array array, int count) {
compmod\system\componentmodel\AttributeCollection.cs (3)
146Array.Copy(newArray, 0, attributes, 0, actualCount); 429public void CopyTo(Array array, int index) 431Array.Copy(Attributes, 0, array, index, Attributes.Length);
compmod\system\componentmodel\Container.cs (2)
78Array.Copy(sites, 0, newSites, 0, siteCount); 220Array.Copy(sites, i + 1, sites, i, siteCount - i);
compmod\system\componentmodel\CultureInfoConverter.cs (3)
214int invariantIndex = Array.IndexOf(installedCultures, CultureInfo.InvariantCulture); 226Array.Copy(installedCultures, array, installedCultures.Length); 227Array.Sort(array, new CultureComparer(this));
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
263public void CopyTo(Array array, int index) {
compmod\system\componentmodel\design\DocumentCollection.cs (1)
105void ICollection.CopyTo(Array array, int index) {
compmod\system\componentmodel\EnumConverter.cs (2)
202Array objValues = Enum.GetValues(type); 294Array arr = (objValues != null) ? objValues.ToArray() : null;
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\ListSortDescriptionCollection.cs (1)
162public void CopyTo(Array array, int index) {
compmod\system\componentmodel\PropertyDescriptor.cs (2)
336Array.Copy(editorTypes, newTypes, editorTypes.Length); 337Array.Copy(editors, newEditors, editors.Length);
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\ReferenceConverter.cs (1)
177Array.Sort(components, 0, components.Length, new ReferenceComparer(this));
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);
compmod\system\componentmodel\TypeConverter.cs (5)
541private Array valueArray; 554Array a = values as Array; 601public void CopyTo(Array array, int index) { 653void ICollection.CopyTo(Array array, int index) {
compmod\system\componentmodel\TypeDescriptor.cs (1)
3423Array.Copy(newArray, 0, finalAttr, 0, actualCount);
compmod\system\componentmodel\TypeListConverter.cs (1)
116Array.Copy(types, objTypes, types.Length);
compmod\system\diagnostics\TraceListeners.cs (2)
122((ICollection)this).CopyTo((Array) listeners, index); 275void ICollection.CopyTo(Array array, int index) {
misc\SecurityUtils.cs (1)
249return Array.CreateInstance(type, length);
net\System\Net\_SecureChannel.cs (1)
655found = Array.IndexOf(issuers, issuer)!=-1;
net\System\Net\_SpnDictionary.cs (3)
159public override void CopyTo(Array array, int index) { 206private static void CheckCopyToArguments(Array array, int index, int count) 237public void CopyTo(Array array, int index)
net\System\Net\cookiecollection.cs (1)
158public void CopyTo(Array array, int index) {
net\System\Net\cookiecontainer.cs (5)
429Array cookies; 430Array stamps; 432cookies = Array.CreateInstance(typeof(CookieCollection), pathList.Count); 433stamps = Array.CreateInstance(typeof(DateTime), pathList.Count); 440Array.Sort(stamps, cookies);
net\System\Net\HttpListenerPrefixCollection.cs (1)
50public void CopyTo(Array array, int offset) {
net\System\Net\NetworkInformation\PingReply.cs (1)
34Array.Copy (data, 28, buffer, 0, dataLength - 28);
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (1)
164Array.Copy(physicalAddress,newAddr,addressLength);
net\System\Net\SecureProtocols\_SslStream.cs (1)
533Array.Copy(buffers, 0, result, 1, buffers.Length);
net\System\Net\Sockets\Socket.cs (1)
5549Array.Copy(innerBuffer,buffer,bytesTransferred);
net\System\Net\WebHeaderCollection.cs (1)
2134Array.Copy(m_Bytes, 0, destBytes, destByteIndex, m_Bytes.Length);
net\System\Net\WebUtility.cs (1)
572Array.Copy(decodedBytes, newDecodedBytes, decodedBytesCount);
regex\system\text\regularexpressions\Regex.cs (1)
579System.Array.Copy(capslist, 0, result, 0, capslist.Length);
regex\system\text\regularexpressions\RegexBoyerMoore.cs (1)
217System.Array.Copy(_negativeASCII, newarray, 128);
regex\system\text\regularexpressions\RegexCaptureCollection.cs (1)
115public void CopyTo(Array array, int arrayIndex) {
regex\system\text\regularexpressions\RegexCompiler.cs (1)
275System.Array.Copy(_notes, 0, newnotes, 0, _notecount);
regex\system\text\regularexpressions\RegexFCD.cs (2)
230System.Array.Copy(_intStack, 0, expanded, 0, _intDepth); 260System.Array.Copy(_fcStack, 0, expanded, 0, _fcDepth);
regex\system\text\regularexpressions\RegexGroupCollection.cs (1)
167public void CopyTo(Array array, int arrayIndex) {
regex\system\text\regularexpressions\RegexMatchCollection.cs (1)
166public void CopyTo(Array array, int arrayIndex) {
regex\system\text\regularexpressions\RegexParser.cs (1)
1683System.Array.Sort(_capnumlist, Comparer<Int32>.Default);
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);
regex\system\text\regularexpressions\RegexWriter.cs (1)
78System.Array.Copy(_intStack, 0, expanded, 0, _depth);
security\system\security\cryptography\asnencodeddata.cs (1)
165void ICollection.CopyTo(Array array, int index) {
security\system\security\cryptography\bigint.cs (5)
397Array.Copy(a.m_elements, m_elements, m_maxbytes); 419Array.Copy(m_elements, result, this.Size); 437Array.Reverse(hex); 439Array.Copy(hex, m_elements, size); 491Array.Reverse(dec, 0, index);
security\system\security\cryptography\oid.cs (1)
182void ICollection.CopyTo(Array array, int index) {
security\system\security\cryptography\x509\x509chainelement.cs (1)
112void ICollection.CopyTo(Array array, int index) {
security\system\security\cryptography\x509\x509extension.cs (3)
571Array.Copy(buffer, buffer.Length - 8, identifier, 0, identifier.Length); 579Array.Copy(buffer, 0, identifier, 0, identifier.Length); 671void ICollection.CopyTo(Array array, int index) {
services\io\system\io\PatternMatcher.cs (2)
301Array.Copy(currentMatches, tmp, currentMatches.Length); 305Array.Copy(previousMatches, tmp, previousMatches.Length);
services\monitoring\system\diagnosticts\AlphabeticalEnumConverter.cs (2)
29Array objValues = Enum.GetValues(EnumType); 34Array.Sort(names, objValues, 0, objValues.Length, System.Collections.Comparer.Default);
services\monitoring\system\diagnosticts\EventLog.cs (3)
519if( Array.IndexOf(sources, source) == -1) { 521Array.Copy(sources, newsources, sources.Length); 1268Array.Copy(insertionStrings, newStrings, insertionStrings.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);
services\monitoring\system\diagnosticts\EventLogEntryCollection.cs (3)
52((ICollection)this).CopyTo((Array)entries, index); 86void ICollection.CopyTo(Array array, int index) { 88Array.Copy(entries, 0, array, index, entries.Length);
services\monitoring\system\diagnosticts\InstanceDataCollection.cs (1)
92Dictionary.Values.CopyTo((Array)instances, index);
services\monitoring\system\diagnosticts\InstanceDataCollectionCollection.cs (1)
76Dictionary.Values.CopyTo((Array)counters, index);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (3)
143Array.Copy(newCategoryEntry.CounterIndexes, adjustedCounterIndexes, index3); 144Array.Copy(newCategoryEntry.HelpIndexes, adjustedHelpIndexes, index3); 819Array.Copy(counters, adjustedCounters, index2);
services\monitoring\system\diagnosticts\Process.cs (1)
2756Array.Sort(keys, values, OrdinalCaseInsensitiveComparer.Default);
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
544Array.Copy(processIds, ids, ids.Length);
sys\system\collections\concurrent\BlockingCollection.cs (2)
1614void ICollection.CopyTo(Array array, int index) 1624Array.Copy(collectionSnapShot, 0, array, index, collectionSnapShot.Length);
sys\system\collections\concurrent\ConcurrentBag.cs (1)
529void ICollection.CopyTo(Array array, int index)
sys\system\configuration\SettingsPropertyCollection.cs (1)
143public void CopyTo(Array array, int index)
sys\system\configuration\SettingsPropertyValueCollection.cs (1)
150public void CopyTo(Array array, int index)
sys\System\IO\compression\FastEncoderWindow.cs (2)
74Array.Copy(inputBuffer, startIndex, window, bufEnd, count); 86Array.Copy(window, bufPos - FastEncoderWindowSize, window, 0, FastEncoderWindowSize);
sys\System\IO\compression\Inflater.cs (2)
645Array.Copy(codeList, literalTreeCodeLength, literalLengthCodeCount); 646Array.Copy(codeList, literalLengthCodeCount, distanceTreeCodeLength, 0, distanceCodeCount);
sys\System\IO\compression\InputBuffer.cs (1)
143Array.Copy(buffer, start, output, offset, length);
sys\System\IO\compression\OutputBuffer.cs (1)
69Array.Copy(byteArray, offset, byteBuffer, pos, count);
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);
sys\system\Media\SoundPlayer.cs (1)
541Array.Copy(streamData, newData, streamData.Length);
System.Activities (23)
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (1)
127Array.Copy(ms.GetBuffer(), buffer, ms.Length);
System\Activities\DynamicUpdate\DynamicUpdateMap.cs (2)
432Array.Copy(oldIdSegments, subIdSegments, subIdSegments.Length); 442Array.Copy(oldIdSegments, newIdSegments, oldIdSegments.Length);
System\Activities\Expressions\ExpressionServices.cs (3)
315Activity<Array> operand; 327string errorString = TryConvert<Array>(methodCallExpression.Object, throwOnError, out operand); 335Array = new InArgument<Array>(operand) { EvaluationOrder = 0 },
System\Activities\Expressions\MultidimensionalArrayItemReference.cs (6)
21public InArgument<Array> Array 57RuntimeArgument arrayArgument = new RuntimeArgument("Array", typeof(Array), ArgumentDirection.In, true); 75Array items = this.Array.Get(context); 98Array array; 102public MultidimensionArrayLocation(Array array, int[] indices) 122internal Array Serializedarray
System\Activities\Expressions\TextExpression.cs (1)
227if (collection is Array)
System\Activities\ExpressionUtilities.cs (6)
611Array.ConstrainedCopy(this.setItemArguments, 0, localSetItemArguments, 0, this.setItemArguments.Length); 657Func<ActivityContext, Array> arrayFunction; 665this.arrayFunction = ExpressionUtilities.Compile<Array>( 689Array array; 693public MultidimensionalArrayLocation(Array array, int[] indices) 714internal Array SerializedArray
System\Activities\Quack.cs (3)
189Array.Copy(this.items, this.head, newArray, 0, this.count); 193Array.Copy(this.items, this.head, newArray, 0, this.items.Length - this.head); 194Array.Copy(this.items, 0, newArray, this.items.Length - this.head, this.tail);
System\Activities\Runtime\ActivityInstanceMap.cs (1)
131Array.Copy(secondaryRootOriginalQID, parentOfSecondaryRootOriginalQID, secondaryRootOriginalQID.Length - 1);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (1)
312Array array = type.GetEnumValues();
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\BinaryHeap.cs (1)
173Array.Copy(this.items, 0, temp, 0, this.itemCount);
System.Activities.Presentation (15)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
812Array.Clear(viewStateDataSourceLocation, 0, viewStateDataSourceLocation.Length);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
67Array flagValues = flagType.GetEnumValues();
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
134public void CopyTo(Array array, int index)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
169if (typeof(Array).IsAssignableFrom(property.PropertyType)) 380if (typeof(Array).IsAssignableFrom(propertyType) || typeof(ICollection).IsAssignableFrom(propertyType))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
277if (valueToConvert is Array)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
333void ICollection.CopyTo(Array array, int index) {
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
345void ICollection.CopyTo(Array array, int index) {
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (3)
93if (-1 == Array.IndexOf<Delegate>(initial, callback)) 97Array.Copy(initial, combined, initial.Length); 121if (-1 != Array.IndexOf<Delegate>(list, callback))
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
309public void CopyTo(Array array, int index)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (1)
197void ICollection.CopyTo(Array array, int index)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
190void ICollection.CopyTo(Array array, int index)
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
360|| this.Filter(typeof(Array)))
System.AddIn.Contract (8)
System\Addin\Contract\RemoteArgument.cs (8)
81System.Array arrayValue = value as System.Array; 109System.Array arrayValue = value as System.Array; 684public RemoteArgument(System.Array array) 706public RemoteArgument(System.Array array, bool isByRef) 1413public System.Array ArrayValue 1424return (System.Array)this._value;
System.ComponentModel.DataAnnotations (3)
DataAnnotations\MaxLengthAttribute.cs (1)
70length = ((Array)value).Length;
DataAnnotations\MinLengthAttribute.cs (1)
55length = ((Array)value).Length;
DataAnnotations\UIHintAttribute.cs (1)
128Array.Copy(controlParameters, this._inputControlParameters, controlParameters.Length);
System.Configuration (8)
System\Configuration\ConfigurationElementCollection.cs (1)
450void ICollection.CopyTo(Array arr, int index) {
System\Configuration\ConfigurationLockCollection.cs (1)
273void ICollection.CopyTo(Array array, int index) {
System\Configuration\ConfigurationPropertyCollection.cs (1)
40void ICollection.CopyTo(Array array, int index) {
System\Configuration\ProviderCollection.cs (1)
102void ICollection.CopyTo(Array array, int index)
System\Configuration\SectionUpdates.cs (4)
219Array.Sort(sectionNames); 239Array.Sort(sectionNames); 262Array.Sort(groupNames); 285Array.Sort(groupNames);
System.Core (65)
Microsoft\Scripting\Actions\CallSite.cs (2)
241Array.Copy(rules, 0, temp, 1, rules.Length); 244Array.Copy(rules, 0, temp, 1, MaxRules - 1);
Microsoft\Scripting\Actions\ExpandoClass.cs (1)
84Array.Copy(_keys, keys, _keys.Length);
Microsoft\Scripting\Actions\ExpandoObject.cs (1)
993Array.Copy(_dataArray, arr, _dataArray.Length);
Microsoft\Scripting\Actions\RuleCache.cs (3)
80int i = Array.IndexOf(_rules, oldRule); 110Array.Copy(rules, 0, newRules, 0, InsertPosition); 112Array.Copy(rules, InsertPosition, newRules, InsertPosition + 1, newLength - InsertPosition - 1);
Microsoft\Scripting\Ast\UnaryExpression.cs (1)
774if (!array.Type.IsArray || !typeof(Array).IsAssignableFrom(array.Type)) {
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
241Array.Copy(_expressions, first, clone, 0, count);
Microsoft\Scripting\Utils\CollectionExtensions.cs (3)
158Array.Copy(array, 1, result, 0, result.Length); 164Array.Copy(array, 0, result, 0, result.Length); 199Array.Copy(array, copy, array.Length);
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (13)
106Array.Copy(_items, 0, newItems, 0, _size); 131return Array.IndexOf(_items, item, 0, _size); 146Array.Copy(_items, index, _items, index + 1, _size - index); 162Array.Copy(_items, index + 1, _items, index, _size - index); 206Array.Clear(_items, 0, _size); 237/// Copies the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/> to an <see cref="Array"/>, 238/// starting at particular <see cref="Array"/> index. 240/// <param name="array">The one-dimensional <see cref="Array"/> that is the destination of the elements copied from <see cref="ReadOnlyCollectionBuilder{T}"/>.</param> 243Array.Copy(_items, 0, array, arrayIndex, _size); 356void System.Collections.ICollection.CopyTo(Array array, int index) { 359Array.Copy(_items, 0, array, index, _size); 393Array.Reverse(_items, index, count); 403Array.Copy(_items, 0, array, 0, _size);
System\Collections\Generic\HashSet.cs (3)
245Array.Clear(m_slots, 0, m_lastIndex); 246Array.Clear(m_buckets, 0, m_buckets.Length); 1017Array.Copy(m_slots, 0, newSlots, 0, m_lastIndex);
System\Diagnostics\Eventing\Reader\EventLogRecord.cs (1)
276Array.Resize( ref theValues, i+1 );
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (7)
1306public static Array ConvertToArray(UnsafeNativeMethods.EvtVariant val, Type objType, int size) { 1309return Array.CreateInstance(objType, 0); 1312Array array = Array.CreateInstance(objType, val.Count); 1322public static Array ConvertToBoolArray(UnsafeNativeMethods.EvtVariant val) { 1341public static Array ConvertToFileTimeArray(UnsafeNativeMethods.EvtVariant val) { 1357public static Array ConvertToSysTimeArray(UnsafeNativeMethods.EvtVariant val) {
System\Linq\Enumerable.cs (8)
2242if (g.count != g.elements.Length) { Array.Resize<TElement>(ref g.elements, g.count); } 2308if (elements.Length == count) Array.Resize(ref elements, checked(count * 2)); 2344return Array.IndexOf(elements, item, 0, count) >= 0; 2348Array.Copy(elements, 0, array, arrayIndex, count); 2356return Array.IndexOf(elements, item, 0, count); 2460Array.Copy(slots, 0, newSlots, 0, count); 2687Array.Copy(items, 0, newItems, 0, count); 2702Array.Copy(items, 0, result, 0, count);
System\Linq\Parallel\Channels\AsynchronousChannel.cs (1)
388Array.Copy(m_producerChunk, leftOverChunk, m_producerChunkIndex);
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (1)
812Array.Sort(
System\Linq\Parallel\Utils\GrowingArray.cs (1)
76Array.Copy(otherArray, 0, m_array, m_count, otherCount);
System\Linq\Parallel\Utils\HashLookup.cs (1)
162Array.Copy(slots, 0, newSlots, 0, count);
System\Linq\Parallel\Utils\Sorting.cs (2)
477Array.Copy(myValues, 0, mergedValues, 0, leftCount); 551Array.Copy(myValues, 0, mergedValues, leftCount, myValues.Length);
System\Runtime\CompilerServices\DynamicAttribute.cs (1)
67return Array.AsReadOnly(this._transformFlags);
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (3)
99Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length); 133Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length); 465Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length);
System\Security\Cryptography\NCryptNative.cs (3)
587Array.Resize(ref decrypted, decryptedSize); 588Array.Clear(clear, 0, clear.Length); 1855Array.Resize(ref signature, signatureSize);
System\Security\Cryptography\Rfc4050KeyFormatter.cs (6)
236Array.Resize(ref xBytes, requiredLength); 237Array.Resize(ref yBytes, requiredLength); 238Array.Reverse(xBytes); 239Array.Reverse(yBytes); 333Array.Reverse(xBytes); 334Array.Reverse(yBytes);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (1)
325Array.Resize(ref propertyValue, numBytesNeeded);
System\Security\Cryptography\X509Certificates\X509Native.cs (1)
476Array.Clear(_data, 0, _data.Length);
System.Data (168)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
812Array.Clear(viewStateDataSourceLocation, 0, viewStateDataSourceLocation.Length);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
67Array flagValues = flagType.GetEnumValues();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
134public void CopyTo(Array array, int index)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
169if (typeof(Array).IsAssignableFrom(property.PropertyType)) 380if (typeof(Array).IsAssignableFrom(propertyType) || typeof(ICollection).IsAssignableFrom(propertyType))
cdf\src\NetFx40\Tools\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\Interaction\Model\ModelItemCollection.cs (1)
333void ICollection.CopyTo(Array array, int index) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
345void ICollection.CopyTo(Array array, int index) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (3)
93if (-1 == Array.IndexOf<Delegate>(initial, callback)) 97Array.Copy(initial, combined, initial.Length); 121if (-1 != Array.IndexOf<Delegate>(list, callback))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
309public void CopyTo(Array array, int index)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (1)
197void ICollection.CopyTo(Array array, int index)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
190void ICollection.CopyTo(Array array, int index)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
360|| this.Filter(typeof(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\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
107Array.Copy( value.Value, checked((int)fieldOffset), buffer, bufferOffset, length );
fx\src\data\System\Data\BaseCollection.cs (1)
37public virtual void CopyTo(Array ar, int index) {
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
144Array.Copy(types, objTypes, types.Length);
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
354static internal void CheckArgumentLength(Array value, string parameterName) {
fx\src\data\System\Data\Common\BigIntegerStorage.cs (1)
131Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\BooleanStorage.cs (1)
147Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\ByteStorage.cs (1)
213Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\CharStorage.cs (1)
151Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (2)
132public void AddRange(System.Array values) { // V1.2.3300 198public void CopyTo(Array array, int index) {
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
139Array.Copy(data, ndataIndex, buffer, bufferIndex, (int)cbytes); 211Array.Copy(data, ndataIndex, buffer, bufferIndex, cchars);
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (2)
131public void AddRange(System.Array values) { // V1.2.3300 201public void CopyTo(Array array, int index) {
fx\src\data\System\Data\Common\DateTimeOffsetStorage.cs (1)
147Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\DateTimeStorage.cs (1)
181Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.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\DbConnectionStringBuilder.cs (2)
255void ICollection.CopyTo(Array array, int index) { 477Array.Copy(propertiesArray, filteredPropertiesArray, index);
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\Common\DbDataAdapter.cs (1)
1102Array.Copy(rowBatch, finalRowBatch, commandCount);
fx\src\data\System\Data\Common\DbParameterCollection.cs (2)
105abstract public void AddRange(System.Array values); 115abstract public void CopyTo(System.Array array, int index);
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
204Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\DoubleStorage.cs (1)
211Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\Int16Storage.cs (1)
217Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\Int32Storage.cs (1)
216Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\Int64Storage.cs (1)
211Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\NameValuePermission.cs (1)
167Array.Sort(newtree);
fx\src\data\System\Data\Common\ObjectStorage.cs (5)
132Array arr1 = (Array) valueNo1; 133Array arr2 = (Array) valueNo2; 260Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SByteStorage.cs (1)
213Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SingleStorage.cs (1)
212Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
86Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
115Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
85Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
184Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
86Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
117Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
182Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
183Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
86Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
183Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
183Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
184Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
183Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
184Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
140Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
131Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\SQLTypes\SqlXmlStorage.cs (1)
86Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\StringStorage.cs (1)
160Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\TimeSpanStorage.cs (1)
221Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\UInt16Storage.cs (1)
216Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\UInt32Storage.cs (1)
216Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\Common\UInt64Storage.cs (1)
210Array.Copy(values, 0, newValues, 0, Math.Min(capacity, values.Length));
fx\src\data\System\Data\DataError.cs (2)
85System.Array.Copy(errorList, i+1, errorList, i, count-i-1); 132System.Array.Copy(errorList, 0, biggerList, 0, count);
fx\src\data\System\Data\DataRowCollection.cs (1)
187public override void CopyTo(Array ar, int index) {
fx\src\data\System\Data\DataTable.cs (3)
3068Array.Copy(indexDesc, 0, newIndexDesc, 0, indexDesc.Length); 3212EmptyDataRowArray = (DataRow[]) Array.CreateInstance(GetRowType(), 0); 3216return (DataRow[]) Array.CreateInstance(GetRowType(), size);
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\DataView.cs (1)
688public void CopyTo(Array array, int index) {
fx\src\data\System\Data\DataViewManager.cs (1)
165void ICollection.CopyTo(Array array, int index) {
fx\src\data\System\Data\DataViewSettingCollection.cs (1)
99public void CopyTo(Array ar, int index) {
fx\src\data\System\Data\Filter\FunctionNode.cs (1)
71System.Array.Copy(arguments, 0, bigger, 0, argumentCount);
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\Odbc\OdbcErrorCollection.cs (1)
46public void CopyTo (Array array, int i) {
fx\src\data\System\Data\Odbc\OdbcParameterCollection.cs (2)
95AddRange((Array)values); 139CopyTo((Array)array, index);
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
167Array.Copy(parsed, 1, restrictions, 0, 3);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (2)
725Array objValues = Enum.GetValues(typeof(OleDbServiceValues)); 726Array.Sort(objValues, 0, objValues.Length);
fx\src\data\System\Data\OleDb\OleDbErrorCollection.cs (1)
63public void CopyTo(Array array, int index) {
fx\src\data\System\Data\OleDb\OleDbParameterCollection.cs (2)
91AddRange((Array)values); 103CopyTo((Array)array, index);
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (2)
77override public void AddRange(System.Array values) { 115override public void CopyTo(Array array, int index) {
fx\src\data\System\Data\ProviderBase\DbReferenceCollection.cs (1)
113Array.Resize<CollectionEntry>(ref _items, _items.Length * 2);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
444Array.Copy(rgcol, tmp, len);
fx\src\data\System\Data\RbTree.cs (3)
164System.Array.Copy (_pageTable, 0, newPageTable, 0, _pageTable.Length); 166System.Array.Copy (_pageTableMap, 0, newPageTableMap, 0, _pageTableMap.Length); 1554public void CopyTo(Array array, int index) {
fx\src\data\System\Data\RecordManager.cs (1)
40Array.Copy(rows, 0, newRows, 0, Math.Min(lastFreeRecord, rows.Length));
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\Sql\sqlnorm.cs (17)
97Array.Sort(m_fieldsToNormalize); 351Array.Reverse(b); 362Array.Reverse(b); 374Array.Reverse(b); 383Array.Reverse(b); 395Array.Reverse(b); 408Array.Reverse(b); 420Array.Reverse(b); 429Array.Reverse(b); 441Array.Reverse(b); 452Array.Reverse(b); 464Array.Reverse(b); 475Array.Reverse(b); 488Array.Reverse(b); 520Array.Reverse(b); 533Array.Reverse(b); 567Array.Reverse(b);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1349Array.Sort<string>(serverNames);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
1704Array.Copy(data, ndataIndex, buffer, bufferIndex, cbytes); 2052Array.Copy(_columnDataChars, ndataIndex, buffer, bufferIndex, cchars);
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (1)
476Array.Copy(_connection.PromotedDTCToken, _globalTransactionsTokenVersionSizeInBytes /* Skip the version */, txnGuid, 0, txnGuid.Length);
fx\src\data\System\Data\SqlClient\SqlErrorCollection.cs (1)
25public void CopyTo (Array array, int index) {
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1022Array.Resize(ref buffer, totalRead);
fx\src\data\System\Data\SqlClient\SqlParameterCollection.cs (2)
94AddRange((Array)values); 106CopyTo((Array)array, index);
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (2)
367Array.Copy(_leftOverBytes, byteBuffer, _leftOverBytes.Length); 406Array.Copy(inBuffer, bytesUsed, _leftOverBytes, 0, _leftOverBytes.Length);
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
379Array.Copy(_cachedBytes[_currentArrayIndex], _currentPosition, buffer, offset, cb);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
1360int MessageLength = Array.IndexOf(sniError.errorMessage, '\0'); 4470Array.Copy(tables, 0, newTables, 0, tables.Length);
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);
fx\src\data\System\Data\XDRSchema.cs (1)
260int index = Array.BinarySearch(mapNameTypeXdr, name);
fx\src\data\System\Data\XMLSchema.cs (3)
1544int index = Array.BinarySearch(mapNameTypeXsd, xsdTypeName); 1608int index = Array.BinarySearch(mapNameTypeXsd, name); 1647int index = Array.BinarySearch(mapNameTypeXsd, name);
System.Data.DataSetExtensions (6)
System\Data\DataRowComparer.cs (6)
39return (a.Equals(b) || (a.GetType().IsArray && CompareArray((Array)a, b as Array))); 56private static bool CompareArray(Array a, Array b) 216Array array = value as Array;
System.Data.Entity (45)
System\Data\Common\DataRecord.cs (1)
159Array.Copy(data, ndataIndex, buffer, bufferOffset, cbytes);
System\Data\Common\DbXmlEnabledProviderManifest.cs (1)
132this._primitiveTypes = Array.AsReadOnly(listOfPrimitiveTypes.ToArray());
System\Data\Common\EntitySql\AST\Literal.cs (1)
542Array.Copy(datetimeParts, timeParts, datetimeParts.Length - 2);
System\Data\EntityClient\DbParameterCollectionHelper.cs (2)
79override public void AddRange(System.Array values) { 117override public void CopyTo(Array array, int index) {
System\Data\EntityClient\EntityParameterCollection.cs (2)
147this.AddRange((Array)values); 167this.CopyTo((Array)array, index);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
250Array.Sort(cellWrappers, LeftCellWrapper.OriginalCellIdComparer);
System\Data\Metadata\Edm\MetadataItem_Static.cs (1)
303_generalFacetDescriptions = Array.AsReadOnly(generalFacetDescriptions);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (22)
246facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 251facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 256facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 261facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 266facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 272facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 277facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 281facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 285facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 289facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 293facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 297facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 301facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 305facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 309facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 313facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 317facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 321facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 325facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 329facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 333facetDescriptions.Add(applicableType, Array.AsReadOnly(list)); 337facetDescriptions.Add(applicableType, Array.AsReadOnly(list));
System\Data\Metadata\Edm\TypeUsage.cs (1)
574if (0 <= Array.BinarySearch(s_identityFacets, facet.Name, StringComparer.Ordinal))
System\Data\Objects\DataClasses\EntityReference.cs (1)
532int keyIndex = Array.IndexOf(keyNames, principalProps[i].Name);
System\Data\Objects\DataRecordObjectView.cs (1)
117if (typeof(Array).IsAssignableFrom(type))
System\Data\Objects\ELinq\TypeSystem.cs (1)
268int propIndex = Array.IndexOf(interfaceMap.InterfaceMethods, getInterfaceProp);
System\Data\Objects\Internal\ForeignKeyFactory.cs (1)
127int keyIndex = Array.IndexOf(keyNames, principalProps[i].Name);
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (4)
197Array array = collection as Array; 256Array array = collection as Array;
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (2)
131Array.Copy(tempBuffer, dataIndex, buffer, bufferIndex, byteCount); 186Array.Copy(tempBuffer, dataIndex, buffer, bufferIndex, charCount);
System\Data\Objects\ObjectStateEntryDbDataRecord.cs (2)
115Array.Copy(tempBuffer, dataIndex, buffer, bufferIndex, byteCount); 154Array.Copy(tempBuffer, dataIndex, buffer, bufferIndex, charCount);
System\Data\Objects\ObjectView.cs (1)
455public void CopyTo(Array array, int index)
System.Data.Linq (18)
ChangeConflicts.cs (1)
90void ICollection.CopyTo(Array array, int index) {
DataContext.cs (2)
558Array items = Array.CreateInstance(entity.GetType(), 1);
IdentityManager.cs (1)
346Array.Copy(slots, 0, newSlots, 0, count);
parent\parent\misc\SecurityUtils.cs (1)
249return Array.CreateInstance(type, length);
SqlClient\Query\QueryConverter.cs (1)
885Array.Sort(ordinal, members, 0, members.Length);
SqlClient\Reader\ObjectReaderCompiler.cs (2)
2557Array.Copy(this.session.ParentArguments, tmp, nParent); 2558Array.Copy(parentArgs, 0, tmp, nParent, parentArgs.Length);
SqlClient\SqlTypeSystemProvider.cs (2)
1384Array arr = (Array)o;
Types.cs (8)
289if (entities.Count > 0) Array.Copy(entities.Items, 0, array, arrayIndex, entities.Count); 606void ICollection.CopyTo(Array array, int index) { 608if (entities.Count > 0) Array.Copy(entities.Items, 0, array, index, entities.Count); 713if (index < count) Array.Copy(items, index, items, index + 1, count - index); 736if (index < count) Array.Copy(items, index + 1, items, index, count - index); 741Array.Resize(ref items, count == 0 ? 4 : count * 2); 775Array.Copy(value, this.bytes, value.Length); 782Array.Copy(this.bytes, copy, copy.Length);
System.Data.Services (2)
System\Data\Services\HttpProcessUtility.cs (1)
704Array.Copy(parameters, grow, parameters.Length);
System\Data\Services\Parsing\FunctionDescription.cs (1)
126Array.Copy(arguments, 1, methodArguments, 0, arguments.Length - 1);
System.Data.Services.Client (5)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
704Array.Copy(parameters, grow, parameters.Length);
System\Data\Services\Client\ArraySet.cs (4)
72Array.Resize<T>(ref this.items, Math.Min(Math.Max(index, 16), Int32.MaxValue / 2) * 2); 180Array.Resize(ref this.items, array.Length / 2); 200Array.Sort<T>(this.items, 0, this.count, scomp); 207Array.Resize(ref this.items, this.count);
System.Data.SqlXml (22)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
179Array.Copy(paramTypes, 0, paramTypesNew, 1, paramTypes.Length);
System\Xml\Xsl\ListBase.cs (1)
109void System.Collections.ICollection.CopyTo(Array array, int index) {
System\Xml\Xsl\QIL\QilList.cs (3)
113Array.Copy(this.members, membersNew, this.count); 118Array.Copy(this.members, index, this.members, index + 1, this.count - index); 133Array.Copy(this.members, index + 1, this.members, index, this.count - index);
System\Xml\Xsl\Runtime\XmlAttributeCache.cs (1)
329Array.Copy(this.arrAttrs, arrNew, this.numEntries);
System\Xml\Xsl\Runtime\XmlNavigatorStack.cs (1)
42Array.Copy(stkOld, this.stkNav, this.sp);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
884Array.Copy(this.indexes, 0, indexesNew, 0, this.indexes.Length);
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (6)
150void System.Collections.ICollection.CopyTo(Array array, int index) { 154Array.Copy(this.items, 0, array, index, this.size); 308int index = Array.IndexOf(this.items, value); 351public void SortByKeys(Array keys) { 356Array.Sort(keys, this.items, 0, this.size); 551Array.Sort(sortArray, 0, Count, comparer);
System\Xml\Xsl\Runtime\XmlSortKeyAccumulator.cs (2)
77Array.Copy(this.keys, 0, keysNew, 0, this.keys.Length); 99public Array Keys {
System\Xml\Xsl\XmlQueryType.cs (1)
444Array.Sort(sa);
System\Xml\Xsl\Xslt\Compiler.cs (1)
314Array.Sort<CompilerError>(errors, new CompilerErrorComparer(this.moduleOrder));
System\Xml\Xsl\Xslt\CompilerScopeManager.cs (1)
119Array.Copy(records, 0, newRecords, 0, lastRecord);
System\Xml\Xsl\Xslt\OutputScopeManager.cs (1)
64Array.Copy(records, 0, newRecords, 0, lastRecord);
System\Xml\Xsl\Xslt\XsltInput.cs (1)
91Array.Copy(records, tmp, records.Length);
System\Xml\Xsl\XsltOld\BuilderInfo.cs (1)
67Array.Copy(this.TextInfo, newArr, this.TextInfoCount);
System.Drawing (20)
commonui\System\Drawing\Advanced\GPStream.cs (1)
31Array.Copy(bytes, newData, bytes.Length);
commonui\System\Drawing\Design\CategoryNameCollection.cs (1)
61/// <para>Copies the <see cref='System.Drawing.Design.CategoryNameCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
commonui\System\Drawing\Design\ToolboxItemCollection.cs (1)
62/// <para>Copies the <see cref='System.Drawing.Design.ToolboxItemCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
commonui\System\Drawing\Design\UITypeEditor.cs (1)
41intrinsicEditors[typeof(Array)] = "System.ComponentModel.Design.ArrayEditor, " + AssemblyRef.SystemDesign;
commonui\System\Drawing\FontConverter.cs (1)
608Array.Sort(array, Comparer.Default);
commonui\System\Drawing\Icon.cs (1)
762Array.Copy(this.iconData, bestImageOffset, alignedBuffer, 0, bestBytesInRes);
commonui\System\Drawing\Printing\PrinterSettings.cs (12)
1506void ICollection.CopyTo(Array array, int index) { 1507Array.Copy(this.array, index, array, 0, this.array.Length); 1511Array.Copy(this.array, index, paperSizes, 0, this.array.Length); 1634void ICollection.CopyTo(Array array, int index) { 1635Array.Copy(this.array, index, array, 0, this.array.Length); 1639Array.Copy(this.array, index, paperSources, 0, this.array.Length); 1763void ICollection.CopyTo(Array array, int index) { 1764Array.Copy(this.array, index, array, 0, this.array.Length); 1768Array.Copy(this.array, index, printerResolutions, 0, this.array.Length); 1892void ICollection.CopyTo(Array array, int index) { 1893Array.Copy(this.array, index, array, 0, this.array.Length); 1898Array.Copy(this.array, index, strings, 0, this.array.Length);
misc\ClientUtils.cs (1)
434public void CopyTo(Array array, int index) { InnerList.CopyTo(array, index); }
misc\HandleCollector.cs (1)
86Array.Copy(handleTypes, 0, newTypes, 0, handleTypeCount);
System.IdentityModel (21)
System\IdentityModel\CryptoHelper.cs (4)
146Array.Clear( key, 0, key.Length ); 153Array.Clear( result, 0, result.Length ); 156Array.Clear( b, 0, b.Length ); 1087internal static void ValidateBufferBounds(Array buffer, int offset, int count)
System\IdentityModel\ExclusiveCanonicalizationTransform.cs (1)
261Array.Copy(prefixes, result, count);
System\IdentityModel\PreDigestedSignedInfo.cs (1)
75Array.Copy(this.references, 0, newReferences, 0, this.count);
System\IdentityModel\RijndaelCryptoServiceProvider.cs (3)
296Array.Clear(tempBuffer, tempOffset, inputCount); 353Array.Clear(tempBuffer, tempOffset, dwCount); 369Array.Clear(buffer, 0, buffer.Length);
System\IdentityModel\RsaEncryptionCookieTransform.cs (4)
242Array.Copy(decryptedKeyAndIV, decryptionKey, decryptionKey.Length); 243Array.Copy(decryptedKeyAndIV, decryptionKey.Length, decryptionIV, 0, decryptionIV.Length); 310Array.Copy(encryptionAlgorithm.Key, keyAndIV, encryptionAlgorithm.Key.Length); 311Array.Copy(encryptionAlgorithm.IV, 0, keyAndIV, encryptionAlgorithm.Key.Length, encryptionAlgorithm.IV.Length);
System\IdentityModel\RsaSignatureCookieTransform.cs (5)
179Array.Copy(encoded, currentIndex, signature, 0, signature.Length); 184Array.Copy(encoded, currentIndex, cookieValue, 0, cookieValue.Length); 294Array.Copy(signatureLength, 0, message, currentIndex, signatureLength.Length); 298Array.Copy(signature, 0, message, currentIndex, signature.Length); 302Array.Copy(value, 0, message, currentIndex, value.Length);
System\IdentityModel\StrTransform.cs (1)
215Array.Copy(prefixes, result, count);
System\IdentityModel\WrappedReader.cs (2)
371Array.Copy(other.entries, this.entries, this.count); 397Array.Copy(this.entries, 0, newBuffer, 0, this.count);
System.IdentityModel.Selectors (4)
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (4)
164Array.Clear(m_cachedBlock, 0, m_cachedBlock.Length); 167Array.Copy(array, ibStart, m_cachedBlock, 0, cbSize); 219Array.Clear(m_cachedBlock, 0, m_cachedBlock.Length); 232Array.Clear(m_cachedBlock, 0, m_cachedBlock.Length);
System.IO.Log (3)
System\IO\Log\LogArchiveSnapshot.cs (1)
82Array.Copy(readBuffer, baseFileData, baseFileData.Length);
System\IO\Log\LogWriteRestartAreaState.cs (2)
371Array.Copy(header.Bits, 382Array.Copy(segment.Array,
System.Management (17)
managementobjectcollection.cs (2)
210public void CopyTo (Array array, Int32 index) 257CopyTo ((Array)objectCollection, index);
methodset.cs (2)
144public void CopyTo(Array array, int index) 159CopyTo((Array)methodArray, index);
property.cs (6)
280 Array wmiValueArray = (Array)wmiValue; 395 Array valArray = (Array)val; 747 Array valArray = (Array)val;
propertyset.cs (2)
124 public void CopyTo(Array array, Int32 index) 174 CopyTo((Array)propertyArray, index);
qualifier.cs (3)
105 if (qualVal is Array) 111 Array valArray = (Array)qualVal;
qualifierset.cs (2)
181 public void CopyTo(Array array, int index) 233 CopyTo((Array)qualifierArray, index);
System.Messaging (16)
System\Messaging\ActiveXMessageFormatter.cs (6)
152Array.Copy(bytes, newBytes, size); 158Array.Copy(bytes, newBytes, 1); 166Array.Copy(bytes, newBytes, 16); 171Array.Copy(bytes, newBytes, 8); 176Array.Copy(bytes, newBytes, 8); 271Array.Copy(bytes, this.internalBuffer, bytes.Length);
System\Messaging\Message.cs (9)
910Array.Copy(properties.GetUI1Vector(NativeMethods.MESSAGE_PROPID_DEST_SYMM_KEY), bytes, bytes.Length); 959Array.Copy(properties.GetUI1Vector(NativeMethods.MESSAGE_PROPID_SIGNATURE), bytes, bytes.Length); 1050Array.Copy(properties.GetUI1Vector(NativeMethods.MESSAGE_PROPID_EXTENSION), bytes, bytes.Length); 1525Array.Copy(properties.GetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDER_CERT), bytes, bytes.Length); 1574Array.Copy(properties.GetUI1Vector(NativeMethods.MESSAGE_PROPID_SENDERID), bytes, bytes.Length); 2238Array.Copy(bodyArray, bytes, bodySize); 2351Array.Copy(bytes, guidBytes, GenericIdSize); 2392Array.Copy(guid.ToByteArray(), bytes, GenericIdSize); 2393Array.Copy(BitConverter.GetBytes(integerId), 0, bytes, GenericIdSize, 4);
System\Messaging\MessageQueuePermission.cs (1)
434Array.Sort(enumValues, InvariantComparer.Default);
System.Numerics (20)
System\Numerics\BigInteger.cs (7)
328Array.Copy(bytes, trimmedBytes, msb + 1); 366Array.Copy(dwords, trimmed, msb + 1); 641Array.Copy(val, _bits, len); 701Array.Copy(value, _bits, len); 754Array.Copy(value, _bits, dwordCount); 791Array.Copy(value, _bits, len); 1438Array.Copy(xd /* sourceArray */, temp /* destinationArray */, xl /* length */); // make a copy of immutable value._bits
System\Numerics\BigIntegerBuilder.cs (13)
174Array.Resize(ref bits, _iuLast + 1); 279Array.Clear(_rgu, 0, cu); 302Array.Copy(_rgu, rgu, Math.Min(cu, _iuLast + 1)); 307Array.Clear(_rgu, _iuLast + 1, cu - _iuLast - 1); 329Array.Copy(_rgu, rgu, _iuLast + 1); 347Array.Copy(_rgu, rgu, _iuLast + 1); 379Array.Copy(reg._rgu, _rgu, _iuLast + 1); 434Array.Copy(reg._rgu, _iuLast + 1, _rgu, _iuLast + 1, reg._iuLast - _iuLast); 567Array.Copy(reg._rgu, _iuLast + 1, _rgu, _iuLast + 1, reg._iuLast - _iuLast); 953Array.Copy(rguSrc, cuShift, _rgu, 0, _iuLast + 1); 999Array.Copy(rguSrc, 0, _rgu, cuShift, _iuLast + 1); 1011Array.Clear(_rgu, 0, cuShift); 1038Array.Resize(ref _rgu, _iuLast + 2);
System.Runtime.Remoting (4)
channels\core\corechannel.cs (1)
384Array.Copy(ret, newret, i);
channels\http\combinedhttpchannel.cs (1)
452public virtual void CopyTo(Array array, int index) { throw new NotSupportedException(); }
channels\http\httpstreams.cs (1)
160Array.Copy(buffer, offset, _chunk, _chunkOffset, writeCount);
metadata\wsdlwriter.cs (1)
2543Array.Copy(fields, ifields, actualLength);
System.Runtime.Serialization (63)
System\Runtime\Serialization\ClassDataContract.cs (4)
420Array.Copy(baseChildElementNamespaces, 0, childElementNamespaces, 0, baseChildElementNamespaces.Length); 759Array.Copy(BaseContract.MemberNames, MemberNames, baseMemberCount); 761Array.Copy(BaseContract.MemberNamespaces, MemberNamespaces, baseMemberCount); 764Array.Copy(BaseContract.ContractNamespaces, ContractNamespaces, baseContractCount);
System\Runtime\Serialization\CodeGenerator.cs (1)
131arraySetValue = typeof(Array).GetMethod("SetValue", new Type[] { typeof(object), typeof(int) });
System\Runtime\Serialization\DataContract.cs (4)
554Array.Resize<DataContract>(ref dataContractCache, newSize); 782type = typeof(Array); 869else if (type == typeof(Array)) 981dataContract = new CollectionDataContract(typeof(Array));
System\Runtime\Serialization\EnumDataContract.cs (2)
474Array.Sort(memberNames1); 475Array.Sort(memberNames2);
System\Runtime\Serialization\ExtensionDataObject.cs (1)
243internal class CollectionDataNode : DataNode<Array>
System\Runtime\Serialization\ExtensionDataReader.cs (2)
777Array.Copy(elements, 0, newElements, 0, elements.Length); 866Array.Copy(attributes, 0, newAttributes, 0, attributes.Length);
System\Runtime\Serialization\Globals.cs (1)
86typeOfArray = typeof(Array);
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
214Array.Resize<JsonDataContract>(ref dataContractCache, newSize);
System\Runtime\Serialization\Json\XmlJsonReader.cs (2)
871internal static void CheckArray(Array array, int offset, int count) 1094Array.Copy(scopes, newScopes, scopeDepth);
System\Runtime\Serialization\Json\XmlJsonWriter.cs (4)
1217if (value is Array) 1219WriteValue((Array)value); 1330Array.Copy(scopes, newScopes, depth); 1680void WriteValue(Array array)
System\Runtime\Serialization\ObjectReferenceStack.cs (2)
31Array.Resize<object>(ref objectArray, objectArray.Length * 2); 67Array.Resize<bool>(ref isReferenceArray, objectArray.Length);
System\Runtime\Serialization\ScopedKnownTypes.cs (1)
20Array.Resize<DataContractDictionary>(ref dataContractDictionaries, dataContractDictionaries.Length * 2);
System\Runtime\Serialization\SurrogateDataContract.cs (1)
86object obj = objType.IsArray ? Array.CreateInstance(objType.GetElementType(), 0) : GetUninitializedObject(objType);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
490Array.Copy(array, 0, newArray, 0, array.Length); 501Array.Copy(array, 0, newArray, 0, size);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
409public void IncrementArrayCount(XmlWriterDelegator xmlWriter, Array array)
System\Xml\ArrayHelper.cs (2)
56Array.Copy(arrays[i], 0, newArray, offset, arrays[i].Length); 59Array.Copy(array, 0, newArray, offset, totalRead - offset);
System\Xml\XmlBaseReader.cs (11)
312Array.Copy(elementNodes, newElementNodes, depth); 346Array.Copy(attributeNodes, newAttributeNodes, attributeIndex); 1534Array.Copy(trailBytes, 0, buffer, offset, actual); 1536Array.Copy(trailBytes, actual, trailBytes, 0, trailByteCount); 1560Array.Copy(trailChars, 0, chars, charCount, trailCharCount); 1591Array.Copy(chars, charCount, trailChars, 0, trailCharCount); 1602Array.Copy(trailBytes, 0, buffer, offset, actual); 1604Array.Copy(trailBytes, actual, trailBytes, 0, trailByteCount); 2769Array.Sort(indeces, 0, attributeCount, this); 3004Array.Copy(attributes, newAttributes, attributeCount); 3042Array.Copy(namespaces, newNamespaces, nsCount);
System\Xml\XmlBaseWriter.cs (6)
533Array.Copy(elements, newElementNodes, depth); 1025else if (value is Array) 1027WriteValue((Array)value); 1722void WriteValue(Array array) 2030Array.Copy(attributes, newAttributes, attributeCount); 2124Array.Copy(namespaces, newNamespaces, nsCount);
System\Xml\XmlBinaryReader.cs (1)
1235void CheckArray(Array array, int offset, int count)
System\Xml\XmlBinaryReaderSession.cs (2)
50Array.Copy(strings, newStrings, strings.Length); 124Array.Clear(strings, 0, strings.Length);
System\Xml\XmlBinaryWriter.cs (1)
1266void CheckArray(Array array, int offset, int count)
System\Xml\XmlBinaryWriterSession.cs (2)
119Array.Clear(list, 0, list.Length); 251Array.Copy(array, newArray, array.Length);
System\Xml\XmlC14NWriter.cs (5)
165Array.Copy(scopes, newScopes, depth); 738Array.Copy(attributes, newAttributes, attributeCount); 758Array.Copy(xmlnsAttributes, newXmlnsAttributes, xmlnsAttributeCount); 806Array.Copy(xmlnsAttributes, xmlnsAttributeIndex, xmlnsAttributes, xmlnsAttributeIndex + 1, xmlnsAttributeCount - xmlnsAttributeIndex); 962Array.Sort(indeces, this);
System\Xml\XmlDictionary.cs (1)
60Array.Resize(ref this.strings, newSize);
System\Xml\XmlDictionaryReader.cs (1)
1037void CheckArray(Array array, int offset, int count)
System\Xml\XmlDictionaryWriter.cs (1)
941void CheckArray(Array array, int offset, int count)
System\Xml\XmlMtomReader.cs (1)
1362Array.Resize(ref this.valueBuffer, byteCount);
System.Security (20)
system\security\cryptography\bigint.cs (5)
400Array.Copy(a.m_elements, m_elements, m_maxbytes); 422Array.Copy(m_elements, result, this.Size); 440Array.Reverse(hex); 442Array.Copy(hex, m_elements, size); 494Array.Reverse(dec, 0, index);
system\security\cryptography\cryptographicattribute.cs (1)
207void ICollection.CopyTo(Array array, int index) {
system\security\cryptography\dataprotector.cs (3)
156Array.Copy(hashedPurpose, 0, userDataWithHashedPurpose, 0, hashedPurpose.Length); 159Array.Copy(userData, 0, userDataWithHashedPurpose, hashedPurpose.Length, userData.Length); 200Array.Copy(plainTextWithHashedPurpose, hashedPurpose.Length, plainText, 0, plainText.Length);
system\security\cryptography\pkcs\pkcs7recipient.cs (1)
142public void CopyTo(Array array, int index) {
system\security\cryptography\pkcs\pkcsmisc.cs (1)
401Array.Clear(parameters, sizeof(uint), (int)(parameters.Length - blob.cbData - sizeof(uint)));
system\security\cryptography\pkcs\pkcsutils.cs (1)
263Array.Copy(contentType, 0, temp, 0, temp.Length);
system\security\cryptography\pkcs\recipientinfo.cs (1)
489public void CopyTo(Array array, int index) {
system\security\cryptography\pkcs\signerinfo.cs (1)
815public void CopyTo(Array array, int index) {
system\security\cryptography\xml\c14nutil.cs (1)
648public void CopyTo(Array array, int index) {
system\security\cryptography\xml\encryptedkey.cs (1)
302public void CopyTo(Array array, int index) {
system\security\cryptography\xml\encryptedtype.cs (1)
394public void CopyTo(Array array, int index) {
system\security\cryptography\xml\signedinfo.cs (1)
47public void CopyTo(Array array, int index) {
system\security\cryptography\xml\symmetrickeywrap.cs (2)
58Array.Reverse(temp2); 77Array.Reverse(temp2);
System.ServiceModel (110)
System\ServiceModel\Administration\WbemProvider.cs (3)
949else if (val is Array) 951Array objs = (Array)val;
System\ServiceModel\Channels\Message.cs (1)
2138Array.Copy(entries, 1, entries, 0, entries.Length - 1);
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\MessageProperties.cs (1)
714Array.Copy(properties, newProperties, properties.Length);
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
64Array.Copy(supported, enc, supported.Length);
System\ServiceModel\Channels\NativeMsmqMessage.cs (3)
520Array.Copy(messageId, guid, guidSize); 551Array.Copy(guid.ToByteArray(), bytes, guidSize); 552Array.Copy(BitConverter.GetBytes(integerId), 0, bytes, guidSize, 4);
System\ServiceModel\Channels\PeerIPHelper.cs (1)
417if (AddressesChanged(Array.AsReadOnly<IPAddress>(newAddresses)))
System\ServiceModel\Channels\PeerSecurityHelpers.cs (3)
64Array.Copy(pwdHash, tempBuffer, pwdHash.Length); 65Array.Copy(message, 0, tempBuffer, pwdHash.Length, message.Length); 83Array.Clear(buffer, 0, buffer.Length);
System\ServiceModel\Channels\PeerServiceMessageContracts.cs (3)
105return this.body.referrals != null ? Array.AsReadOnly<Referral>(this.body.referrals) : null; 274get { return this.body.referrals != null ? Array.AsReadOnly<Referral>(this.body.referrals) : null; } 380get { return this.body.referrals != null ? Array.AsReadOnly<Referral>(this.body.referrals) : null; }
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (1)
285return Array.AsReadOnly<IPAddress>(addresses);
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
381Array.ForEach(input.Addresses, delegate(IPEndPoint obj) { addresses.Add(obj.Address); }); 397Array.ForEach(guids, delegate(Guid guid)
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\Channels\ServiceChannelProxy.cs (2)
464Array.Copy(methodDatas, newMethodDatas, methodDatas.Length); 719public void CopyTo(Array array, int index)
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
55Array.Copy(supported, enc, supported.Length);
System\ServiceModel\ClientBase.cs (3)
1131Array.Copy(args, inArgs, args.Length); 1147Array.Copy(args, inArgs, args.Length); 1159Array.Copy(retArgs, args, args.Length);
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
195operationDescription.KnownTypes.Add(typeof(Array));
System\ServiceModel\ComIntegration\DispatchProxy.cs (10)
326Array arr = result as Array; 327Array arrDest = Array.CreateInstance(typeof(object), arr.Length); 432Array arr = Array.CreateInstance(type.GetElementType(), objects.Length); 515Array arr = val as Array; 516Array arrDest = Array.CreateInstance(typeof(object), arr.Length);
System\ServiceModel\Description\MessageContractImporter.cs (1)
500isReturn = Array.IndexOf<string>(parameterOrder, part.Name) == -1;
System\ServiceModel\Description\OperationGenerator.cs (1)
994Array.Sort<MemberInfo>(publicMembers,
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
700Array.Sort((MessagePartDescription[])xHeaders, MessagePartDescriptionComparer.Singleton); 701Array.Sort((MessagePartDescription[])yHeaders, MessagePartDescriptionComparer.Singleton);
System\ServiceModel\Description\TypeLoader.cs (2)
453int methodIndex = Array.IndexOf(ifaceMap.InterfaceMethods, opMethod); 1509Array.Sort<MessagePartDescription>(partDescriptions, CompareMessagePartDescriptions);
System\ServiceModel\Description\WsdlExporter.cs (2)
1005return Array.Exists<XmlQualifiedName>(prefixDefinitions, 1020Array.Find<XmlQualifiedName>(prefixDefinitions,
System\ServiceModel\Description\WsdlImporter.cs (2)
1393Array.Resize<XmlAttribute>(ref attributes, i + 1); 2176if (attributes != null && Array.Exists(attributes, PolicyHelper.IsPolicyURIs))
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
595Array.Copy(members, newMembers, newMembers.Length);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilter.cs (1)
230Array.Resize(ref bits, bits.Length + 1);
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (1)
217Array.Resize(ref bits, item.Value.Length);
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (2)
180Array.Clear(this.resultData, 0, this.resultData.Length); 328Array.Resize(ref mask, this.index + 1);
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
173Array.Sort<FaultContractInfo>(temp,
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\QueryNode.cs (1)
842Array.Copy(this.items, newItems, this.items.Length);
System\ServiceModel\Dispatcher\QueryProcessor.cs (1)
777Array.Clear(vars, 0, vars.Length);
System\ServiceModel\Dispatcher\QueryStack.cs (1)
606Array.Copy(buffer, startAt, this.buffer.buffer, stackPtr, addCount);
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\Dispatcher\SeekableMessageNavigator.cs (2)
1165Array.Clear(this.nodes, 1, this.nextFreeIndex - 1); 1172Array.Copy(BlankDom, this.nodes, HeaderIndex + 1);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (5)
447Array tArray = Array.CreateInstance(headerDescription.Type, messageHeaderOfTArray.Length); 507object[] messageHeaderOfTArray = (object[])Array.CreateInstance(TypedHeaderManager.GetMessageHeaderType(headerDescription.Type), messageHeaderOfTAttributes.Count); 508Array headerValues = (Array)headerValue;
System\ServiceModel\FaultReason.cs (1)
67this.translations = new SynchronizedReadOnlyCollection<FaultReasonText>(new object(), Array.AsReadOnly<FaultReasonText>(translations));
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
102Array.Copy(bytes, newBytes, bytes.Length);
System\ServiceModel\Security\CryptoHelper.cs (1)
329internal static void ValidateBufferBounds(Array buffer, int offset, int count)
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (1)
152Array.Copy(this.elements, 0, newElements, 0, this.count);
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
73Array.Copy(this.tokens, 0, newTokens, 0, this.tokenCount);
System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
347emptyTokenAuthenticators = Array.AsReadOnly(new SupportingTokenAuthenticatorSpecification[0]);
System\ServiceModel\Security\SignatureConfirmations.cs (1)
41Array.Copy(confirmations, 0, newConfirmations, 0, length);
System\ServiceModel\ServiceHost.cs (1)
684return Array.AsReadOnly<InstanceContext>(this.instances.ToArray());
System\ServiceModel\SynchronizedCollection.cs (1)
235void ICollection.CopyTo(Array array, int index)
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
180void ICollection.CopyTo(Array array, int index)
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);
System\UriTemplateHelpers.cs (2)
67if (mustBeEspeciallyInteresting && Array.IndexOf(queryKeys, queryKeyName) == -1) 87Array.Sort<UriTemplate>(array, a, b - a, queryComparer);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\CollectibleLRUCache.cs (1)
171Array.Sort<CollectibleNode>(array, CollectibleNode.CounterComparison);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (1)
290Array.Copy(receiveBuffer.Array, receiveBuffer.Offset, dataBuffer, 0, dataLength);
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (1)
141Array.Sort<int>(this.preCalculatedDelays);
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (1)
73Array.Sort<long>(this.delaysInTicks);
System.ServiceModel.Internals (6)
System\Runtime\BufferedOutputStream.cs (1)
130Array.Copy(this.chunks, newChunks, this.chunks.Length);
System\Runtime\Collections\OrderedDictionary.cs (1)
312void ICollection.CopyTo(Array array, int index)
System\Runtime\IOThreadTimer.cs (1)
454Array.Copy(this.timers, timers, this.timers.Length);
System\Runtime\SynchronizedPool.cs (1)
206Array.Copy(localPending, newPending, localPending.Length);
System\Runtime\TypeHelper.cs (2)
14public static readonly Type ArrayType = typeof(Array); 567Array enumValues = Enum.GetValues(type);
System.Transactions (8)
System\Transactions\Oletx\OletxEnlistment.cs (3)
144Array.Copy(prepareInfoByteArray, proxyPrepareInfoByteArray, prepareInfoLength); 147Array.Copy(proxyPrepareInfoByteArray, txGuidByteArray, 16); 361Array.Copy(prepareInfo, this.proxyPrepareInfoByteArray, arrayLength);
System\Transactions\Transaction.cs (1)
684Array.Copy(internalPromotedToken, toReturn, toReturn.Length);
System\Transactions\TransactionInterop.cs (3)
112Array.Copy(whereabouts, whereaboutsCopy, whereabouts.Length); 190Array.Copy(cookie, cookieCopy, cookie.Length); 456Array.Copy(propagationToken, propagationTokenCopy, propagationToken.Length);
System\Transactions\TransactionState.cs (1)
1123Array.Copy(
System.Web (135)
Abstractions\HttpApplicationStateBase.cs (1)
86public virtual void CopyTo(Array array, int index) {
Abstractions\HttpApplicationStateWrapper.cs (1)
99public override void CopyTo(Array array, int index) {
Abstractions\HttpFileCollectionBase.cs (1)
66public virtual void CopyTo(Array dest, int index) {
Abstractions\HttpFileCollectionWrapper.cs (1)
79public override void CopyTo(Array dest, int index) {
Abstractions\HttpSessionStateBase.cs (1)
147public virtual void CopyTo(Array array, int index) {
Abstractions\HttpSessionStateWrapper.cs (1)
153public override void CopyTo(Array array, int index) {
Abstractions\HttpStaticObjectsCollectionBase.cs (1)
59public virtual void CopyTo(Array array, int index) {
Abstractions\HttpStaticObjectsCollectionWrapper.cs (1)
64public override void CopyTo(Array array, int index) {
Compilation\CodeDOMUtility.cs (2)
67Array array = (Array)value;
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
543Array.Resize(ref browserSubDirectories, j);
FileChangesMonitor.cs (1)
174Array.Resize(ref dacl, lengthNeeded);
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]);
HttpCookieCollection.cs (1)
194public void CopyTo(Array dest, int index) {
HttpFileCollection.cs (1)
63public void CopyTo(Array dest, int index) {
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);
HttpModuleCollection.cs (1)
38public void CopyTo(Array dest, int index) {
HttpRequest.cs (1)
2482Array.Copy(buffer, b2, c);
HttpResponse.cs (1)
3646Array.Copy(info.items, 0, _dependencyArray, index, length);
httpstaticobjectscollection.cs (1)
142public void CopyTo(Array array, int index) {
HttpWriter.cs (1)
1644System.Array.Copy(buffer, index, charBuffer, _charBufferLength - _charBufferFree, n);
ModelBinding\PrefixContainer.cs (2)
21Array.Sort(_sortedValues, StringComparer.OrdinalIgnoreCase); 33return Array.BinarySearch(_sortedValues, prefix, new PrefixComparer(prefix)) > -1;
ModelBinding\ValueProviderResult.cs (4)
110Array valueAsArray = value as Array; 115IList converted = Array.CreateInstance(destinationElementType, valueAsArray.Length); 124IList converted = Array.CreateInstance(destinationElementType, 1);
OutputCacheModule.cs (1)
212Array.Sort(a, InvariantComparer.Default);
parent\parent\parent\Misc\SecurityUtils.cs (1)
249return Array.CreateInstance(type, length);
Profile\ProfileInfo.cs (1)
132public void CopyTo(Array array, int index)
Security\Cryptography\Purpose.cs (2)
88Array.Copy(SpecificPurposes, newSpecificPurposes, SpecificPurposes.Length); 103Array.Copy(SpecificPurposes, newSpecificPurposes, SpecificPurposes.Length);
SiteMapNodeCollection.cs (3)
156internal virtual void CopyToInternal(Array array, int index) { 245void ICollection.CopyTo(Array array, int index) { 381internal override void CopyToInternal(Array array, int index) {
State\SessionState.cs (2)
220void CopyTo(Array array, int index); 452public void CopyTo(Array array, int index) {
State\SessionStateContainer.cs (1)
295public void CopyTo(Array array, int index) {
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);
UI\DataBinder.cs (2)
268Array arrayProp = collectionProp as Array;
UI\DataBindingCollection.cs (1)
171public void CopyTo(Array array, int index) {
UI\ExpressionBindingCollection.cs (1)
171public void CopyTo(Array array, int index) {
UI\FilteredAttributeCollection.cs (1)
227void ICollection.CopyTo(Array array, int index) {
UI\HtmlControls\HtmlSelect.cs (1)
408Array.Copy(temp,0,selectedIndices,0,n);
UI\HtmlControls\HtmlTableCellCollection.cs (1)
121public void CopyTo(Array array, int index) {
UI\HtmlControls\HtmlTableRowCollection.cs (1)
111public void CopyTo(Array array, int index) {
UI\HTMLTextWriter.cs (3)
742Array.Copy(_attrList, newArray, _attrList.Length); 769Array.Copy(_styleList, newArray, _styleList.Length); 932Array.Copy(_endTags, newArray, _endTags.Length);
UI\LOSFormatter.cs (1)
88Array.Copy(data, bigger, data.Length);
UI\ObjectStateFormatter.cs (8)
589Array list = Array.CreateInstance(elementType, count); 626Array list = Array.CreateInstance(elementType, count); 1043if (value is Array) { 1045if (((Array)value).Rank > 1) { 1075Array values = (Array)value;
UI\ParsedAttributeCollection.cs (1)
311void ICollection.CopyTo(Array array, int index) {
UI\StateBag.cs (1)
405void ICollection.CopyTo(Array array, int index) {
UI\StateManagedCollection.cs (1)
72public void CopyTo(Array array, int index) {
UI\ValidatorCollection.cs (1)
90public void CopyTo(Array array, int index) {
UI\WebControls\ColumnCollection.cs (3)
142/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending at 143/// the specified index of the <see cref='System.Array' qualify='true'/>.</para> 145public void CopyTo(Array array, int index) {
UI\WebControls\DataControlFieldCollection.cs (2)
76/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending at 77/// the specified index of the <see cref='System.Array' qualify='true'/>.</para>
UI\WebControls\DataGridItemCollection.cs (3)
85/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending 86/// at the specified index of the <see cref='System.Array' qualify='true'/>.</para> 88public void CopyTo(Array array, int index) {
UI\WebControls\DataKeyArray.cs (3)
82/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending at 83/// the specified index of the <see cref='System.Array' qualify='true'/>.</para> 91void ICollection.CopyTo(Array array, int index) {
UI\WebControls\DataKeyCollection.cs (3)
81/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending at 82/// the specified index of the <see cref='System.Array' qualify='true'/>.</para> 84public void CopyTo(Array array, int index) {
UI\WebControls\DataListItemCollection.cs (3)
82/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending at 83/// the specified index of the <see cref='System.Array' qualify='true'/>.</para> 85public void CopyTo(Array array, int index) {
UI\WebControls\DetailsView.cs (1)
2227if (includeKeys || (Array.IndexOf(dataKeyNames, entry.Key) == -1)) {
UI\WebControls\DetailsViewRowCollection.cs (3)
81/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending 82/// at the specified index of the <see cref='System.Array' qualify='true'/>.</para> 90void ICollection.CopyTo(Array array, int index) {
UI\WebControls\DummyDataSource.cs (1)
41public void CopyTo(Array array, int index) {
UI\WebControls\FormView.cs (1)
1899if (!includeKeys && Array.IndexOf(dataKeyNames, entry.Key) != -1) {
UI\WebControls\GridView.cs (1)
2764if (includePrimaryKey || (Array.IndexOf(dataKeyNames, entry.Key) == -1)) {
UI\WebControls\GridViewRowCollection.cs (3)
85/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending 86/// at the specified index of the <see cref='System.Array' qualify='true'/>.</para> 94void ICollection.CopyTo(Array array, int index) {
UI\WebControls\ListItemCollection.cs (2)
149/// <para>Copies contents from the collection to a specified <see cref='System.Array' qualify='true'/> with a 152public void CopyTo(Array array, int index) {
UI\WebControls\MenuItemCollection.cs (1)
129public void CopyTo(Array array, int index) {
UI\WebControls\ModelDataSourceView.cs (1)
1147MethodInfo[] actionMethods = Array.FindAll(allMethods, methodInfo => methodInfo.Name.Equals(methodName, StringComparison.OrdinalIgnoreCase));
UI\WebControls\PagedDataSource.cs (2)
309public void CopyTo(Array array, int index) { 327else if (dataSource is Array) {
UI\WebControls\RepeaterItemCollection.cs (2)
87/// <para>Copies contents from the collection to a specified <see cref='System.Array' qualify='true'/> with a 90public void CopyTo(Array array, int index) {
UI\WebControls\SelectedDatesCollection.cs (2)
111/// <para>Copies contents from the collection to a specified <see cref='System.Array' qualify='true'/> with a 114public void CopyTo(Array array, int index) {
UI\WebControls\TableCellCollection.cs (2)
140/// <para>Copies contents from the collection to the specified <see cref='System.Array' qualify='true'/> with the 143public void CopyTo(Array array, int index) {
UI\WebControls\TableRowCollection.cs (2)
138/// <para>Copies contents from the collection to the specified <see cref='System.Array' qualify='true'/> with the 141public void CopyTo(Array array, int index) {
UI\WebControls\TreeNode.cs (1)
1510Array.Copy(isLast, 0, newIsLast, 0, isLast.Length);
UI\WebControls\TreeNodeCollection.cs (1)
251void ICollection.CopyTo(Array array, int index) {
UI\WebControls\Wizard.cs (4)
1647Array collection = t.Second as Array; 1649Array.Reverse(collection); 3690void ICollection.CopyTo(Array array, int index) {
UI\WebControls\XmlDataSourceView.cs (1)
107void ICollection.CopyTo(Array array, int index) {
UI\WebParts\PersonalizableTypeEntry.cs (1)
64Array.Sort(props, new DeclaringTypeComparer());
UI\WebParts\PersonalizationDictionary.cs (1)
173void ICollection.CopyTo(Array array, int index) {
UI\WebParts\PersonalizationProviderHelper.cs (1)
47Array.Copy(array, result, i);
UI\WebParts\PersonalizationStateInfoCollection.cs (1)
164void ICollection.CopyTo(Array array, int index) {
Util\EmptyCollection.cs (1)
34public void CopyTo(Array array, int index) { }
Util\HttpEncoder.cs (1)
491Array.Copy(decodedBytes, newDecodedBytes, decodedBytesCount);
Util\ObjectSet.cs (1)
234public void CopyTo(Array array, int index) {
Util\SingleObjectCollection.cs (1)
48public void CopyTo(Array array, int index) {
WebSockets\AspNetWebSocketManager.cs (1)
49Task[] abortTasks = Array.ConvertAll(sockets, socket => socket.AbortAsync());
System.Web.ApplicationServices (1)
Security\MembershipUserCollection.cs (1)
99void ICollection.CopyTo(Array array, int index) {
System.Web.DataVisualization (26)
Common\Converters\CustomAttributesConverters.cs (11)
139 else if (context.Instance is Array) 142 foreach (object obj in ((Array)context.Instance)) 295Array array = obj as Array; 340 if(obj is Array && ((Array)obj).Length > 0) 342 if(((Array)obj).GetValue(0) is Series) 344 seriesArray = new Series[((Array)obj).Length]; 345 ((Array)obj).CopyTo(seriesArray, 0); 347 else if(((Array)obj).GetValue(0) is DataPointCustomProperties) 349 seriesArray = new Series[] { ((DataPointCustomProperties)((Array)obj).GetValue(0)).series };
Common\Converters\LegendConverters.cs (13)
131else if (context.Instance is Array) 133if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is Legend) 135Legend legend = (Legend)((Array)context.Instance).GetValue(0); 141else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is ChartArea) 143ChartArea area = (ChartArea)((Array)context.Instance).GetValue(0); 149else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is Title) 151Title title = (Title)((Array)context.Instance).GetValue(0); 158else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is Annotation) 160Annotation annotation = (Annotation)((Array)context.Instance).GetValue(0);
Common\DataManager\DataPoint.cs (1)
4727 Array enumValues = Enum.GetValues(typeof(CommonCustomProperties));
Common\General\ChartSerializer.cs (1)
658 Array enumValues = Enum.GetValues(typeof(SerializationContents ));
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceViewSchema.cs (1)
157if (typeof(Array).IsAssignableFrom(type))
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (1)
120public void CopyTo(Array array, int index)
System.Web.Entity.Design (1)
System\Data\WebControls\Design\Util\WizardForm.cs (1)
287Array.Reverse(panels);
System.Web.Extensions (16)
Compilation\WCFModel\SchemaMerger.cs (1)
473Array.Sort(attributeArray, new AttributeComparer());
Compilation\WCFModel\WsdlInspector.cs (6)
113Array.Sort(operationsX, new OperationComparer()); 117Array.Sort(operationsY, new OperationComparer()); 175Array.Sort(faultsX, new OperationFaultComparer()); 179Array.Sort(faultsY, new OperationFaultComparer()); 227Array.Sort(partsX, new MessagePartComparer()); 231Array.Sort(partsY, new MessagePartComparer());
Script\Services\WebServiceEnumData.cs (3)
27internal WebServiceEnumData(string typeName, string typeNamespace, string[] names, Array values, bool isULong) 32internal WebServiceEnumData(string typeName, string typeNamespace, Type t, string[] names, Array values, bool isULong) 64private void InitWebServiceEnumData(string[] names, Array values, bool isULong) {
UI\PageRequestManager.cs (1)
530(_updatePanelsRequireUpdate != null && Array.IndexOf(_updatePanelsRequireUpdate, panel.UniqueID) != -1);
UI\WebControls\DataPagerFieldCollection.cs (2)
77/// <para>Copies the contents of the entire collection into an <see cref='System.Array' qualify='true'/> appending at 78/// the specified index of the <see cref='System.Array' qualify='true'/>.</para>
UI\WebControls\ListView.cs (1)
2048if (includePrimaryKey || (Array.IndexOf(DataKeyNamesInternal, entry.Key) == -1)) {
UI\WebControls\ListViewPagedDataSource.cs (2)
200public void CopyTo(Array array, int index) { 223else if (_dataSource is Array) {
System.Web.Mobile (19)
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (1)
283Array.Sort(selectedItemIndices);
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (1)
233Array.Sort(selectedItemIndices);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (1)
137Array.Sort(selectedItemIndices);
UI\MobileControls\ArrayListCollectionBase.cs (1)
97public void CopyTo(Array array, int index)
UI\MobileControls\Design\Converters\ChoiceConverter.cs (1)
33if (context != null && context.Instance is Array)
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
201Array.Sort(names);
UI\MobileControls\Design\Converters\DataMemberConverter.cs (1)
127Array.Sort(names);
UI\MobileControls\Design\Converters\FontNameConverter.cs (1)
91Array.Sort(array);
UI\MobileControls\Design\Converters\FormConverter.cs (3)
57if (context.Instance is Array) 59Array list = (Array)context.Instance;
UI\MobileControls\Design\Converters\NavigateUrlConverter.cs (1)
31if (formList != null && !(context.Instance is Array))
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (3)
74else if (instance is Array) 76Array array = (Array)instance;
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (3)
49if (instance is Array) 51Array controlList = (Array)instance;
UI\MobileControls\MobileControl.cs (1)
530if (Array.BinarySearch(_ignoredCustomAttributes, keyLower) < 0)
System.Web.Services (31)
System\Web\Services\Configuration\WebServicesSection.cs (2)
141Array.Copy(defaultFormatTypes, formatTypes, defaultFormatTypes.Length); 223Array.Sort(prefixes, InvariantComparer.Default);
System\Web\Services\Diagnostics\TraceUtility.cs (1)
379sb.Append(((Array)o).Length);
System\Web\Services\Discovery\LinkGrep.cs (1)
34System.Array.Copy(buffer, 0, newbuf, 0, buffer.Length);
System\Web\Services\Protocols\BufferedResponseStream.cs (2)
77Array.Copy(array, offset, buffer, position, numBytes); 92Array.Copy(array, offset, buffer, position, count);
System\Web\Services\Protocols\LogicalMethodInfo.cs (1)
190Array.Copy(values, 1, newValues, 0, newValues.Length);
System\Web\Services\Protocols\SoapClientProtocol.cs (10)
70Array.Sort(HighPriExtensions); 71Array.Sort(LowPriExtensions); 463private static Array CombineExtensionsHelper(Array array1, Array array2, Array array3, Type elementType) { 467Array result = null; 476Array.Copy(array1, 0, result, pos, array1.Length); 478Array.Copy(array2, 0, result, pos, array2.Length); 480Array.Copy(array3, 0, result, pos, array3.Length);
System\Web\Services\Protocols\SoapReflector.cs (2)
439Array.Sort(soapMethod.extensions); 442Array.Sort(headerAttributes, new SoapHeaderAttributeComparer());
System\Web\Services\Protocols\SoapServerProtocol.cs (8)
97Array.Sort(HighPriExtensions); 98Array.Sort(LowPriExtensions); 516private static Array CombineExtensionsHelper(Array array1, Array array2, Type elementType) { 522Array result = null; 532Array.Copy(array1, 0, result, 0, array1.Length); 533Array.Copy(array2, 0, result, array1.Length, array2.Length);
System\Web\Services\Protocols\UrlEncodedParameterWriter.cs (2)
57Array array = (Array)values[i];
System\Web\Services\Protocols\ValueCollectionParameterReader.cs (2)
54Array array = Array.CreateInstance(arrayType, arrayValues.Length);
System.Windows.Forms (212)
misc\HandleCollector.cs (1)
86Array.Copy(handleTypes, 0, newTypes, 0, handleTypeCount);
misc\SecurityUtils.cs (1)
249return Array.CreateInstance(type, length);
winforms\Managed\System\WinForms\Application.cs (1)
4262Array.Copy(windows, 0, newWindows, 0, windowCount);
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (2)
148/// <para>Copies the <see cref='System.Collections.Specialized.AutoCompleteStringCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the 265void ICollection.CopyTo(Array array, int index) {
winforms\Managed\System\WinForms\AxHost.cs (5)
5045o = ((Array)o).GetValue(0); 5059o = ((Array)o).GetValue(0); 6444Array.Copy(extenderMembs, 0, membs, 0, extenderMembs.Length); 6445Array.Copy(ctlMembs, 0, membs, extenderMembs.Length, ctlMembs.Length); 7461Array.Copy(nameItems, 0, strings, 0, itemCount);
winforms\Managed\System\WinForms\BaseCollection.cs (1)
41public void CopyTo(Array ar, int index) {
winforms\Managed\System\WinForms\BindingContext.cs (1)
49void ICollection.CopyTo(Array ar, int index)
winforms\Managed\System\WinForms\BindingSource.cs (1)
1585public virtual void CopyTo(Array arr, int index) {
winforms\Managed\System\WinForms\BindToObject.cs (1)
155if (typeof(Array).IsAssignableFrom(type))
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
1297public void CopyTo(Array dest, int index) { 1487public void CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\ColorDialog.cs (1)
146if (length > 0) Array.Copy(value, 0, customColors, 0, length);
winforms\Managed\System\WinForms\ComboBox.cs (1)
4276void ICollection.CopyTo(Array destination, int index) {
winforms\Managed\System\WinForms\Command.cs (1)
88Array.Copy(cmds, 0, newCmds, 0, icmd);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (2)
59protected abstract Array CreateArray(); 119Array items = new object[Count]; //cpb vs38262 System.Array.CreateInstance(this.ItemType,count);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (3)
317Array.Copy(nameItems, i, nameItems, i+1, itemCount); 318Array.Copy(valueItems, i, valueItems, i+1, itemCount); 325Array.Copy(nameItems, 0, strings, 0, itemCount);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\Int32CAMarshaler.cs (1)
35protected override Array CreateArray() {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\OleStrCAMarshaler.cs (1)
34protected override Array CreateArray() {
winforms\Managed\System\WinForms\Control.cs (3)
18780Array.Copy(streamData, newChunk, streamData.Length); 19551index = Array.IndexOf(ctrls, ownerControl); 19560index = Array.IndexOf(ctrls, ownerControl);
winforms\Managed\System\WinForms\CurrencyManager.cs (2)
187if (tempList is Array) { 189tempList = (Array)tempList;
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
101void ICollection.CopyTo(Array array, int index) {
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
953if (Array.IndexOf(dgRows, this.owner) == -1) { 976if (Array.IndexOf(dgRows, this.owner) == -1) {
winforms\Managed\System\WinForms\DataGridTable.cs (1)
1449return typeof(IList).IsAssignableFrom(prop.PropertyType) && !typeof(Array).IsAssignableFrom(prop.PropertyType);
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
92void ICollection.CopyTo(Array array, int index) {
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (1)
105void ICollection.CopyTo(Array array, int index)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
148void ICollection.CopyTo(Array array, int index)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
3029void ICollection.CopyTo(Array destination, int index)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
1567Array.Copy(clonedColumns, finalClonedColumns, clonedColumnsCount); 1571Array.Sort(finalClonedColumns, System.Windows.Forms.DataGridViewColumnCollection.ColumnCollectionOrderComparer);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (1)
138void ICollection.CopyTo(Array array, int index)
winforms\Managed\System\WinForms\DataGridViewSelectedCellCollection.cs (1)
103void ICollection.CopyTo(Array array, int index)
winforms\Managed\System\WinForms\DataGridViewSelectedColumnCollection.cs (1)
100void ICollection.CopyTo(Array array, int index)
winforms\Managed\System\WinForms\DataGridViewSelectedRowCollection.cs (1)
103void ICollection.CopyTo(Array array, int index)
winforms\Managed\System\WinForms\Design\EventsTab.cs (2)
151Array.Copy(attributes, 0, attributesPlusNamespace, 0, attributes.Length); 188Array.Copy(realNamespaceProperties, 0, finalEvents, realEvents.Count, realNamespaceProperties.Length);
winforms\Managed\System\WinForms\Form.cs (3)
2139Array.Copy(ownedForms, 0, result, 0, ownedFormsCount); 3175Array.Copy(ownedForms, 0, newOwnedForms, 0, ownedFormsCount); 5590Array.Copy(ownedForms, i + 1, ownedForms, i, ownedFormsCount - i - 1);
winforms\Managed\System\WinForms\GridItemCollection.cs (2)
88void ICollection.CopyTo(Array dest, int index) { 90System.Array.Copy(entries, 0, dest, index, entries.Length);
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
567Array.Reverse(args);
winforms\Managed\System\WinForms\HtmlElement.cs (1)
617Array.Reverse(parameter);
winforms\Managed\System\WinForms\HtmlElementCollection.cs (1)
173void ICollection.CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\HtmlWindowCollection.cs (1)
107void ICollection.CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\ImageList.cs (1)
1531void ICollection.CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\InputLanguageCollection.cs (1)
51/// <para>Copies the <see cref='System.Windows.Forms.InputLanguageCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (1)
143public void CopyTo(Array array, int index) { InnerList.CopyTo(array, index); }
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1703Array.Copy(childInfo, trimmedChildInfo, trimmedChildInfo.Length);
winforms\Managed\System\WinForms\LinkLabel.cs (1)
2308void ICollection.CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\ListBindingConverter.cs (1)
151Array.Copy(ConstructorParamaterTypes, 0, ctorParams, 0, ctorParams.Length);
winforms\Managed\System\WinForms\ListBindingHelper.cs (3)
246if (typeof(Array).IsAssignableFrom(listType)) { 325if (typeof(Array).IsAssignableFrom(type)) { 577if (typeof(Array).IsAssignableFrom(targetType)) {
winforms\Managed\System\WinForms\ListBox.cs (12)
2570Array.Clear(entries, 0, count); 2746System.Array.Copy(entries, index, entries, index + 1, count - index); 2803return Array.BinarySearch(entries, 0, count, element, this); 2811Array.Sort(entries, 0, count, this); 2815public void Sort(Array externalArray) { 2816Array.Sort(externalArray, this); 3235void ICollection.CopyTo(Array destination, int index) { 3495index = Array.IndexOf(innerArray, item); 3533Array.Sort(innerArray,0,count); 3748public void CopyTo(Array destination, int index) { 3997public void CopyTo(Array destination, int index) { 4314public void CopyTo(Array destination, int index) {
winforms\Managed\System\WinForms\ListView.cs (17)
3631System.Array.Copy(columnHeaders, 0, newHeaders, 0, columnCount); 3638System.Array.Copy(columnHeaders, idx, columnHeaders, idx + 1, columnCount - idx); 6619void ICollection.CopyTo(Array dest, int index) { 6621System.Array.Copy(IndicesArray, 0, dest, index, Count); 6935public void CopyTo(Array dest, int index) { 6941System.Array.Copy(ItemArray, 0, dest, index, Count); 7240public void CopyTo(Array dest, int index) { 7242System.Array.Copy(IndicesArray, 0, dest, index, Count); 7575public void CopyTo(Array dest, int index) { 7581System.Array.Copy(SelectedItemArray, 0, dest, index, Count); 8040void ICollection.CopyTo(Array dest, int index) { 8042System.Array.Copy(owner.columnHeaders, 0, dest, index, Count); 8218System.Array.Copy(owner.columnHeaders, 0, newHeaders, 0, index); 8220System.Array.Copy(owner.columnHeaders, index+1, newHeaders, index, columnCount - index); 8288void CopyTo(Array dest, int index); 8580public void CopyTo(Array dest, int index) { 9184public void CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
565public void CopyTo(Array array, int index) {
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
120public void CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\ListViewItem.cs (5)
1991Array.Copy(owner.subItems, 0, newItems, 0, index); 1992Array.Copy(owner.subItems, index, newItems, index + size, owner.SubItemCount - index); 1995Array.Copy(owner.subItems, newItems, owner.SubItemCount); 2160void ICollection.CopyTo(Array dest, int index) { 2162System.Array.Copy(owner.subItems, 0, dest, index, Count);
winforms\Managed\System\WinForms\Menu.cs (5)
873if (owner.ItemCount > 0) System.Array.Copy(owner.items, 0, newItems, 0, owner.ItemCount); 876System.Array.Copy(owner.items, index, owner.items, index + 1, owner.ItemCount - index); 1105public void CopyTo(Array dest, int index) { 1107System.Array.Copy(owner.items, 0, dest, index, owner.ItemCount); 1132System.Array.Copy(owner.items, index + 1, owner.items, index, owner.ItemCount - index);
winforms\Managed\System\WinForms\MessageBox.cs (2)
110Array.Copy(helpInfoTable, newTable, newCount); 134Array.Copy(helpInfoTable, newTable, lastCount);
winforms\Managed\System\WinForms\PropertyGrid.cs (26)
1906Array.Copy(viewTabs, 0, newTabs, 0, tabIndex); 1907Array.Copy(viewTabs, tabIndex, newTabs, tabIndex + 1, viewTabs.Length - tabIndex); 1914Array.Copy(viewTabScopes, 0, newTabScopes, 0, tabIndex); 1915Array.Copy(viewTabScopes, tabIndex, newTabScopes, tabIndex + 1, viewTabScopes.Length - tabIndex); 1929Array.Copy(tabComps, newComps, oldArraySize); 2546Array.Copy(tabTypes, 0, newTabs, 0, types); 2595Array.Copy(tabTypes, 0, returnTypes, 0, types); 2865Array.Copy(currentObjects, 0, newObjects, 0, i); 2869Array.Copy(currentObjects, i + 1, newObjects, i, newObjects.Length - i); 3998index = Array.IndexOf(components, component); 4002Array.Copy(components, 0, newComponents, 0, index); 4003Array.Copy(components, index + 1, newComponents, index, components.Length - index - 1); 4054Array.Copy(viewTabs, 0, newTabs, 0, i); 4055Array.Copy(viewTabs, i + 1, newTabs, i, viewTabs.Length - i - 1); 4059Array.Copy(viewTabScopes, 0, newTabScopes, 0, i); 4060Array.Copy(viewTabScopes, i + 1, newTabScopes, i, viewTabScopes.Length - i - 1); 4110Array.Copy(viewTabs, 0, newTabs, 0, tabIndex); 4111Array.Copy(viewTabs, tabIndex + 1, newTabs, tabIndex, viewTabs.Length - tabIndex - 1); 4115Array.Copy(viewTabScopes, 0, newTabScopes, 0, tabIndex); 4116Array.Copy(viewTabScopes, tabIndex + 1, newTabScopes, tabIndex, viewTabScopes.Length - tabIndex - 1); 4145Array.Copy(viewTabs, 0, newTabs, 0, tabIndex); 4146Array.Copy(viewTabs, tabIndex + 1, newTabs, tabIndex, viewTabs.Length - tabIndex - 1); 4150Array.Copy(viewTabScopes, 0, newTabScopes, 0, tabIndex); 4151Array.Copy(viewTabScopes, tabIndex + 1, newTabScopes, tabIndex, viewTabScopes.Length - tabIndex - 1); 5173void ICollection.CopyTo(Array dest, int index) { 5178System.Array.Copy(owner.viewTabs, 0, dest, index, owner.viewTabs.Length);
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (4)
65Debug.Assert(owner is Array, "Owner is not array type!"); 66return((Array)owner).GetValue(index); 70Debug.Assert(owner is Array, "Owner is not array type!"); 71((Array)owner).SetValue(value,index);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
1597Array objArray = (Array)obj;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntryCollection.cs (2)
53public void CopyTo(Array dest, int index) { 62return Array.IndexOf(entries, child);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
123int index = Array.IndexOf(controls, c);
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (20)
154Debug.Assert(component is Array, "MergePropertyDescriptor::CanResetValue called with non-array value"); 157Array a = (Array)component; 246private object GetPropertyOwnerForComponent(Array a, int i) { 275Debug.Assert(component is Array, "MergePropertyDescriptor::GetValue called with non-array value"); 277return GetValue((Array)component, out temp); 280public object GetValue(Array components, out bool allEqual) { 323internal object[] GetValues(Array components) { 343Debug.Assert(component is Array, "MergePropertyDescriptor::ResetValue called with non-array value"); 344Array a = (Array)component; 350private void SetCollectionValues(Array a, IList listValue) { 391Debug.Assert(component is Array, "MergePropertyDescriptor::SetValue called with non-array value"); 392Array a = (Array)component; 414Debug.Assert(component is Array, "MergePropertyDescriptor::ShouldSerializeValue called with non-array value"); 415Array a = (Array)component; 474public void CopyTo(Array array, int index) { 477Array.Copy(items, 0, array, index, items.Length);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (8)
139Array.Copy(objs, 0, temp, 0, objs.Length); 207Array ownerArray = owner as Array; 308if (!(owner1 is Array)) { 312Array a1 = owner1 as Array; 313Array a2 = owner2 as Array;
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (3)
38foreach (object obj in (Array)objValue) { 107Array.Copy(rgobjs, 1, sortObjs, 0, cLength - 1); 314Array.Copy(mergedEntryList, 0, mergeArray, 1, mergedEntryList.Length);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (5)
727if (propertyInfo is MergePropertyDescriptor && obj is Array) 729Array objArray = obj as Array; 894Array objArray = obj as Array;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
3737Array.Copy(entries, 0, newEntries, 0, parentIndex + 1); 3740Array.Copy(entries, parentIndex + e.OldChildCount+1, newEntries, parentIndex + e.NewChildCount+1, entries.Length - (parentIndex + e.OldChildCount + 1));
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
91Array.Sort(attr1, GridEntry.AttributeTypeSorter); 92Array.Sort(attr2, GridEntry.AttributeTypeSorter);
winforms\Managed\System\WinForms\PropertyStore.cs (8)
512Array.Copy(intEntries, 0, newEntries, 0, index); 516Array.Copy(intEntries, index + 1, newEntries, index, intEntries.Length - index - 1); 580Array.Copy(objEntries, 0, newEntries, 0, index); 585Array.Copy(objEntries, index + 1, newEntries, index, objEntries.Length - index - 1); 717Array.Copy(intEntries, 0, newEntries, 0, index); 721Array.Copy(intEntries, index, newEntries, index + 1, intEntries.Length - index); 777Array.Copy(objEntries, 0, newEntries, 0, index); 781Array.Copy(objEntries, index, newEntries, index + 1, objEntries.Length - index);
winforms\Managed\System\WinForms\StatusBar.cs (1)
1618void ICollection.CopyTo(Array dest, int index) {
winforms\Managed\System\WinForms\StringSource.cs (2)
45Array.Clear(strings,0, size); 96Array.Clear(strings,0, size);
winforms\Managed\System\WinForms\TabControl.cs (8)
1216if (tabPageCount > 0) Array.Copy(tabPages, 0, result, 0, tabPageCount); 1226object[] result = (object[]) Array.CreateInstance(baseType, tabPageCount); 1227if (tabPageCount > 0) Array.Copy(tabPages, 0, result, 0, tabPageCount); 1278Array.Copy(tabPages, 0, newTabPages, 0, tabPageCount); 1282Array.Copy(tabPages, index, tabPages, index + 1, tabPageCount - index); 1706Array.Copy(tabPages, index + 1, tabPages, index, tabPageCount - index); 2642void ICollection.CopyTo(Array dest, int index) { 2644System.Array.Copy(owner.GetTabPages(), 0, dest, index, Count);
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (1)
115void ICollection.CopyTo(System.Array array, int startIndex) { _innerList.CopyTo(array, startIndex); }
winforms\Managed\System\WinForms\ToolBar.cs (5)
1172System.Array.Copy(buttons, 0, newButtons, 0, buttonCount); 1177System.Array.Copy(buttons, index, buttons, index + 1, buttonCount - index); 1423System.Array.Copy(buttons, index + 1, buttons, index, buttonCount - index); 2022void ICollection.CopyTo(Array dest, int index) { 2024System.Array.Copy(owner.buttons, 0, dest, index, owner.buttonCount);
winforms\Managed\System\WinForms\TreeNode.cs (1)
1516System.Array.Copy(children, 0, bigger, 0, childCount);
winforms\Managed\System\WinForms\TreeNodeCollection.cs (2)
580public void CopyTo(Array dest, int index) { 582System.Array.Copy(owner.children, 0, dest, index, owner.childCount);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
6571Array.Copy(bytes, 0, buffer, offset, count);
System.Windows.Forms.DataVisualization (26)
Common\Converters\CustomAttributesConverters.cs (11)
139 else if (context.Instance is Array) 142 foreach (object obj in ((Array)context.Instance)) 295Array array = obj as Array; 340 if(obj is Array && ((Array)obj).Length > 0) 342 if(((Array)obj).GetValue(0) is Series) 344 seriesArray = new Series[((Array)obj).Length]; 345 ((Array)obj).CopyTo(seriesArray, 0); 347 else if(((Array)obj).GetValue(0) is DataPointCustomProperties) 349 seriesArray = new Series[] { ((DataPointCustomProperties)((Array)obj).GetValue(0)).series };
Common\Converters\LegendConverters.cs (13)
131else if (context.Instance is Array) 133if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is Legend) 135Legend legend = (Legend)((Array)context.Instance).GetValue(0); 141else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is ChartArea) 143ChartArea area = (ChartArea)((Array)context.Instance).GetValue(0); 149else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is Title) 151Title title = (Title)((Array)context.Instance).GetValue(0); 158else if (((Array)context.Instance).Length > 0 && ((Array)context.Instance).GetValue(0) is Annotation) 160Annotation annotation = (Annotation)((Array)context.Instance).GetValue(0);
Common\DataManager\DataPoint.cs (1)
4727 Array enumValues = Enum.GetValues(typeof(CommonCustomProperties));
Common\General\ChartSerializer.cs (1)
658 Array enumValues = Enum.GetValues(typeof(SerializationContents ));
System.Workflow.Activities (19)
Common\NativeMethods.cs (1)
218if ((null == expectedHRFailure) || (Array.IndexOf(expectedHRFailure, hr) < 0))
Rules\Executor.cs (2)
167private Array targetArray; 170public RuleArrayElementResult(Array targetArray, long[] indexerArguments)
Rules\Expressions.cs (9)
1592Array paramsArray = (Array)arrayType.InvokeMember(arrayType.Name, BindingFlags.CreateInstance, null, null, new object[] { actualArgCount - i }, CultureInfo.CurrentCulture); 2543Array paramsArray = (Array)arrayType.InvokeMember(arrayType.Name, BindingFlags.CreateInstance, null, null, new object[] { actualArgCount - i }, CultureInfo.CurrentCulture); 2833RuleArrayElementResult result = new RuleArrayElementResult((Array)target, indexArgs); 3098Array paramsArray = Array.CreateInstance(elementType, actualArgCount - i); 3420Array result = Array.CreateInstance(elementType, size);
Rules\Parser\Parser.cs (2)
2658Array paramsArgs = (Array)paramType.InvokeMember(paramType.Name, BindingFlags.CreateInstance, null, null, new object[] { numArgs - fixedParameterCount }, CultureInfo.CurrentCulture);
Rules\RuleAttributes.cs (1)
220ParameterInfo param = Array.Find<ParameterInfo>(parameters,
Rules\RuleValidation.cs (3)
190Array.Copy(actualParameters, 1, expectedParameters, 0, actualParameterLength - 1); 230Array.Copy(parameters, 0, actualParameters, 1, actualParameterLength - 1); 238Array.Copy(actualParameters, 1, parameters, 0, actualParameterLength - 1);
Task.cs (1)
1103void ICollection.CopyTo(Array array, int index)
System.Workflow.ComponentModel (21)
AuthoringOM\ActivitiesCollection.cs (1)
331void ICollection.CopyTo(Array array, int index)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
1284Array.Sort(cultureInfoStrings); 1289if (Array.BinarySearch(cultureInfoStrings, cultureString.ToLowerInvariant()) < 0)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (4)
23Array xArray = x as Array; 24Array yArray = y as Array;
AuthoringOM\DependencyProperty.cs (1)
247Array values = Enum.GetValues(propertyType);
AuthoringOM\ItemList.cs (1)
398void ICollection.CopyTo(Array array, int index)
AuthoringOM\Serializer\CollectionMarkupSerializer.cs (1)
93if (typeof(Array).IsAssignableFrom(collectionType))
AuthoringOM\Serializer\FormatterServicesNoSerializableCheck.cs (3)
160Array.Copy(typeMembers, membersTemp, typeMembers.Length); 165Array.Copy(typeNames, namesTemp, typeNames.Length); 201Array.Copy(parentTypes, 0, tempParentTypes, 0, parentTypeCount);
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
494if (TypeProvider.IsAssignable(typeof(ICollection<string>), objectType) && TypeProvider.IsAssignable(objectType, typeof(List<string>)) && !TypeProvider.IsAssignable(typeof(Array), objectType))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (5)
3134if (typeName.Equals(typeof(Array).Name, StringComparison.Ordinal)) 3144typeof(System.Array).IsAssignableFrom(type)); 3152if (xmlQualifiedName.Name.Equals(typeof(Array).Name) || string.Equals(xmlQualifiedName.Name, "Null", StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, typeof(NullExtension).Name, StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, "Type", StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, typeof(TypeExtension).Name, StringComparison.Ordinal)) 3164if (value is Array) 3165return new ArrayExtension(value as Array);
AuthoringOM\Serializer\XamlInterfaces.cs (1)
259public ArrayExtension(Array elements)
Shared\NativeMethods.cs (1)
232if ((null == expectedHRFailure) || (Array.IndexOf(expectedHRFailure, hr) < 0))
System.Workflow.Runtime (5)
Hosting\WorkflowPersistenceService.cs (1)
71Array.Resize<Byte>(ref result, Convert.ToInt32(compressedStream.Length));
System\Activities\Statements\InteropExecutor.cs (1)
388Array.Resize<byte>(ref this.persistedActivityData, Convert.ToInt32(stream.Length));
TimerEventSubscriptionCollection.cs (1)
143public void CopyTo(Array array, int index)
Tracking.cs (1)
1894Array.Copy(result, result16, Math.Min(result16.Length, result.Length));
WorkflowDefinitionDispenser.cs (1)
166Array.Copy(xomlHashCode256, xomlHashCode, Math.Min(xomlHashCode.Length, xomlHashCode256.Length));
System.WorkflowServices (1)
System\Workflow\Activities\OperationParameterInfoCollection.cs (1)
200void ICollection.CopyTo(Array array, int index)
System.Xml (115)
System\Xml\Base64Decoder.cs (1)
110internal override void SetNextOutputBuffer( Array buffer, int index, int count ) {
System\Xml\BinaryXml\XmlBinaryReader.cs (11)
1673System.Array.Copy(symtable, 0, n, 0, symNum); 1687System.Array.Copy(qnametable, 0, n, 0, qnameNum); 1726Array.Clear(this.symbolTables.symtable, 1, this.symbolTables.symtable.Length - 1); 1727Array.Clear(this.symbolTables.qnametable, 0, this.symbolTables.qnametable.Length); 1768System.Array.Copy(data, mark, newdata, 0, cbKeep); 1772System.Array.Copy(data, mark, data, 0, cbKeep); 2127System.Array.Copy(this.elementStack, 0, n, 0, this.elementStack.Length); 2135System.Array.Copy(this.attributes, 0, n, 0, this.attrCount); 2400Array.Clear(this.attrHashTbl, 0, tblSize); 3689Array.Copy(this.data, this.tokDataPos, data, 0, this.tokLen); 3854Array.Copy(this.data, this.tokDataPos, data, 0, this.tokLen);
System\Xml\BinHexDecoder.cs (2)
106internal override void SetNextOutputBuffer( Array buffer, int index, int count ) { 152Array.Copy( bytes, 0, tmp, 0, bytesDecoded );
System\Xml\BitStack.cs (1)
101Array.Copy(this.bitStack, bitStackNew, len);
System\Xml\Core\IncrementalReadDecoders.cs (3)
18internal abstract void SetNextOutputBuffer( Array array, int offset, int len ); 31internal override void SetNextOutputBuffer( Array array, int offset, int len ) {} 100internal override void SetNextOutputBuffer( Array buffer, int index, int count ) {
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
1443Array.Copy( textContentMarks, newTextContentMarks, textContentMarks.Length );
System\Xml\Core\XmlEventCache.cs (1)
517Array.Copy(buffer, index, bufferNew, 0, count);
System\Xml\Core\XmlSubtreeReader.cs (2)
1088Array.Copy( nsAttributes, 0, newNsAttrs, 0, index ); 1316void CheckBuffer( Array buffer, int index, int count ) {
System\Xml\Core\XmlTextReaderImpl.cs (8)
4100Array.Copy(nodes, index + 1, nameSortedAttributes, 0, attrCount); 4101Array.Sort<object>(nameSortedAttributes, DtdDefaultAttributeInfoToNodeDataComparer.Instance); 4581Array.Copy( nodes, index + 1, attrDuplSortingArray, 0, attrCount ); 4582Array.Sort( attrDuplSortingArray, 0, attrCount ); 6897Array.Copy( nodes, 0, newNodes, 0, nodes.Length ); 7289Array.Copy( parsingStatesStack, 0, newParsingStateStack, 0, parsingStatesStack.Length ); 7319private int IncrementalRead( Array array, int index, int count ) { 8213if (Array.BinarySearch<object>(nameSortedNodeData, defAttrInfo, DtdDefaultAttributeInfoToNodeDataComparer.Instance) >= 0) {
System\Xml\Core\XmlTextWriter.cs (2)
1240Array.Copy(nsStack, newStack, nsIndex); 1450if (top > 0) Array.Copy(stack,na,top + 1);
System\Xml\Core\XmlWellFormedWriter.cs (3)
454Array.Copy(elemScopeStack, newStack, top); 1526Array.Copy(nsStack, newStack, top); 1842Array.Copy(attrStack, newStack, top);
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
232Array.Copy(elemScopeStack, newStack, top);
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
447Array.Copy(items, newItems, newItemIndex);
System\Xml\Core\XsdCachingReader.cs (2)
568Array.Copy(attributeEvents, 0, newAttributeEvents, 0, attributeEvents.Length); 589Array.Copy(contentEvents, 0, newContentEvents, 0, contentEvents.Length);
System\Xml\Core\XsdValidatingReader.cs (1)
1804Array.Copy(attributePSVINodes, 0, newPSVINodes, 0, attributePSVINodes.Length);
System\Xml\Dom\DocumentSchemaValidator.cs (1)
496Array.Copy(nodeSequenceToValidate, 0, newNodeSequence, 0, nodeSequenceToValidate.Length);
System\Xml\Dom\XmlAttributeCollection.cs (1)
234void ICollection.CopyTo(Array array, int index) {
System\Xml\HWStack.cs (1)
38System.Array.Copy(this.stack, 0, newstack, 0, this.used);
System\Xml\Resolvers\XmlPreloadedResolver.cs (1)
304Array.Copy(ms.GetBuffer(), bytes, size);
System\Xml\Schema\BitSet.cs (1)
209Array.Copy(bits, newBits, bits.Length);
System\Xml\Schema\ConstraintStruct.cs (10)
219this.dim = ((Array)obj).Length; 254this.dstruct.Dvalue[i] = Convert.ToDecimal (((Array) this.ovalue).GetValue(i),NumberFormatInfo.InvariantInfo); 310Array arr1 = this.Value as System.Array; 321Array arr2 = other.Value as System.Array; 399 Array arr = this.ks[i].Value as System.Array; 408 for (int j = 0 ; j < ((Array) this.ks[i].Value).Length ; j ++) { 409 hashcode += ((Array) this.ks[i].Value).GetValue(j).GetHashCode();
System\Xml\Schema\ContentValidator.cs (2)
1794Array.Copy(rposInfo.rangeCounters, 0, newRPosInfo.rangeCounters, 0, rposInfo.rangeCounters.Length); 1817Array.Copy(rposInfo.rangeCounters, 0, newRPosInfo.rangeCounters, 0, rposInfo.rangeCounters.Length);
System\Xml\Schema\DataTypeImplementation.cs (8)
147int i = Array.BinarySearch(c_XdrTypes, name, null); 152int i = Array.BinarySearch(c_XsdTypes, name, null); 874System.Array arr1 = (System.Array)value1; 875System.Array arr2 = (System.Array)value2; 939Array valuesToCheck = valueToCheck as Array;
System\Xml\Schema\DtdParser.cs (1)
1477Array.Copy( condSectionEntityIds, 0, tmp, 0, condSectionEntityIds.Length );
System\Xml\Schema\DtdParserAsync.cs (1)
1088Array.Copy( condSectionEntityIds, 0, tmp, 0, condSectionEntityIds.Length );
System\Xml\Schema\FacetChecker.cs (2)
1340Array values = value as Array;
System\Xml\Schema\XmlSchemaCollection.cs (1)
237void ICollection.CopyTo(Array array, int index) {
System\Xml\Schema\XmlSchemaObjectTable.cs (2)
177public void CopyTo(Array array, int arrayIndex) { 222public void CopyTo(Array array, int arrayIndex) {
System\Xml\Schema\XmlValueConverter.cs (1)
322this.clrTypeDefault = Array.CreateInstance(converterAtomic.DefaultClrType, 0).GetType();
System\Xml\Serialization\CodeGenerator.cs (2)
665if (arrayType == typeof(Array)) { 667Call(typeof(Array).GetMethod("SetValue", new Type[] { typeof(object), typeof(int) }));
System\Xml\Serialization\CodeIdentifiers.cs (2)
166Array array = Array.CreateInstance(type, list.Count);
System\Xml\Serialization\Mappings.cs (3)
336Array.Copy(elements, 0, sortedElements, 0, elements.Length); 639Array.Sort(elements, new AccessorComparer()); 665Array.Copy(elements, 0, sortedElements, 0, elements.Length);
System\Xml\Serialization\NameTable.cs (3)
75internal Array ToArray(Type type) { 76Array a = Array.CreateInstance(type, table.Count);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
764Array.Sort(member.Elements, new ElementComparer()); 1663Array.Sort(choice, new ElementComparer());
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
110Array.Copy(a, b, index);
System\Xml\Serialization\XmlSerializationILGen.cs (1)
123Array.Copy(a, b, index);
System\Xml\Serialization\XmlSerializationReader.cs (19)
1311protected Array EnsureArrayIndex(Array a, int index, Type elementType) { 1312if (a == null) return Array.CreateInstance(elementType, 32); 1314Array b = Array.CreateInstance(elementType, a.Length * 2); 1315Array.Copy(a, b, index); 1320protected Array ShrinkArray(Array a, int length, Type elementType, bool isNullable) { 1323return Array.CreateInstance(elementType, 0); 1326Array b = Array.CreateInstance(elementType, length); 1327Array.Copy(a, b, length); 1480Array array = (Array)f.Source; 1579return Array.CreateInstance(elementType, 0); 1586Array array = null; 2589item = typeof(Array).FullName; 2606Writer.Write(RaCodeGen.GetReflectionVariable(typeof(Array).FullName, "0") + "[ci , i]"); 2933Writer.Write(typeof(Array).FullName);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
2674new Type[] { typeof(Array), typeof(Int32), typeof(Type), typeof(Boolean) }, 2746new Type[] { typeof(Array), typeof(Int32), typeof(Type) },
System\Xml\Serialization\XmlSerializationWriter.cs (5)
1120Array a = (Array)o; 3424WriteDefaultIndexerInit(typeof(IList), typeof(Array).FullName, false, false); 3674string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.CSharpName : typeof(Array).FullName; 3776typeName = typeof(Array).FullName;
System\Xml\XmlNamespacemanager.cs (1)
157Array.Copy( nsdecls, 0, newNsdecls, 0, nsdecls.Length );
System\Xml\XPath\Internal\XPathMultyIterator.cs (1)
46Array.Copy(arr, firstNotEmpty, arr, firstNotEmpty + 1, pos - firstNotEmpty);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
997Array.Resize(ref a, i * 2);
UIAutomationClient (13)
MS\Internal\Automation\Misc.cs (12)
88internal static Array CombineArrays(IEnumerable arrays, Type t) 92foreach (Array a in arrays) 97Array combined = Array.CreateInstance(t, totalLength); 100foreach (Array a in arrays) 104Array.Copy(a, 0, combined, pos, l); 113internal static Array RemoveDuplicates(Array a, Type t) 118Array.Sort(a); 143Array a2 = Array.CreateInstance(t, newLength); 145Array.Copy(a, 0, a2, 0, newLength);
System\Windows\Automation\AutomationElementCollection.cs (1)
81public virtual void CopyTo( Array array, int index )
UIAutomationClientsideProviders (11)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
862rval = (Array.IndexOf(entry._patterns, pattern)>=0);
MS\Internal\AutomationProxies\WindowsListView.cs (2)
258int location = Array.IndexOf (groupIds, groupID); 299int location = Array.IndexOf (groupIds, groupID);
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (2)
459Array.Sort(group.Items, 0, group.Count, new SortGroupItems(hwnd)); 820Array.Copy(temp, _items, temp.Length);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (4)
423Array a1 = v1 as Array; 424Array a2 = v2 as Array;
MS\Internal\AutomationProxies\WinEventTracker.cs (2)
220int evt = Array.BinarySearch(_eventIdToIndex, eventId); 363int evt = Array.BinarySearch (_eventIdToIndex, evtIdProp._evtId);
WindowsBase (43)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (2)
479Array.Copy(attrArray, mergedAttrArray, attrArray.Length); 480Array.Copy(typeAttrArray, 0, mergedAttrArray, attrArray.Length, typeAttrArray.Length);
Base\MS\Internal\IO\Packaging\CompoundFile\CFStream.cs (2)
250Array.Copy(localBuffer, 0, buffer, offset, read); 278Array.Copy(buffer, offset, localBuffer, 0, count);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (2)
650Array.Copy(cryptoBuffer, i * readCryptoBlockSize, cryptoTextBlock , 0, readCryptoBlockSize); 894Array.Copy(_randomBuffer, 0, buffer, offset, count);
Base\MS\Internal\IO\Packaging\CompoundFile\StreamWithDictionary.cs (1)
204void ICollection.CopyTo( Array array, int index )
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
624if (Array.IndexOf(_validProperties, xmlStringIndex) == -1) // An unexpected element is an error.
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (2)
224Array.Clear(buffer,offset,bytesToRead); 244Array.Copy(memStreamBlock.Stream.GetBuffer(), (int)(overlapBlockOffset - memStreamBlock.Offset),
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (6)
568Array.Copy(tempBuffer, 0, buffer, offset, tempBuffer.Length); 578Array.Copy(tempBuffer, 0, buffer, offset, tempBuffer.Length); 588Array.Copy(tempBuffer, 0, buffer, offset, tempBuffer.Length); 598Array.Copy(tempBuffer, 0, buffer, offset, tempBuffer.Length); 608Array.Copy(tempBuffer, 0, buffer, offset, tempBuffer.Length); 618Array.Copy(tempBuffer, 0, buffer, offset, tempBuffer.Length);
Base\MS\Internal\IO\Zip\ZipIOExtraFieldElement.cs (1)
117Array.Copy(tempBuffer, _data, _size); // _size contains the size of data in _data
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
147void ICollection.CopyTo(Array array, int index) {
Base\System\Windows\DependencyObject.cs (5)
2933Array.Copy(_effectiveValues, 0, destEntries, 0, effectiveValuesCount); 3207Array.Copy(_effectiveValues, 0, destEntries, 0, entryIndex); 3209Array.Copy(_effectiveValues, entryIndex, destEntries, entryIndex + 1, effectiveValuesCount - entryIndex); 3214Array.Copy(_effectiveValues, entryIndex, _effectiveValues, entryIndex + 1, effectiveValuesCount - entryIndex); 3241Array.Copy(_effectiveValues, entryIndex + 1, _effectiveValues, entryIndex, (effectiveValuesCount - entryIndex) - 1);
Base\System\Windows\Threading\Dispatcher.cs (1)
3128Array.Copy(args, 0, parameters, 1, args.Length);
Shared\MS\Utility\FrugalList.cs (4)
1363Array.Copy(_entries, 0, destEntries, 0, _entries.Length); 1410Array.Copy(_entries, index, _entries, index + 1, _count - index); 1446Array.Copy(_entries, index + 1, _entries, index, numToCopy); 1630Array.Copy(_sourceArray, start, _targetArray, _validItemCount, size);
Shared\MS\Utility\FrugalMap.cs (8)
1161Array.Copy(_entries, 0, destEntries, 0, _entries.Length); 1199Array.Copy(_entries, index + 1, _entries, index, numToCopy); 1375Array.Copy(_entries, 0, destEntries, 0, _entries.Length); 1388Array.Copy(_entries, index, _entries, index + 1, (_count - index)); 1423Array.Copy(_entries, index + 1, _entries, index, numToCopy); 1862Array.Copy(_entries, 0, destEntries, 0, _entries.Length); 1875Array.Copy(_entries, index, _entries, index + 1, (_count - index)); 1904Array.Copy(_entries, index + 1, _entries, index, numToCopy);
Shared\MS\Utility\ItemList.cs (5)
140Array.Sort(List, 0, Count); 155Array.Copy(List, 0, array, 0, Count); 173Array.Clear(List, 0, Count); 184Array.Copy(List, index + 1, List, index, (Count - index - 1)); 187Array.Clear(List, Count - 1, 1);
Shared\MS\Win32\HandleCollector.cs (1)
48Array.Copy(handleTypes, 0, newTypes, 0, handleTypeCount);
Shared\MS\Win32\NativeMethodsCLR.cs (1)
6217Array.Copy(bytes, 0, buffer, offset, count);
WsatConfig (2)
Configuration\ClusterRegistryConfigurationProvider.cs (2)
208Array.Copy(temp, buffer, temp.Length); 256Array.Copy(temp, 0, buffer, index, temp.Length);
WsatUI (8)
Configuration\ClusterRegistryConfigurationProvider.cs (2)
208Array.Copy(temp, buffer, temp.Length); 256Array.Copy(temp, 0, buffer, index, temp.Length);
Configuration\ETWSafeNativeMethods.cs (4)
117Array.Copy(loggerNameChars, 0, Tail.LoggerName, 0, loggerNameChars.Length); 121Array.Copy(loggerNameChars, 0, Tail.LoggerName, 0, SafeNativeMethods.MaxTraceLoggerNameLen - 1); 130Array.Copy(logFileNameChars, 0, Tail.LogFileName, 0, logFileNameChars.Length); 134Array.Copy(logFileNameChars, 0, Tail.LogFileName, 0, SafeNativeMethods.MaxTraceFileNameLen - 1);
Configuration\RegistryHelper.cs (2)
51if (subKeys != null && Array.FindIndex<string>(subKeys, new StringFinder(subKeyToDelete).IsTarget) != -1) 95if (valueNames != null && Array.FindIndex<string>(valueNames, new StringFinder(name).IsTarget) != -1)
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\AttributeParameterData.cs (2)
63Array array = (Array)value;