607 references to ToArray
ComSvcConfig (3)
ComAdminWrapper.cs (1)
198return appIds.ToArray();
WasAdminWrapper.cs (2)
89return webServerNames.ToArray(); 131return webDirectoryNames.ToArray();
mscorlib (49)
system\appdomain.cs (1)
179Info = itemInfo.ToArray();
system\array.cs (1)
1127return list.ToArray();
system\attribute.cs (2)
59Array.Copy(attributeList.ToArray(), 0, array, 0, attributeList.Count); 160Array.Copy(attributeList.ToArray(), 0, array, 0, attributeList.Count);
system\Collections\Concurrent\ConcurrentQueue.cs (1)
301return ToList().ToArray();
system\Collections\Concurrent\ConcurrentStack.cs (1)
772return ToList().ToArray();
system\diagnostics\eventing\eventsource.cs (1)
4610WeakReference[] eventSourcesSnapshot = s_EventSources.ToArray();
System\Diagnostics\Eventing\TraceLogging\EnumerableTypeInfo.cs (1)
59return serializedEnumerable.ToArray();
System\Diagnostics\Eventing\TraceLogging\TypeAnalysis.cs (1)
73this.properties = propertyList.ToArray();
system\globalization\datetimeformatinfo.cs (1)
1694return results.ToArray();
system\io\directory.cs (1)
835return fileList.ToArray();
system\io\directoryinfo.cs (3)
367return fileList.ToArray(); 425return fileList.ToArray(); 479return fileList.ToArray();
system\io\file.cs (1)
1028return lines.ToArray();
system\io\isolatedstorage\isolatedstoragefile.cs (1)
1124return list.ToArray();
system\reflection\assembly.cs (1)
1534return rtTypes.ToArray();
system\reflection\Associates.cs (1)
215other = (otherList != null) ? otherList.ToArray() : null;
system\reflection\customattribute.cs (6)
1372Array.Copy(result.ToArray(), 0, typedResult, 0, result.Count); 1473Array.Copy(result.ToArray(), 0, typedResult, 0, result.Count); 2223return pcas.ToArray(); 2289return pcas.ToArray(); 2415return pcas.ToArray(); 2517return pcas.ToArray();
system\reflection\emit\methodbuilder.cs (1)
1033return new List<T>(sequence).ToArray();
system\reflection\emit\typebuilder.cs (1)
1210return m_typeInterfaces.ToArray();
system\reflection\eventinfo.cs (1)
410return ret.ToArray();
system\reflection\propertyinfo.cs (1)
504return accessorList.ToArray();
system\runtime\designerservices\windowsruntimedesignercontext.cs (1)
32string[] pathArray = pathList.ToArray();
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1048throw new AggregateException(exceptions.ToArray());
system\security\cryptography\cryptoconfig.cs (1)
652cons = candidates.ToArray();
system\security\permissions\siteidentitypermission.cs (3)
247result.m_sites = alSites.ToArray(); 294result.m_sites = alSites.ToArray(); 325m_sites = al.ToArray();
system\security\permissions\strongnameidentitypermission.cs (3)
348result.m_strongNames = alStrongNames.ToArray(); 395result.m_strongNames = alStrongNames.ToArray(); 443m_strongNames = al.ToArray();
system\security\permissions\urlidentitypermission.cs (3)
278result.m_urls = alUrls.ToArray(); 325result.m_urls = alUrls.ToArray(); 356m_urls = al.ToArray();
system\threading\Tasks\ProducerConsumerQueues.cs (1)
537return list.ToArray();
system\threading\Tasks\Task.cs (4)
6016return InternalWhenAll(taskList.ToArray()); 6265return InternalWhenAll<TResult>(taskList.ToArray()); 6657return result.ToArray(); 6674return new List<Task>(s_currentActiveTasks.Values).ToArray();
system\threading\Tasks\TaskScheduler.cs (1)
553activeTasksArray = (new List<Task>(activeTasksSource)).ToArray();
system\timezoneinfo.cs (2)
2421rules = rulesList.ToArray(); 3953return (count != 0 ? rules.ToArray() : null);
system\unityserializationholder.cs (1)
70info.AddValue("ElementTypes", elementTypes.ToArray(), typeof(int[]));
PresentationBuildTasks (8)
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (4)
107MainEmbeddedFiles = mainEmbeddedList.ToArray(); 108SatelliteEmbeddedFiles = satelliteEmbeddedList.ToArray(); 109CLREmbeddedResource = clrEmbeddedResourceList.ToArray(); 110CLRSatelliteEmbeddedResource = clrSatelliteEmbeddedResourceList.ToArray();
BuildTasks\MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (1)
441_recompileMarkupPages = recompiledXaml.ToArray();
Framework\MS\Internal\Globalization\LocalizationComments.cs (1)
211return tokens.ToArray();
Framework\System\Windows\Markup\XmlnsCache.cs (2)
139Assembly[] asmList = interestingAssemblies.ToArray(); 244return foundAttributes.ToArray();
PresentationCore (18)
Core\CSharp\MS\Internal\ConstrainedDataObject.cs (1)
307return resultList.ToArray();
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (1)
322return newPath.ToArray();
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
316return gestures.ToArray(); 748recResults = resultList.ToArray(); 858recResults = (GestureRecognitionResult[])(resultList.ToArray());
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\AlgoModule.cs (2)
151return compressedData.ToArray(); 319return compressedData.ToArray();
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (1)
690return output.ToArray();
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
125char[] chars = charData.ToArray();
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\LZCodec.cs (1)
107return output.ToArray();
Core\CSharp\MS\Internal\Ink\Lasso.cs (1)
325return strokeIntersectionList.ToArray();
Core\CSharp\MS\Internal\Ink\StrokeIntersection.cs (2)
216return inFIndices.ToArray(); 248return hitFIndices.ToArray();
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
915textRunTypographyProperties.CachedFeatureSet = fontFeatures.ToArray();
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (1)
569strokeHitEventArgCollection.Add(new StrokeHitEventArgs(strokeInfo.Stroke, eraseAt.ToArray()));
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
632return intersections.ToArray();
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
378StrokeCollection eraseResult = stroke.Erase(intersections.ToArray());
Core\CSharp\System\Windows\Media\FamilyMap.cs (1)
296return ranges.ToArray();
PresentationFramework (26)
src\Framework\Microsoft\Win32\FileDialog.cs (3)
1484return names.ToArray(); 1857return extensions.ToArray(); 2197return extensions.ToArray();
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1341return list.ToArray();
src\Framework\MS\Internal\Globalization\BamlResourceContent.cs (1)
206return tokens.ToArray();
src\Framework\MS\Internal\Globalization\LocalizationComments.cs (1)
211return tokens.ToArray();
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
143return justAdded.ToArray();
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
299InkCanvas.ChangeInkCanvasSelection(selectedStrokes, elementsToSelect.ToArray());
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
497return providers.ToArray(); 653return providers.ToArray();
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (3)
208return selectedProviders.ToArray(); 261return providers.ToArray(); 291return providers.ToArray();
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
553return providers.ToArray(); 575return providers.ToArray();
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
400return selectedProviders.ToArray();
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
155return array.ToArray();
src\Framework\System\Windows\Automation\Peers\SelectorAutomationPeer.cs (1)
111return selectedProviders.ToArray();
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
2225CoreChangeSelection(newStrokes, newElements.ToArray(), EditingMode == InkCanvasEditingMode.Select); 2669return elements.ToArray();
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
175return rectangles.ToArray();
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (3)
1591_pageStructure.SetupLineResults(_lineResults.ToArray()); 1714flowNodeRun.FixedSOMElements = _textRuns.ToArray(); 1793FixedLineResult newLineResult = new FixedLineResult(_nodesInLine.ToArray(), _lineLayoutBox);
src\Framework\System\Windows\Documents\TextEffectResolver.cs (1)
103return list.ToArray();
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
188result[key] = list.ToArray();
SMSvcHost (3)
System\ServiceModel\Activation\MessageQueue.cs (2)
97instancesCopy = instances.ToArray(); 179foreach (WorkerProcess worker in workers.ToArray())
System\ServiceModel\Activation\SMSvcHost.cs (1)
108ServiceBase.Run(services.ToArray());
System (23)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
3520return lines.ToArray();
compmod\microsoft\win32\SystemEvents.cs (1)
1302invokeItemArray = invokeItems.ToArray();
compmod\system\collections\generic\sortedset.cs (2)
173root = ConstructRootFromSortedArray(els.ToArray(), 0, els.Count - 1, null); 1270T[] elements = (new List<T>(other)).ToArray();
compmod\system\componentmodel\EnumConverter.cs (1)
230return flagValues.ToArray();
net\System\Net\_NTAuthentication.cs (3)
684inSecurityBufferArray = list.ToArray(); 815inSecurityBuffers = list.ToArray(); 864inSecurityBuffers = list.ToArray();
net\System\Net\cookie.cs (1)
603m_port_list = portList.ToArray();
net\System\Net\HttpListenerRequestUriBuilder.cs (2)
354decodedString = encoding.GetString(rawOctets.ToArray()); 358AppendOctetsPercentEncoded(requestUriString, rawOctets.ToArray());
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (3)
132return list.ToArray(); 144return list.ToArray(); 355return udpListeners.ToArray();
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (1)
131return interfaceList.ToArray();
net\System\Net\SecureProtocols\_SslStream.cs (1)
529buffers = arrayList.ToArray();
regex\system\text\regularexpressions\RegexParser.cs (1)
78capnamelist = p._capnamelist.ToArray();
regex\system\text\regularexpressions\RegexReplacement.cs (1)
421return al.ToArray();
services\monitoring\system\diagnosticts\EventLog.cs (1)
1033return logs.ToArray();
sys\system\collections\concurrent\BlockingCollection.cs (3)
1034index = WaitHandle.WaitAny(handles.ToArray(), timeout, false); 1130cancellationTokens = tokensList.ToArray(); 1441int index = WaitHandle.WaitAny(handles.ToArray(), timeout, false);
sys\system\collections\concurrent\ConcurrentBag.cs (1)
565return ToList().ToArray();
System.Activities (5)
System\Activities\DynamicActivityTypeDescriptor.cs (1)
134result = new PropertyDescriptorCollection(propertyDescriptors.ToArray());
System\Activities\QualifiedId.cs (1)
188return tmpList.ToArray();
System\Activities\Runtime\ActivityInstanceMap.cs (2)
148DynamicUpdateMap.UpdatedActivity updatedActivity = rootUpdateMap.GetUpdatedActivity(new QualifiedId(currentQIDBuilder.ToArray()), rootIdSpace); 160int[] noSymbolAddActivityIDArray = currentQIDBuilder.ToArray();
System\Activities\WorkflowDataContext.cs (1)
96return new PropertyDescriptorCollection(propertyList.ToArray(), true);
System.Activities.Core.Presentation (3)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
327ModelItem[] modelItemsArray = modelItems.ToArray();
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
2159Adorner[] adorners = adornerList.ToArray();
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
213this.path = members.ToArray();
System.Activities.DurableInstancing (1)
TD.Designer.cs (1)
481FxTrace.UpdateEventDefinitions(descriptors, e2eEvents.ToArray());
System.Activities.Presentation (14)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
333DesignObjectWrapper.TypePropertyCollection[type] = new PropertyDescriptorCollection(descriptors.ToArray(), true);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
500this.editPoints.InsertRange(1, newEditPoints.ToArray());
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (7)
206Rect[] srcDestRectsCopy = srcDestRects.ToArray(); 220Point[] segments = GetRoutedLineSegments(srcPoint, destPoint, new Size(connectorMargin, connectorMargin), excludedRects.ToArray(), excludedLines.ToArray()); 225segments = GetRoutedLineSegments(srcPoint, destPoint, new Size(connectorMargin, connectorMargin), excludedRects.ToArray(), new Point[] { }); 231segments = GetRoutedLineSegments(srcPoint, destPoint, new Size(connectorMargin, connectorMargin), srcDestRects.ToArray(), new Point[] { }); 283return points.ToArray(); 875return refinedPath.ToArray();
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
37return new AttributeCollection(attributeList.ToArray());
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1280return new PropertyDescriptorCollection(properties.ToArray(), true);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
407return new PropertyDescriptorCollection(properties.ToArray(), true);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (1)
152props = new PropertyDescriptorCollection(newProps.ToArray(), true);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
74return new PropertyDescriptorCollection(descriptors.ToArray(), true);
System.AddIn (7)
System\Addin\Hosting\Store\PipelineComponent.cs (1)
299return infos.ToArray();
System\Addin\MiniReflection\MetadataReader\Metadata.cs (1)
392return Encoder.GetString(bytes.ToArray());
System\Addin\MiniReflection\TypeInfo.cs (5)
551return ctors.ToArray(); 908return interfaces.ToArray(); 994return result.ToArray(); 1035return new MiniCustomAttributeInfo(caReflectedType.Name, fixedArgs.ToArray(), namedArgs.ToArray());
System.ComponentModel.DataAnnotations (2)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
59return new PropertyDescriptorCollection(tempPropertyDescriptors.ToArray(), true);
DataAnnotations\ValidationAttributeStore.cs (1)
245return removedAttribute ? new AttributeCollection(attributes.ToArray()) : propertyDescriptor.Attributes;
System.Core (10)
Microsoft\Scripting\Actions\BindingRestrictions.cs (1)
358return restrictions.ToArray();
Microsoft\Scripting\Compiler\BoundConstants.cs (1)
91return _values.ToArray();
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
201lc.EmitConstantArray(indexes.ToArray());
Microsoft\Scripting\Compiler\ExpressionQuoter.cs (2)
137var boxesConst = Expression.Constant(new RuntimeVariables(boxes.ToArray()), typeof(IRuntimeVariables)); 146Expression.RuntimeVariables(new TrueReadOnlyCollection<ParameterExpression>(vars.ToArray())),
Microsoft\Scripting\Utils\CollectionExtensions.cs (1)
80return new TrueReadOnlyCollection<T>(new List<T>(enumerable).ToArray());
System\Diagnostics\Eventing\Reader\EventLogPropertySelector.cs (1)
56paths = queries.ToArray();
System\Linq\Parallel\Merging\DefaultMergeHelper.cs (1)
175return output.ToArray();
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
355s_supportedKeySizes = keySizes.ToArray();
System\Security\Cryptography\NCryptNative.cs (1)
1087parameters.ToArray(),
System.Data (32)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
333DesignObjectWrapper.TypePropertyCollection[type] = new PropertyDescriptorCollection(descriptors.ToArray(), true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
500this.editPoints.InsertRange(1, newEditPoints.ToArray());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (7)
206Rect[] srcDestRectsCopy = srcDestRects.ToArray(); 220Point[] segments = GetRoutedLineSegments(srcPoint, destPoint, new Size(connectorMargin, connectorMargin), excludedRects.ToArray(), excludedLines.ToArray()); 225segments = GetRoutedLineSegments(srcPoint, destPoint, new Size(connectorMargin, connectorMargin), excludedRects.ToArray(), new Point[] { }); 231segments = GetRoutedLineSegments(srcPoint, destPoint, new Size(connectorMargin, connectorMargin), srcDestRects.ToArray(), new Point[] { }); 283return points.ToArray(); 875return refinedPath.ToArray();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
37return new AttributeCollection(attributeList.ToArray());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
1280return new PropertyDescriptorCollection(properties.ToArray(), true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
407return new PropertyDescriptorCollection(properties.ToArray(), true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (1)
152props = new PropertyDescriptorCollection(newProps.ToArray(), true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
74return new PropertyDescriptorCollection(descriptors.ToArray(), true);
fx\src\data\System\Data\Common\DBConnectionString.cs (4)
355restrictionValues = newlist.ToArray(); 373restrictionValues = newlist.ToArray(); 395string[] restrictionValues = newlist.ToArray(); 430return RemoveDuplicates(restrictionValues.ToArray());
fx\src\data\System\Data\Common\DbDataAdapter.cs (1)
1229DataRow[] rowsInError = (null != rows) ? rows.ToArray() : rowUpdatedEvent.Rows;
fx\src\data\System\Data\DataSet.cs (1)
2973return topTables.ToArray();
fx\src\data\System\Data\DataTable.cs (1)
1504return nestedParents.ToArray();
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
195records = recordList.ToArray();
fx\src\data\System\Data\Filter\DataExpression.cs (2)
89dependency = list.ToArray(); 159int[] records = recordList.ToArray();
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
234return rParams.ToArray();;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
2237_metadata = metainfo.ToArray();
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (2)
475DbConnectionPool[] poolsToRelease = _poolsToRelease.ToArray(); 497DbConnectionPoolGroup[] poolGroupsToRelease = _poolGroupsToRelease.ToArray();
fx\src\data\System\Data\Select.cs (1)
690return matchingRecords.ToArray();
fx\src\data\System\Data\Selection.cs (1)
499return list.ToArray();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
6160_SqlRPCBatchArray = _RPCList.ToArray();
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
949object[] temp = databaseList.ToArray(); // Must copy, no other choice but foreach.
System.Data.Entity (23)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
80paramTypes.ToArray(),
System\Data\Common\DataRecord.cs (1)
506return (new PropertyDescriptorCollection(pdList.ToArray()));
System\Data\Common\DbXmlEnabledProviderManifest.cs (1)
132this._primitiveTypes = Array.AsReadOnly(listOfPrimitiveTypes.ToArray());
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
313structuralTypePredicates.ToArray(), // clone, otherwise BuildBalancedTreeInPlace will change it
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
139foreach (Cell cell in cells.ToArray())
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
72: this(slots.ToArray(), whereClause, new List<BoolExpression>(), eliminateDuplicates, rootMember) 710m_whereClause = BoolExpression.CreateAnd(atoms.ToArray());
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (1)
249LeftCellWrapper[] cellWrappers = wrappers.ToArray();
System\Data\Metadata\Converter.cs (2)
1010ReturnParameters = returnParameters.ToArray(), 1011Parameters = parameters.ToArray(),
System\Data\Metadata\Edm\ItemCollection.cs (1)
507functionLookUpTable.Add(functionList[0].FullName, new System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>(functionList.ToArray()));
System\Data\Metadata\MetadataCache.cs (3)
171results = dataDirPaths.ToArray(); 651filePermissions = new FileIOPermission(FileIOPermissionAccess.Read, permissionPaths.ToArray()); 746filePermissions = new FileIOPermission(FileIOPermissionAccess.Read, permissionPaths.ToArray());
System\Data\Metadata\StoreItemCollection.cs (1)
417Parameters = parameters.ToArray(),
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
75return _relationships.ToArray();
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
867linqArguments = arguments.ToArray();
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1152return types.ToArray();
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (4)
151ComplexTypeColumnMap columnMap = new ComplexTypeColumnMap(typeInfo.Type, name, propertyColumnMapList.ToArray(), nullSentinelColumnMap); 205columnMap = new EntityColumnMap(typeInfo.Type, name, propertyColumnMapList.ToArray(), superTypeColumnMap.EntityIdentity); 246EntityIdentity identity = CreateEntityIdentity((md.EntityType)typeInfo.Type.EdmType, entitySetIdColumnMap, keyColumnMapList.ToArray()); 249columnMap = new EntityColumnMap(typeInfo.Type, name, propertyColumnMapList.ToArray(), identity);
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
713rulesPerType[i] = new ReadOnlyCollection<InternalTrees.Rule>(lookupTable[i].ToArray());
System.Data.Entity.Design (14)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
702Parameters = functionParameters.ToArray()
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
170propertyDecl.CustomAttributes.AddRange(additionalAttributes.ToArray()); 273propertyDecl.CustomAttributes.AddRange(additionalAttributes.ToArray());
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
356codeProperty.CustomAttributes.AddRange(additionalAttributes.ToArray()); 375codeProperty.GetStatements.AddRange(additionalGetStatements.ToArray()); 556new CodeMethodInvokeExpression(executeFunctionMethod, executeArguments.ToArray())
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
153property.SetStatements.AddRange(additionalSetStatements.ToArray()); 259property.GetStatements.AddRange(additionalGetStatements.ToArray());
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
205getStatements.AddRange(additionalGetStatements.ToArray()); 323statements.AddRange(additionalSetStatements.ToArray()); 491parameters.ToArray())));
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (2)
76typeDecl.CustomAttributes.AddRange(additionalAttributes.ToArray()); 132typeDecl.Members.AddRange(additionalMembers.ToArray());
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
220complexVerifyParameters.ToArray());
System.Data.Linq (14)
DataServices.cs (2)
107return keyValues.ToArray(); 115return keyValues.ToArray();
SqlClient\Query\MethodCallConverter.cs (1)
323return sql.SearchedCase(whens.ToArray(), @else, mc.SourceExpression);
SqlClient\Query\QueryConverter.cs (2)
818return sql.SearchedCase(whens.ToArray(), @else, this.dominatingExpression); 1386return sql.SearchedCase(whens.ToArray(), (SqlExpression)dup.Duplicate(left), this.dominatingExpression);
SqlClient\Query\SqlBinder.cs (2)
382return concreteTypes.ToArray(); 757return sql.SearchedCase(whens.ToArray(), @else, sc.SourceExpression);
SqlClient\Query\SqlExpander.cs (1)
135return factory.MethodCall(mcs[0].Method, mcs[0].Object, expandedArgs.ToArray(), mcs[0].SourceExpression);
SqlClient\Query\SqlFormatter.cs (1)
36return results.ToArray();
SqlClient\Query\Translator.cs (2)
74return sql.TypeCase(root.Type, root, dm, whens.ToArray(), source); 221return values.ToArray();
SqlClient\Reader\ObjectReaderCompiler.cs (2)
701get { return this.globals.ToArray(); } 705get { return this.namedColumns.ToArray(); }
SqlClient\SqlProvider.cs (1)
957return this.subQueries.ToArray();
System.Data.Services (6)
System\Data\Services\DataServiceConfiguration.cs (2)
783return methods.ToArray(); 801return methods.ToArray();
System\Data\Services\Parsing\FunctionDescription.cs (1)
299result.Add(FunctionNameCast, castSignatures.ToArray());
System\Data\Services\Parsing\RequestQueryParser.cs (3)
548return result.ToArray(); 2159return argList.ToArray(); 2374return result.ToArray();
System.Data.Services.Client (2)
System\Data\Services\Client\ProjectionPlanCompiler.cs (2)
704Expression.Constant(propertyNames.ToArray()), 705Expression.Constant(propertyFunctions.ToArray()));
System.Data.Services.Design (11)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
105propertyDecl.CustomAttributes.AddRange(additionalAttributes.ToArray());
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
517codeProperty.CustomAttributes.AddRange(additionalAttributes.ToArray()); 536codeProperty.GetStatements.AddRange(additionalGetStatements.ToArray());
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
149property.SetStatements.AddRange(additionalSetStatements.ToArray()); 191property.SetStatements.AddRange(additionalAfterSetStatements.ToArray()); 260property.GetStatements.AddRange(additionalGetStatements.ToArray());
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
201getStatements.AddRange(additionalGetStatements.ToArray()); 347statements.AddRange(additionalSetStatements.ToArray()); 387statements.AddRange(additionalAfterSetStatements.ToArray());
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (2)
69typeDecl.CustomAttributes.AddRange(additionalAttributes.ToArray()); 125typeDecl.Members.AddRange(additionalMembers.ToArray());
System.Data.SqlXml (4)
System\Xml\Xsl\IlGen\StaticDataManager.cs (3)
49return list.ToArray(); 137get { return (this.prefixMappingsList != null) ? this.prefixMappingsList.ToArray() : null; } 158get { return (this.globalNames != null) ? this.globalNames.ToArray() : null; }
System\Xml\Xsl\Runtime\StringConcat.cs (1)
74return string.Concat(this.strList.ToArray());
System.IdentityModel (3)
System\IdentityModel\Asn1IntegerConverter.cs (1)
115powersOfTwo.Add(decimalDigits.ToArray());
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (1)
216inSecurityBuffer = list.ToArray();
TD.Designer.cs (1)
212FxTrace.UpdateEventDefinitions(descriptors, e2eEvents.ToArray());
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlSerializableServices.cs (1)
48return nodeList.ToArray();
System.ServiceModel (49)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
108traceListenerWmiInstance.SetProperty(AdministrationStrings.TraceListenerArguments, traceListenerArguments.ToArray());
System\ServiceModel\Administration\ContractInstanceProvider.cs (2)
119operation.SetProperty(AdministrationStrings.Behaviors, behaviorInstances.ToArray()); 134operation.SetProperty(AdministrationStrings.Behaviors, behaviorInstances.ToArray());
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
445instance.SetProperty(AdministrationStrings.Behaviors, behaviors.ToArray()); 566extendedProtectionPolicy.SetProperty(AdministrationStrings.CustomServiceNames, serviceNames.ToArray());
System\ServiceModel\Administration\ServiceInstanceProvider.cs (2)
95instance.SetProperty(AdministrationStrings.Behaviors, behaviors.ToArray()); 120instance.SetProperty(AdministrationStrings.Channels, instances.ToArray());
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
95return results.ToArray();
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1193byte[] array = this.bytes.ToArray();
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
75int index = WaitHandle.WaitAny(handles.ToArray(), config.ConnectTimeout, false);
System\ServiceModel\Channels\PeerIPHelper.cs (2)
207return temporaryAddresses.ToArray(); 305return result.ToArray();
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
685neighbors = this.neighborList.ToArray();
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
496global.Addresses = global.addressList.ToArray(); 509tempLink.Addresses = tempLink.addressList.ToArray(); 528tempSite.Addresses = tempSite.addressList.ToArray(); 618reg.Addresses = reg.addressList.ToArray(); 1955registerQuery.CsAddrInfos = infos.ToArray();
System\ServiceModel\Channels\SecurityChannelFactory.cs (2)
176return OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeout, begins.ToArray(), ends.ToArray(), callback, state);
System\ServiceModel\Channels\UriPrefixTable.cs (1)
310return segments.ToArray();
System\ServiceModel\ComIntegration\CatalogUtil.cs (1)
159return roleMembers.ToArray();
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
101contractSurrogate = new DataContractSurrogateForPersistWrapper(guidList.ToArray());
System\ServiceModel\ComIntegration\ServiceInfo.cs (1)
330return ret.ToArray();
System\ServiceModel\Description\DispatcherBuilder.cs (2)
76return targetSerializationTypes.ToArray(); 339Type returnValue = DispatcherBuilder.MaybeCreateListener(true, supportedChannelTypes.ToArray(), binding, parameters,
System\ServiceModel\Description\TypeLoader.cs (1)
1506MessagePartDescription[] partDescriptions = partDescriptionList.ToArray();
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
781XmlSerializer[] uniqueSerializers = CreateSerializersFromMappings(uniqueMappings.ToArray(), type);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (2)
215array = this.requests.ToArray(); 602array = this.timedOutRequests.ToArray();
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
172FaultContractInfo[] temp = faultContractInfoList.ToArray();
System\ServiceModel\MsmqIntegration\MsmqIntegrationReceiveParameters.cs (1)
27this.targetSerializationTypes = knownTypes.ToArray();
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
485response.Addresses = results.ToArray();
System\ServiceModel\Security\InfoCardHelper.cs (1)
220return chain.ToArray();
System\ServiceModel\Security\SecurityListenerSettingsLifetimeManager.cs (4)
100return OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeout, beginOperations.ToArray(), endOperations.ToArray(), callback, state); 169IAsyncResult result = OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeout, beginOperations.ToArray(), endOperations.ToArray(), callback, state);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1076MessageFilter issueAndRenewFilter = new SessionActionFilter(this.standardsManager, supportedMessageActions.ToArray());
System\ServiceModel\Security\SendSecurityHeaderElementContainer.cs (8)
50return (this.signedSupportingTokens != null) ? this.signedSupportingTokens.ToArray() : null; 65return (this.basicSupportingTokens != null) ? this.basicSupportingTokens.ToArray() : null; 75return (this.signedEndorsingSupportingTokens != null) ? this.signedEndorsingSupportingTokens.ToArray() : null; 85return (this.signedEndorsingDerivedSupportingTokens != null) ? this.signedEndorsingDerivedSupportingTokens.ToArray() : null; 95return (this.endorsingSupportingTokens != null) ? this.endorsingSupportingTokens.ToArray() : null; 105return (this.endorsingDerivedSupportingTokens != null) ? this.endorsingDerivedSupportingTokens.ToArray() : null; 115return (this.signatureConfirmations != null) ? this.signatureConfirmations.ToArray() : null; 125return (this.endorsingSignatures != null) ? this.endorsingSignatures.ToArray() : null;
System\ServiceModel\Security\WindowsSspiNegotiation.cs (1)
398inSecurityBuffer = list.ToArray();
TD.Designer.cs (1)
5047FxTrace.UpdateEventDefinitions(descriptors, e2eEvents.ToArray());
System.ServiceModel.Activation (7)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
261return baseAddresses.ToArray();
System\ServiceModel\Activation\MetabaseReader.cs (1)
208return list.ToArray();
System\ServiceModel\Activation\MetabaseSettings.cs (1)
58return enabledProtocols.ToArray();
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (1)
62return baseAddresses.ToArray();
System\ServiceModel\ServiceHostingEnvironment.cs (2)
659this.baseAddressPrefixFilters = prefixFilters.ToArray(); 1178return results.ToArray();
TD.Designer.cs (1)
712FxTrace.UpdateEventDefinitions(descriptors, e2eEvents.ToArray());
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
2246requestsToFault = this.pendingRequests.ToArray();
TD.Designer.cs (1)
625FxTrace.UpdateEventDefinitions(descriptors, e2eEvents.ToArray());
System.ServiceModel.Channels (6)
System\ServiceModel\Channels\UdpChannelFactory.cs (1)
259results = socketList.ToArray();
System\ServiceModel\Channels\UdpChannelListener.cs (4)
371this.socketReceiveManager = new UdpSocketReceiveManager(this.listenSockets.ToArray(), 445UdpSocket[] sendSockets = this.listenSockets.ToArray(); 738return new ServerUdpDuplexChannel(this, this.ListenSockets.ToArray(), new EndpointAddress(this.Uri), this.Uri, this.IsMulticast); 751return new UdpReplyChannel(this, this.ListenSockets.ToArray(), new EndpointAddress(this.Uri), this.Uri, this.IsMulticast);
System\ServiceModel\Channels\UdpUtility.cs (1)
282results = supportedAdapters.ToArray();
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\ScopeCompiler.cs (2)
27return compiledScopes.ToArray(); 45return compiledCriterias.ToArray();
System.ServiceModel.Internals (2)
System\Runtime\InputQueue.cs (1)
688waiters = waiterList.ToArray();
System\Runtime\InternalBufferManager.cs (1)
97this.bufferPools = bufferPoolList.ToArray();
System.ServiceModel.WasHosting (4)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (4)
89this.Bindings.Add(entry.Key, entry.Value.ToArray()); 195transportSettings.AuthProviders = providerList.ToArray(); 425this.Bindings.Add(entry.Key, entry.Value.ToArray()); 527transportSettings.AuthProviders = providerList.ToArray();
System.ServiceModel.Web (5)
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (1)
213this.inputSerializers = tmp.ToArray();
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (2)
56return serializers.ToArray(); 98XmlSerializer[] serializers = XmlSerializer.FromMappings(mappings.ToArray());
System\ServiceModel\Web\CachingParameterInspector.cs (1)
205return dependencyList.ToArray();
System\ServiceModel\Web\WebFaultException.cs (1)
159this.knownTypes = (knownTypes == null) ? null : new List<Type>(knownTypes).ToArray();
System.Web (11)
Compilation\AssemblyResolver.cs (1)
260result.ResolvedFiles = resolvedFiles.ToArray();
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
308var customAttrExpr = new CodeAttributeDeclaration(new CodeTypeReference(attr.AttributeType), attrArgs.ToArray());
Hosting\ApplicationManager.cs (1)
1216fullTrustAssemblies.ToArray() /* fully trusted assemblies list: empty list means only trust GAC assemblies */);
Security\Cryptography\MachineKeyMasterKeyProvider.cs (1)
145Purpose purpose = new Purpose(AUTOGEN_KEYDERIVATION_PRIMARYPURPOSE, specificPurposes.ToArray());
UI\WebControls\CreateUserWizard.cs (2)
3298var row = CreateTwoColumnRow(container.PasswordLabel, rightCellColumns.ToArray()); 3325var row = CreateTwoColumnRow(container.ConfirmPasswordLabel, rightCellColumns.ToArray());
UI\WebControls\MenuItem.cs (1)
316_internalValuePath = String.Join(TreeView.InternalPathSeparator.ToString(), pathParts.ToArray());
UI\WebControls\TreeNode.cs (1)
358_internalValuePath = String.Join(TreeView.InternalPathSeparator.ToString(), pathParts.ToArray());
UI\WebControls\ValidationSummary.cs (1)
298return errorDescriptions.ToArray();
UI\WebControls\XmlDataSourceNodeDescriptor.cs (1)
89return new PropertyDescriptorCollection(list.ToArray());
UI\WebControls\XmlHierarchyData.cs (1)
182return new PropertyDescriptorCollection(list.ToArray());
System.Web.DataVisualization (25)
Common\ChartTypes\BarChart.cs (1)
397bool indexedSeries = ChartHelper.IndexedSeries(area.Common, typeSeries.ToArray());
Common\ChartTypes\BoxPlotChart.cs (2)
256 bool indexedSeries = ChartHelper.IndexedSeries(area.Common, typeSeries.ToArray() ); 1026 bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray() );
Common\ChartTypes\ColumnChart.cs (1)
308bool indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(Name).ToArray());
Common\ChartTypes\ErrorBarChart.cs (2)
303bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray()); 1083bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray());
Common\ChartTypes\LineChart.cs (1)
369bool indexedSeries = ChartHelper.IndexedSeries(this.Common, typeSeries.ToArray());
Common\ChartTypes\PointChart.cs (2)
306indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(this.Name).ToArray()); 1643indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(this.Name).ToArray());
Common\ChartTypes\RangeChart.cs (1)
324indexedBasedX = ChartHelper.IndexedSeries(common, area.GetSeriesFromChartType(this.Name).ToArray());
Common\ChartTypes\StackedAreaChart.cs (1)
450 bool indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(this.Name).ToArray() );
Common\ChartTypes\StackedBarChart.cs (1)
627 string[] seriesList = area.GetSeriesFromChartType(Name).ToArray();
Common\ChartTypes\StackedColumnChart.cs (1)
637 string[] seriesList = area.GetSeriesFromChartType(Name).ToArray();
Common\ChartTypes\StockChart.cs (3)
328 bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray() ); 1126 bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray() ); 1810 bool indexedSeries = ChartHelper.IndexedSeries(common, area.GetSeriesFromChartType(this.Name).ToArray() );
Common\General\AxisLabels.cs (2)
400if (fromSeries && !ChartHelper.SeriesXValuesZeros(this.Common, dataSeries.ToArray())) 446 numOfPoints = Common.DataManager.GetNumberOfPoints( dataSeries.ToArray() );
Common\General\ChartArea3D.cs (2)
865bool indexedSeries = ChartHelper.IndexedSeries(this.Common, this._series.ToArray()); 1768bool indexedSeries = ChartHelper.IndexedSeries(this.Common, seriesNamesList.ToArray());
Common\General\ChartAreaAxes.cs (3)
1065 string [] xAxesSeries = GetXAxesSeries(type, axis.SubAxisName).ToArray(); 1068 string [] yAxesSeries = GetYAxesSeries( type, axis.SubAxisName ).ToArray(); 1309 double autoMaximum = Common.DataManager.GetNumberOfPoints( GetXAxesSeries( type, axis.SubAxisName ).ToArray() );
Common\General\Selection.cs (1)
2159return result.ToArray();
Common\Utilities\CustomAttributesRegistry.cs (1)
485IsXAxisQuantitativeChartTypes.ToArray(),
System.Web.DynamicData (2)
DynamicData\ModelProviders\ColumnProvider.cs (1)
71attributes = AttributeCollection.FromExisting(attributes, extraAttributes.ToArray());
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
54_attributes = new AttributeCollection(newAttributes.ToArray());
System.Web.Entity (5)
System\Data\WebControls\EntityDataSource.cs (1)
731return objectParameters.ToArray();
System\Data\WebControls\EntityDataSourceView.cs (1)
830whereParameters = whereParameterList.ToArray();
System\Data\WebControls\EntityDataSourceViewSchema.cs (2)
43this.PrimaryKey = keys.ToArray(); 93this.PrimaryKey = keys.ToArray();
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (1)
96_visiblePropertyDescriptors = new PropertyDescriptorCollection(visiblePropertyDescriptors.ToArray(), true);
System.Web.Entity.Design (6)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (2)
364_containerNameComboBox.Items.AddRange(containerNames.ToArray()); 371_namedConnectionComboBox.Items.AddRange(namedConnections.ToArray());
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (3)
274_entitySetComboBox.Items.AddRange(entitySetNames.ToArray()); 288_selectSimpleCheckedListBox.Items.AddRange(entityTypeProperties.ToArray()); 306_entityTypeFilterComboBox.Items.AddRange(entityTypeFilters.ToArray());
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (1)
72_parameterEditorUserControl.AddParameters(paramList.ToArray());
System.Web.Extensions (4)
Configuration\ConvertersCollection.cs (1)
92return list.ToArray();
Script\Services\WebServiceTypeData.cs (2)
323return new WebServiceEnumData(typeName, typeNamespace, enumNames.ToArray(), enumValues.ToArray(), isULong);
UI\WebControls\Dynamic.cs (1)
1269return argList.ToArray();
System.Web.Services (6)
System\Web\Services\Configuration\WebServicesSection.cs (3)
275this.protocolImporterTypes = protocolImporterList.ToArray(); 306this.protocolReflectorTypes = protocolReflectorList.ToArray(); 376this.serverProtocolFactories = serverProtocolFactoryList.ToArray();
System\Web\Services\Protocols\SoapServerMethod.cs (3)
236this.inHeaderMappings = inHeaders.ToArray(); 238this.outHeaderMappings = outHeaders.ToArray(); 251XmlMapping[] xmlMappings = mappings.ToArray();
System.Windows.Forms (2)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
1026names = assemblyList.ToArray();
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
301return extensions.ToArray();
System.Windows.Forms.DataVisualization (24)
Common\ChartTypes\BarChart.cs (1)
397bool indexedSeries = ChartHelper.IndexedSeries(area.Common, typeSeries.ToArray());
Common\ChartTypes\BoxPlotChart.cs (2)
256 bool indexedSeries = ChartHelper.IndexedSeries(area.Common, typeSeries.ToArray() ); 1026 bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray() );
Common\ChartTypes\ColumnChart.cs (1)
308bool indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(Name).ToArray());
Common\ChartTypes\ErrorBarChart.cs (2)
303bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray()); 1083bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray());
Common\ChartTypes\LineChart.cs (1)
369bool indexedSeries = ChartHelper.IndexedSeries(this.Common, typeSeries.ToArray());
Common\ChartTypes\PointChart.cs (2)
306indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(this.Name).ToArray()); 1643indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(this.Name).ToArray());
Common\ChartTypes\RangeChart.cs (1)
324indexedBasedX = ChartHelper.IndexedSeries(common, area.GetSeriesFromChartType(this.Name).ToArray());
Common\ChartTypes\StackedAreaChart.cs (1)
450 bool indexedSeries = ChartHelper.IndexedSeries(this.Common, area.GetSeriesFromChartType(this.Name).ToArray() );
Common\ChartTypes\StackedBarChart.cs (1)
627 string[] seriesList = area.GetSeriesFromChartType(Name).ToArray();
Common\ChartTypes\StackedColumnChart.cs (1)
637 string[] seriesList = area.GetSeriesFromChartType(Name).ToArray();
Common\ChartTypes\StockChart.cs (3)
328 bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray() ); 1126 bool indexedSeries = ChartHelper.IndexedSeries(common, typeSeries.ToArray() ); 1810 bool indexedSeries = ChartHelper.IndexedSeries(common, area.GetSeriesFromChartType(this.Name).ToArray() );
Common\General\AxisLabels.cs (2)
400if (fromSeries && !ChartHelper.SeriesXValuesZeros(this.Common, dataSeries.ToArray())) 446 numOfPoints = Common.DataManager.GetNumberOfPoints( dataSeries.ToArray() );
Common\General\ChartArea3D.cs (1)
1768bool indexedSeries = ChartHelper.IndexedSeries(this.Common, seriesNamesList.ToArray());
Common\General\ChartAreaAxes.cs (3)
1065 string [] xAxesSeries = GetXAxesSeries(type, axis.SubAxisName).ToArray(); 1068 string [] yAxesSeries = GetYAxesSeries( type, axis.SubAxisName ).ToArray(); 1309 double autoMaximum = Common.DataManager.GetNumberOfPoints( GetXAxesSeries( type, axis.SubAxisName ).ToArray() );
Common\General\Selection.cs (1)
2159return result.ToArray();
Common\Utilities\CustomAttributesRegistry.cs (1)
485IsXAxisQuantitativeChartTypes.ToArray(),
System.Workflow.Activities (20)
Common\CompModHelpers.cs (1)
177return filteredActivities.ToArray();
Designers\StateDesigner.cs (1)
2410return properties.ToArray();
Designers\StateDesigner.Helpers.cs (5)
80_ordered.AddRange(_stateInitializationDesigners.ToArray()); 81_ordered.AddRange(_eventDrivenDesigners.ToArray()); 82_ordered.AddRange(_stateFinalizationDesigners.ToArray()); 83_ordered.AddRange(_leafStateDesigners.ToArray()); 84_ordered.AddRange(_stateDesigners.ToArray());
Designers\StateDesignerConnector.cs (3)
181new List<Point>(ConnectorSegments).ToArray(), 216new List<Point>(ConnectorSegments).ToArray(), 267return properties.ToArray();
Designers\StateMachineDesignerPaint.cs (1)
105return optimized.ToArray();
InvokeWebService.cs (1)
329values = typeList.ToArray();
Rules\Parser\Parser.cs (7)
1429CodeExpression[] indices = indexList.ToArray(); 1545postfixExpr = new CodeMethodInvokeExpression(postfixExpr, methodName, arguments.ToArray()); 1699CodeExpression postfixExpr = new CodeMethodInvokeExpression(primaryExpr, methodName, arguments.ToArray()); 1883primaryExpr = new CodeArrayCreateExpression(type, initializers.ToArray()); 1888((CodeArrayCreateExpression)primaryExpr).Initializers.AddRange(initializers.ToArray()); 1952CodeExpression postfixExpr = new CodeObjectCreateExpression(type, arguments.ToArray()); 2354return typeArgs.ToArray();
Rules\RuleValidation.cs (1)
867return types.ToArray();
System.Workflow.ComponentModel (103)
AuthoringOM\Activity.cs (1)
1979return dynamicActivities.ToArray();
AuthoringOM\Bind.cs (2)
786memberInfo = dataSourceType.GetMethod(path, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null); 1377return members.ToArray();
AuthoringOM\Compiler\CodeGeneration\CodeGenerationManager.cs (2)
50return ((List<ActivityCodeGenerator>)this.hashOfGenerators[type]).ToArray(); 61return generators.ToArray();
AuthoringOM\Compiler\TypeSystem\AssemblyLoader.cs (1)
121return filteredTypes.ToArray();
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (1)
72this.typeProvider.RemoveTypes(this.types.ToArray());
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (11)
442return members.ToArray(); 799return memberCollection.ToArray(); 831return memberCandidates.ToArray(); 1045this.properties = GetCodeDomMembers<PropertyInfo>().ToArray(); 1047this.fields = GetCodeDomMembers<FieldInfo>().ToArray(); 1049this.constructors = GetCodeDomConstructors().ToArray(); 1051this.events = GetCodeDomMembers<EventInfo>().ToArray(); 1081this.methods = methodCollection.ToArray(); 1175this.nestedTypes = localMembers.ToArray(); 1220this.parameters = typeCollection.ToArray(); 1234this.parameters = typeCollection.ToArray();
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
201return attributes.ToArray();
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (13)
310return ctorInfos.ToArray(); 324return eventInfos.ToArray(); 338return fieldInfos.ToArray(); 345return methodInfos.ToArray(); 352return propInfos.ToArray(); 359return memberInfos.ToArray(); 366return memberInfos.ToArray(); 380return nestedTypes.ToArray(); 397return itfTypes.ToArray(); 827this.wrappedParameters = parameters.ToArray(); 974return methods.ToArray(); 990this.wrappedParameters = parameters.ToArray(); 1116this.wrappedParameters = parameters.ToArray();
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (4)
564return typeList.ToArray(); 803return names.ToArray(); 827string[] addedAssemblies2 = this.addedAssemblies.ToArray(); 849CodeCompileUnit[] addedCompileUnits2 = this.addedCompileUnits.ToArray();
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
534MethodInfo methodInfo = Helpers.GetMethodExactMatch(resolvedType, dsName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null);
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (1)
208MethodInfo methodInfo = Helpers.GetMethodExactMatch(objType, propValue as string, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null);
AuthoringOM\Compiler\Validation\ValidationManager.cs (2)
65return ((List<Validator>)this.hashOfValidators[type]).ToArray(); 72return validators.ToArray();
AuthoringOM\ComponentFactoryHelpers.cs (1)
43return executors.ToArray();
AuthoringOM\DependencyObject.cs (1)
596return delegates.ToArray();
AuthoringOM\Design\ActivityDesigner.cs (3)
731return propertyDescriptors.ToArray(); 753return propertyDescriptors.ToArray(); 2141CustomProperty newCustomProperty = CustomProperty.CreateCustomProperty(Activity.Site, DesignerHelpers.GenerateUniqueIdentifier(Activity.Site, Activity.Name + "_" + propertyDescriptor.Name, customPropertyNames.ToArray()), propertyDescriptor, Activity);
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (6)
122return properties.ToArray(); 135return properties.ToArray(); 171properties = serializableProperties.ToArray(); 198return properties.ToArray(); 371return properties.ToArray(); 421return properties.ToArray();
AuthoringOM\Design\CommandSet.cs (2)
949this.selectionService.SetSelectedComponents(topLevelActivities.ToArray(), SelectionTypes.Replace); 961this.selectionService.SetSelectedComponents(activities.ToArray(), SelectionTypes.Replace);
AuthoringOM\Design\ComponentSerializationService.cs (1)
357this.assemblies = assemblyList.ToArray();
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
684return intersectingDesigners.ToArray(); 721return intersectingDesigners.ToArray();
AuthoringOM\Design\Connector.cs (16)
314Rectangle bounds = DesignerGeometryHelper.RectangleFromLineSegments(new List<Point>(ConnectorSegments).ToArray()); 445ActivityDesignerPaint.DrawConnectors(e.Graphics, e.DesignerTheme.ForegroundPen, new List<Point>(ConnectorSegments).ToArray(), arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap); 459ActivityDesignerPaint.DrawConnectors(e.Graphics, lineSelectionPen, new List<Point>(ConnectorSegments).ToArray(), arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap); 1007this.editedConnector.OnPaintSelected(e, drawPrimarySelection, segmentEditPoints.ToArray()); 1010this.editedConnector.OnPaintEdited(e, segments.ToArray(), segmentEditPoints.ToArray()); 1078Rectangle bounds = DesignerGeometryHelper.RectangleFromLineSegments(GetPointsFromEditPoints(this.editPoints).ToArray()); 1184this.editPoints.InsertRange(1, newEditPoints.ToArray()); 1284this.editPoints.InsertRange(this.editPoints.Count - 1, editPointsToAdd.ToArray()); 1530Point[] routedPoints = ConnectorRouter.Route(sourcePoint, targetPoint, new Size(2 * ambientTheme.Margin.Width, 2 * ambientTheme.Margin.Height), rootDesigner.Bounds, rectanglesToExclude.ToArray(), linesToExclude.ToArray(), pointsToExclude.ToArray()); 1537routedPoints = ConnectorRouter.Route(sourcePoint, targetPoint, ambientTheme.Margin, rootDesigner.Bounds, new Rectangle[] { }, linesToExclude.ToArray(), new Point[] { }); 1836return GetRoutedLineSegments(begin, end, margin, excludedRectangles.ToArray(), excludedLines.ToArray()); 2003return refinedPath.ToArray();
AuthoringOM\Design\CustomActivityDesigner.cs (2)
188Activity[] activities = compositeActivity.Activities.ToArray(); 662return attributeList.ToArray();
AuthoringOM\Design\DesignerHelpers.cs (1)
1530return actionVerbs.ToArray();
AuthoringOM\Design\DesignerWidgets.cs (1)
2464return accessibilityObjects.ToArray();
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (7)
204this.memberNameTextBox.Text = DesignerHelpers.GenerateUniqueIdentifier(this.serviceProvider, activity.Name + "_" + context.PropertyDescriptor.Name, customPropertyNames.ToArray()); 462return paths.ToArray(); 519return paths.ToArray(); 586return members.ToArray(); 595return paths.ToArray(); 698return paths.ToArray(); 1057e.Node.Nodes.AddRange(nodes.ToArray());
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
871return items.ToArray();
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
404this.UpdateTreeView(GetTargetFrameworkTypes(this.TypeProvider).ToArray(), autoCompleteStringCollection); 743UpdateTreeView(GetTargetFrameworkTypes(this.localTypeProvider).ToArray(), this.typeTextBox.AutoCompleteCustomSource);
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (2)
561return snappableConnectionPoints.ToArray(); 595return highlightablePoints.ToArray();
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
837IDataObject dataObject = CompositeActivityDesigner.SerializeActivitiesToDataObject(ParentView, this.existingDraggedActivities.ToArray());
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
263return locations.ToArray();
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
409return designerList.ToArray();
AuthoringOM\Design\PropertyDescriptors.cs (2)
236return new PropertyDescriptorCollection(properties.ToArray()); 304return new AttributeCollection(attributes.ToArray());
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
536return glyphs.ToArray();
AuthoringOM\Design\WorkflowView.cs (1)
2000ArrayList clonedFilterList = new ArrayList(filters.ToArray());
AuthoringOM\Design\XomlDesignerLoader.cs (1)
863extendedUIService.AddDesignerActions(new List<DesignerAction>(activityDesigner.DesignerActions).ToArray());
AuthoringOM\PropertyMetadata.cs (1)
119return attributes.ToArray();
AuthoringOM\ScheduleChanges.cs (1)
903return properties.ToArray();
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (1)
152return extendedProperties.ToArray();
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
439return extendedProperties.ToArray();
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
1403return properties.ToArray(); 1422return events.ToArray();
Shared\CompModHelpers.cs (1)
175return filteredActivities.ToArray();
System.Workflow.Runtime (3)
EventQueueState.cs (2)
72this.asynchronousListeners.AddRange(copyFromState.AsynchronousListeners.ToArray()); 73this.synchronousListeners.AddRange(copyFromState.SynchronousListeners.ToArray());
System\Activities\Statements\Interop.cs (1)
676return new PropertyDescriptorCollection(properties.ToArray());
System.WorkflowServices (5)
System\Workflow\Activities\ContractType.cs (5)
359return members.ToArray(); 688return memberCollection.ToArray(); 703return memberCandidates.ToArray(); 726this.parameters = typeCollection.ToArray(); 744this.parameters = typeCollection.ToArray();
System.Xml (18)
System\Xml\Schema\XmlValueConverter.cs (1)
3237return listDst.ToArray();
System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
331argTypes.ToArray(), 1064argTypes.ToArray(), 1065argNames.ToArray(), 1185argTypes.ToArray() 1369argTypes.ToArray(), 1370argNames.ToArray(), 2074argTypes.ToArray(), 3194argTypes.ToArray()
System\Xml\Serialization\XmlSerializationWriterILGen.cs (9)
104argTypes.ToArray(), 243argTypes.ToArray(), 564argTypes.ToArray(), 565argNames.ToArray(), 726argTypes.ToArray()); 895argTypes.ToArray(), 896argNames.ToArray(), 1306argTypes.ToArray(), 1950argTypes.ToArray());
WindowsBase (6)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (2)
184properties = new PropertyDescriptorCollection(filteredProps.ToArray(), true); 277_dpCacheArray = dpList.ToArray();
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
737Attribute[] attrArray = newAttributes.ToArray();
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (2)
203properties = new PropertyDescriptorCollection(newDescriptors.ToArray(), true); 369return new PropertyDescriptorCollection(newDescriptors.ToArray(), true);
Base\System\IO\Packaging\ZipPackage.cs (1)
315return parts.ToArray();
WsatConfig (3)
CommandLine\ArgumentsParser.cs (1)
380config.KerberosGlobalAcl = validAccounts.ToArray();
Configuration\ClusterRegistryConfigurationProvider.cs (1)
236return list.ToArray();
Configuration\MsdtcClusterUtils.cs (1)
288return nodeList.ToArray();
WsatUI (2)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
236return list.ToArray();
Configuration\MsdtcClusterUtils.cs (1)
288return nodeList.ToArray();
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (1)
133return generatedCodeFiles.ToArray();
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (2)
52return generatedResources.ToArray(); 67return generatedCodeFiles.ToArray();