Implemented interface member:
method
CopyTo
System.Collections.ICollection.CopyTo(System.Array, System.Int32)
171 references to CopyTo
dotnet-svcutil-lib (3)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
2355genericParams.CopyTo(_genericParams, 0);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (1)
1248_headers.CopyTo(newHeaders, 0);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
1157originalAttributes.CopyTo(attributes, 0);
EventSourceGenerator (1)
EventSourceGenerator.Parser.cs (1)
179bytes.CopyTo(combinedBytes, namespaceBytes.Length);
GenerateDocumentationAndConfigFiles (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
illink (1)
Microsoft.AspNetCore.Components.WebView (2)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
407existingNode.Patterns.CopyTo(newList, 0); 408value.Patterns.CopyTo(newList, existingNode.Patterns.Length);
Microsoft.AspNetCore.Hosting (2)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
407existingNode.Patterns.CopyTo(newList, 0); 408value.Patterns.CopyTo(newList, existingNode.Patterns.Length);
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\EndpointMetadataCollection.cs (1)
239_collection._items.CopyTo(items, 0);
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
614arguments.CopyTo(expandedArguments, 1);
Microsoft.AspNetCore.Razor (1)
TagHelpers\RestrictChildrenAttribute.cs (1)
29childTags.CopyTo(concatenatedNames, 1);
Microsoft.AspNetCore.Routing (1)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (1)
89additionalContentTypes.CopyTo(contentTypes, 1);
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
166PropertiesEnumerable().Concat(Extra).ToArray().CopyTo(array, arrayIndex);
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
166PropertiesEnumerable().Concat(Extra).ToArray().CopyTo(array, arrayIndex);
Microsoft.Build (2)
BackEnd\Components\Scheduler\Scheduler.cs (1)
2466currentWork.CopyTo(previousWork, 0);
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.Build.Tasks.Core (1)
GenerateResource.cs (1)
876outputResources.CopyTo(OutputResources, 0);
Microsoft.CodeAnalysis (2)
InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CodeAnalysis.CSharp (2)
Parser\SyntaxParser.cs (2)
743existingDiags.CopyTo(result, 0); 744diagnostics.CopyTo(result, existingLength);
Microsoft.CodeAnalysis.Extensions.Package (1)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CodeAnalysis.Razor.Compiler (3)
Language\InMemoryFileContent.cs (2)
23preamble.CopyTo(bytes, 0); 24contentBytes.CopyTo(bytes, preamble.Length);
Language\Intermediate\IntermediateNodeWalker.Stack.cs (1)
69_stack.CopyTo(newStack, length);
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (2)
312sourceTail.CopyTo(array, 1); 326sourceMiddle.CopyTo(array, 1);
Microsoft\CSharp\RuntimeBinder\CSharpInvokeMemberBinder.cs (1)
48_argumentInfo.CopyTo(array, 0);
Microsoft\CSharp\RuntimeBinder\DynamicDebuggerProxy.cs (1)
223args.CopyTo(argsWithSite, 1);
src\runtime\src\libraries\Common\src\System\Runtime\InteropServices\ComEventsMethod.cs (1)
165wrappers.CopyTo(newWrappers, 0);
Microsoft.Extensions.AI (2)
ChatCompletion\DistributedCachingChatClient.cs (1)
149clientValues.CopyTo(arr, FixedValuesCount + additionalValues.Length);
Embeddings\DistributedCachingEmbeddingGenerator.cs (1)
123clientValues.CopyTo(arr, FixedValuesCount + values.Length);
Microsoft.Extensions.AI.Integration.Tests (2)
ImageGeneratingChatClientIntegrationTests.cs (2)
419_testImageData.CopyTo(imageData, 0); 420BitConverter.GetBytes(++ImageCounter).CopyTo(imageData, _testImageData.Length);
Microsoft.Extensions.Caching.Hybrid (2)
Internal\HybridCachePayload.cs (1)
279pendingTagBuffer.CopyTo(newBuffer, 0);
Internal\TagSet.cs (1)
146oversized.CopyTo(bigger, 0);
Microsoft.Extensions.Diagnostics (1)
Tracing\DefaultActivitySourceFactory.cs (1)
92sources.CopyTo(grown, 0);
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Resolver\DnsResolver.cs (2)
139ipv6Addresses.CopyTo(results, 0); 140ipv4Addresses.CopyTo(results, ipv6Addresses.Length);
Microsoft.Maui.Controls (1)
BindingExpression.cs (1)
195 part.Arguments.CopyTo(args, 0);
Microsoft.ML.CpuMath.PerformanceTests (2)
PerformanceTests.cs (2)
120original.CopyTo(dst, 0); 121original.CopyTo(result, 0);
Microsoft.ML.Data (1)
Transforms\SlotsDroppingTransformer.cs (1)
577catRanges.CopyTo(ranges, 0);
Microsoft.ML.FastTree (4)
GamModelParameters.cs (4)
292_binUpperBounds[j].CopyTo(binUpperBounds, 0); 308_binUpperBounds[j].CopyTo(binUpperBounds[i], 0); 330_binEffects[j].CopyTo(binEffects, 0); 346_binEffects[j].CopyTo(binEffects[i], 0);
Microsoft.ML.TestFramework (1)
TestCommandBase.cs (1)
94many.CopyTo(retval, 1);
Microsoft.ML.Transforms (2)
Dracula\MultiCountTable.cs (1)
271table.SlotCount.CopyTo(_slotCount, 0);
PermutationFeatureImportance.cs (1)
239nextValues.CopyTo(featureValuesBuffer, 0);
Microsoft.NET.HostModel (1)
AppHost\HostWriter.cs (1)
217pathBytes.CopyTo(searchOptionsBytes, 2);
Microsoft.VisualBasic.Core (6)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (5)
993indexValues.CopyTo(indexValuesPlusValue, 0) 1003indexes.CopyTo(indexesPlusValue, 0) 1066indexValues.CopyTo(indexValuesPlusValue, 0) 1076indexes.CopyTo(indexesPlusValue, 0) 1459arguments.CopyTo(args, 2)
Microsoft\VisualBasic\CompilerServices\LikeOperator.vb (1)
1045PatternGroups.CopyTo(NewPatternGroups, 0)
NuGet.Packaging (1)
Signing\Utility\CertificateChainUtility.cs (1)
226chain.ChainStatus.CopyTo(status, index: 0);
NuGet.ProjectModel (2)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (1)
1177oldItems.CopyTo(items, index: 0);
src\nuget-client\build\Shared\Utf8JsonStreamReader.cs (1)
223oldStrings.CopyTo(strings, index: 0);
PresentationCore (11)
MS\Internal\FontFace\CompositeFontInfo.cs (1)
249ranges.CopyTo(temp, 0);
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (2)
760data0.CopyTo(_cachedMoveData, 0); 761data.CopyTo(_cachedMoveData, data0.Length);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (2)
204oldData.CopyTo(mergedData, 0); 205newData.CopyTo(mergedData, oldData.Length);
System\Windows\Media\ColorContext.cs (1)
608rawBytes.CopyTo(newRawBytes, 0);
System\Windows\Media\Effects\PixelShader.cs (1)
260sourceBytecode.CopyTo(destinationBytecode, 0);
System\Windows\Media\StreamGeometry.cs (4)
478sourceStream._data.CopyTo(_data, 0); 493sourceStream._data.CopyTo(_data, 0); 509sourceStream._data.CopyTo(_data, 0); 525sourceStream._data.CopyTo(_data, 0);
PresentationFramework (11)
MS\Internal\Data\AccessorTable.cs (1)
65_ages.CopyTo(newAges, 0);
System\Windows\Controls\Primitives\TabPanel.cs (4)
441currentSolution.CopyTo(bestSolution, 0); // Remember the first solution as initial bestSolution 442rowAverageGap.CopyTo(bestSolutionRowAverageGap, 0); // bestSolutionRowAverageGap is used in ArrangeOverride to calculate header sizes 500currentSolution.CopyTo(bestSolution, 0); 501rowAverageGap.CopyTo(bestSolutionRowAverageGap, 0);
System\Windows\Data\CollectionView.cs (1)
1396array.CopyTo(newArray, 0);
System\Windows\Documents\FixedNode.cs (1)
97childPath.CopyTo(completePath, 1);
System\Windows\Documents\FixedSchema.cs (1)
87_predefinedNamespaces.CopyTo(predefinedNamespaces, 1);
System\Windows\Documents\FixedTextBuilder.cs (2)
792pathPrefix.CopyTo(newPath, 0); 996pathPrefix.CopyTo(newPathPrefix, 0);
System\Windows\Documents\RangeContentEnumerator.cs (1)
298_buffer.CopyTo(newBuffer, 0);
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
168List.CopyTo(newList, 0);
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
64items.CopyTo(newArray, position);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedArray`1.cs (1)
159_items[i].CopyTo(array, index + (i * SegmentSize));
ScenarioTests.Common.Tests (1)
ScenarioTestTypes.cs (1)
1142randomBuffer.CopyTo(buffer, offset);
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentBag.cs (1)
364ToArray().CopyTo(array, index);
System.ComponentModel.TypeConverter (2)
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (2)
394_editorTypes.CopyTo(newTypes, 0); 395_editors!.CopyTo(newEditors, 0);
System.Configuration.ConfigurationManager (1)
System\Configuration\StringUtil.cs (1)
33objectArray.CopyTo(stringKeys, 0);
System.Data.Common (8)
System\Data\Common\RowUpdatedEventArgs.cs (1)
159dataRows.CopyTo(array, arrayIndex);
System\Data\DataColumnCollection.cs (1)
927columns.CopyTo(tempColumns, 0);
System\Data\DataTable.cs (1)
1693key!.ColumnsReference.CopyTo(existingKey.Key.ColumnsReference, 0);
System\Data\DBConcurrencyException.cs (1)
77_dataRows?.CopyTo(array, arrayIndex);
System\Data\SQLTypes\SQLBinary.cs (4)
33value.CopyTo(_value, 0); 67_value.CopyTo(value, 0); 135x.Value.CopyTo(rgbResult, 0); 136y.Value.CopyTo(rgbResult, x.Value.Length);
System.Data.Odbc (2)
System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
149knownKeywords.CopyTo(tmp, 0);
System\Data\Odbc\OdbcDataReader.cs (1)
1510junk.CopyTo(rgBytes, cbOffset);
System.Data.OleDb (2)
OleDbConnectionStringBuilder.cs (2)
216s_validKeywords.CopyTo(knownKeywords, 0); 244knownKeywords.CopyTo(tmp, 0);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\Measurement.cs (1)
49tags.CopyTo(_tags, 0);
System.DirectoryServices (3)
System\DirectoryServices\PropertyValueCollection.cs (1)
111((Array)value).CopyTo(objArray, 0);
System\DirectoryServices\SchemaNameCollection.cs (2)
109values.CopyTo(stringArray, index); 185values.CopyTo(array, index);
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
145ldapAttributes.CopyTo(props, 0);
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
743public void CopyTo(string[] array, int arrayIndex) => Items.CopyTo(array, arrayIndex);
System.Linq.Expressions (2)
System\Dynamic\Utils\CollectionExtensions.cs (2)
25array.CopyTo(res, 1); 32array.CopyTo(res, 0);
System.Linq.Parallel (1)
System\Linq\Parallel\Utils\GrowingArray.cs (1)
59_array.CopyTo(array2, 0);
System.Net.Http (1)
System\Net\Http\Headers\ObjectCollection.cs (1)
107new T[] { (T)_items! }.CopyTo(array!, arrayIndex);
System.Net.Mail (1)
System\Net\Mime\WriteStateInfoBase.cs (1)
68_buffer.CopyTo(tempBuffer, 0);
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
468payload.CopyTo(result, offset + icmpHeaderSize);
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
1451this.CopyTo(array, iindex);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (1)
422itemsToInsert.CopyTo(_items, index);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
150ToArray().CopyTo(array, index);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContract.cs (1)
2311genericParams.CopyTo(_genericParams, 0);
System.Private.Xml (2)
System\Xml\Xsl\XPathConvert.cs (1)
1744_digits.CopyTo(newDigits, 0);
System\Xml\Xsl\XsltOld\BuilderInfo.cs (1)
67src.TextInfo.CopyTo(this.TextInfo, 0);
System.Reflection.Emit (11)
System\Reflection\Emit\TypeBuilderImpl.cs (11)
1237methods.CopyTo(compressMembers, i); i += methods.Length; 1238constructors.CopyTo(compressMembers, i); i += constructors.Length; 1239properties.CopyTo(compressMembers, i); i += properties.Length; 1240events.CopyTo(compressMembers, i); i += events.Length; 1241fields.CopyTo(compressMembers, i); i += fields.Length; 1242nestedTypes.CopyTo(compressMembers, i); 1347methods.CopyTo(members, i); i += methods.Length; 1348constructors.CopyTo(members, i); i += constructors.Length; 1349properties.CopyTo(members, i); i += properties.Length; 1351fields.CopyTo(members, i); i += fields.Length; 1352nestedTypes.CopyTo(members, i);
System.Reflection.Metadata (1)
System\Reflection\Internal\Utilities\EncodingHelper.cs (1)
47prefix.CopyTo(buffer, 0);
System.Security.AccessControl (5)
System\Security\AccessControl\ACE.cs (5)
648GetOpaque()!.CopyTo(binaryForm, offset); 1218GetOpaque()!.CopyTo(binaryForm, baseOffset + offsetLocal); 1664ObjectAceType.ToByteArray().CopyTo(binaryForm, baseOffset + offsetLocal); 1670InheritedObjectAceType.ToByteArray().CopyTo(binaryForm, baseOffset + offsetLocal); 1690GetOpaque()!.CopyTo(binaryForm, baseOffset + offsetLocal);
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (1)
80_recipientInfos.CopyTo(array, index);
System.Security.Principal.Windows (1)
System\Security\Principal\SID.cs (1)
926_binaryForm.CopyTo(binaryForm, offset);
System.ServiceModel.Primitives (6)
Internals\System\Xml\XmlMtomReader.cs (1)
115encodings.CopyTo(_encodings, 0);
System\IdentityModel\Psha1DerivedKeyGenerator.cs (4)
52label.CopyTo(_seed, 0); 53seed.CopyTo(_seed, label.Length); 97_aValue.CopyTo(_buffer, 0); 98_seed.CopyTo(_buffer, _aValue.Length);
System\ServiceModel\Channels\MessageHeaders.cs (1)
1412_headers.CopyTo(newHeaders, 0);
System.Text.Json (3)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
375argumentState.FoundProperties.CopyTo(newCache, 0); 570argumentState.FoundPropertiesAsync!.CopyTo(newCache, 0);
System\Text\Json\Serialization\Metadata\JsonTypeInfoResolverWithAddedModifiers.cs (1)
23_modifiers.CopyTo(newModifiers, 0);
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (1)
22attributes.CopyTo(attributes2, 0);
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
216_innerArray.CopyTo(newEntries, 0);
System\Windows\Forms\DataBinding\RelatedCurrencyManager.cs (1)
82listAccessors.CopyTo(accessors, 1);
System\Windows\Forms\DataBinding\RelatedPropertyManager.cs (1)
63listAccessors.CopyTo(accessors, 1);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
1180_vertLines.CopyTo(_recentLines, 0); 1181_horzLines.CopyTo(_recentLines, _vertLines.Length);
System.Xaml (1)
System\Xaml\Schema\XamlNamespace.cs (1)
284_assemblyNamespaces.CopyTo(assemblyNamespacesCopy, 0);
UIAutomationClient (1)
System\Windows\Automation\AutomationElementCollection.cs (1)
72_elements.CopyTo( array, index );
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\Misc.cs (1)
62baseID.CopyTo(newID, 0);
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
390parentId.CopyTo(rval, 0);