5 overrides of ToArray
mscorlib (5)
system\collections\arraylist.cs (5)
1128public override Array ToArray(Type type) 1472public override Array ToArray(Type type) { 1836public override Array ToArray(Type type) { 2090public override Array ToArray(Type type) { 2525public override Array ToArray(Type type) {
209 references to ToArray
mscorlib (9)
system\collections\arraylist.cs (3)
1474return _list.ToArray(type); 1837return _list.ToArray(type); 2091return _list.ToArray(type);
system\security\permissions\publisheridentitypermission.cs (3)
207result.m_certs = (X509Certificate[])alCerts.ToArray(typeof(X509Certificate)); 254result.m_certs = (X509Certificate[])alCerts.ToArray(typeof(X509Certificate)); 285m_certs = (X509Certificate[])al.ToArray(typeof(X509Certificate));
system\security\policy\netcodegroup.cs (2)
355result[i].Value = ((ArrayList)m_accessList[i]).ToArray(typeof(CodeConnectAccess)); 564return (CodeConnectAccess[])accessList.ToArray(typeof(CodeConnectAccess));
system\security\util\stringexpressionset.cs (1)
551m_expressionsArray = (String[])m_list.ToArray(typeof(String));
PresentationBuildTasks (9)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (5)
1356GeneratedBamlFiles = (ITaskItem[])bamlFileList.ToArray(typeof(ITaskItem)); 1367_localMarkupPages = (LocalReferenceFile[])localRefPageList.ToArray(typeof(LocalReferenceFile)); 1410GeneratedCodeFiles = (ITaskItem[])csFileList.ToArray(typeof(ITaskItem)); 1454AllGeneratedFiles = (ITaskItem[])allGeneratedFiles.ToArray(typeof(ITaskItem)); 1671GeneratedLocalizationFiles = (ITaskItem[])locFileItemList.ToArray(typeof(ITaskItem));
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (1)
776GeneratedBaml = (ITaskItem[])bamlFileList.ToArray(typeof(ITaskItem));
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
274_localXamlPages = (string[])_pendingLocalFiles.ToArray(typeof(string));
BuildTasks\MS\Internal\Tasks\CompilerLocalReference.cs (1)
287LocalMarkupPages = (LocalReferenceFile []) alMarkupPages.ToArray(typeof(LocalReferenceFile));
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3558namespaceMaps = (NamespaceMapEntry[]) namespaceMapArray.ToArray(typeof(NamespaceMapEntry));
PresentationFramework (4)
src\Framework\System\Windows\Documents\FixedPage.cs (1)
1080return (int[])childPath.ToArray(typeof(int));
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
565somElements = (FixedSOMElement[])ar.ToArray(typeof(FixedSOMElement));
src\Framework\System\Windows\Documents\FlowPosition.cs (1)
404flowNodes = (FlowNode [])ar.ToArray(typeof(FlowNode));
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3558namespaceMaps = (NamespaceMapEntry[]) namespaceMapArray.ToArray(typeof(NamespaceMapEntry));
System (19)
compmod\system\codedom\compiler\CodeDOMProvider.cs (1)
88CompilerInfo[] compilerInfos = (CompilerInfo[])values.ToArray(typeof(CompilerInfo));
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
222PropertyDescriptor[] propArray = (PropertyDescriptor[])propList.ToArray(typeof(PropertyDescriptor));
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
790return (Type[])typeList.ToArray(typeof(Type));
compmod\system\componentmodel\TypeDescriptor.cs (2)
1753events = new EventDescriptorCollection((EventDescriptor[])filteredEvents.ToArray(typeof(EventDescriptor)), true); 1974properties = new PropertyDescriptorCollection((PropertyDescriptor[])filteredProperties.ToArray(typeof(PropertyDescriptor)), true);
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
223return (ResourcePermissionBaseEntry[])list.ToArray(typeof(ResourcePermissionBaseEntry));
net\System\Net\_FtpControlStream.cs (1)
656return (PipelineEntry []) commandList.ToArray(typeof(PipelineEntry));
net\System\Net\Cache\HttpRequestCacheValidator.cs (4)
951control.PrivateHeaders = (string[])privateList.ToArray(typeof(string)); 981control.NoCacheHeaders = (string[])nocacheList.ToArray(typeof(string)); 1070control.PrivateHeaders = (string[])privateList.ToArray(typeof(string)); 1098control.NoCacheHeaders = (string[])nocacheList.ToArray(typeof(string));
net\System\Net\Internal.cs (1)
2114return (uint[]) certificateProblems.ToArray(typeof(uint));
net\System\Net\mail\SmtpReplyReaderFactory.cs (3)
355return (LineInfo[])lines.ToArray(typeof(LineInfo)); 363return (LineInfo[])lines.ToArray(typeof(LineInfo)); 416return (LineInfo[])thisPtr.lines.ToArray(typeof(LineInfo));
net\System\Net\webproxy.cs (1)
209return (string[])_BypassList.ToArray(typeof(string));
net\System\URI.cs (1)
914segments = (string[])(pathSegments.ToArray(typeof(string)));
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1441interestedComponents = (EventLogInternal[])info.listeningComponents.ToArray(typeof(EventLogInternal));
sys\system\configuration\ApplicationSettingsBase.cs (1)
728return (PropertyInfo[]) settingProps.ToArray(typeof(PropertyInfo));
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
1459return (object[])cache.Cache.ToArray(filterType ?? typeof(object)); 1552return (object[])compiledAttributes.ToArray(filterType ?? typeof(object));
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
1459return (object[])cache.Cache.ToArray(filterType ?? typeof(object)); 1552return (object[])compiledAttributes.ToArray(filterType ?? typeof(object));
System.Data.SqlXml (2)
System\Xml\Xsl\XsltOld\DbgCompiler.cs (2)
64this.globalVarsCache = (VariableAction[]) this.globalVars.ToArray(typeof(VariableAction)); 73this.localVarsCache = (VariableAction[]) this.localVars.ToArray(typeof(VariableAction));
System.Drawing (2)
commonui\System\Drawing\Design\ToolboxItem.cs (2)
781Filter = (ToolboxItemFilterAttribute[])array.ToArray(typeof(ToolboxItemFilterAttribute)); 838info.AddValue("PropertyNames", (string[])propertyNames.ToArray(typeof(string)));
System.Management (1)
Instrumentation\Attributes.cs (1)
163return (Type[])types.ToArray(typeof(Type));
System.Runtime.Serialization (1)
System\Xml\XmlBufferReader.cs (1)
1421return (int[])list.ToArray(typeof(int));
System.ServiceModel (7)
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
1855return (CloudInfo[])clouds.ToArray(typeof(CloudInfo));
System\ServiceModel\Description\MessageContractImporter.cs (1)
2022return (MessagePartDescription[])parts.ToArray(typeof(MessagePartDescription));
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
342parameters[i] = multipleHeaderValues[i].Value.ToArray(multipleHeaderValues[i].Key); 346parameters[messageInfo.UnknownHeaderDescription.Index] = elementList.ToArray(messageInfo.UnknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 434return items.ToArray(part.Description.Type);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
170parameters[unknownHeaderDescription.Index] = unknownHeaders.ToArray(unknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement)); 238parameters[unknownHeaderDescription.Index] = unknownHeaders.ToArray(unknownHeaderDescription.TypedHeader ? typeof(MessageHeader<XmlElement>) : typeof(XmlElement));
System.Web (25)
Cache\CacheDependency.cs (4)
1023dependencies = (CacheDependency[]) _dependencies.ToArray(typeof(CacheDependency)); 1054dependencies = (CacheDependency[]) _dependencies.ToArray(typeof(CacheDependency)); 1085dependencies = (CacheDependency[]) _dependencies.ToArray(typeof(CacheDependency)); 1154return (string[])fileNames.ToArray(typeof(string));
Cache\SqlCacheDependency.cs (1)
1728return (string[])tablesObj.ToArray(Type.GetType("System.String"));
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
658return ((FileInfo [])fileList.ToArray(typeof(FileInfo)));
Configuration\CapabilitiesPattern.cs (1)
94_strings = (String[])strings.ToArray(typeof(String));
Configuration\CapabilitiesSection.cs (1)
36_rules = (CapabilitiesRule[])rulelist.ToArray(typeof(CapabilitiesRule));
Configuration\CompilationSection.cs (1)
868assemblies = (System.Reflection.Assembly[])list.ToArray(typeof(System.Reflection.Assembly));
Configuration\HttpCapabilitiesBase.cs (1)
428return (Version[])versionList.ToArray(typeof(Version));
Hosting\ApplicationManager.cs (1)
608return (AppDomainInfo[]) appList.ToArray(typeof(AppDomainInfo));
Hosting\IIS7WorkerRequest.cs (1)
1764substElemAry = (HttpSubstBlockResponseElement[]) substElements.ToArray(typeof(HttpSubstBlockResponseElement));
HttpResponse.cs (1)
3574string[] a = (string[]) items.ToArray(typeof(string));
Management\EventlogProvider.cs (1)
250hr = UnsafeNativeMethods.RaiseEventlogEvent((int)eventType, (string[])dataFields.ToArray(typeof(string)), dataFields.Count);
MultipartContentParser.cs (1)
313return (MultipartContentElement[])parser._elements.ToArray(typeof(MultipartContentElement));
UI\ControlIdConverter.cs (1)
64return (string[])array.ToArray(typeof(string));
UI\ControlPropertyNameConverter.cs (1)
38return (string[])array.ToArray(typeof(string));
UI\DesignTimeTemplateParser.cs (1)
118return (Control[])parsedControls.ToArray(typeof(Control));
UI\WebControls\Listbox.cs (1)
151return (int[])SelectedIndicesInternal.ToArray(typeof(int));
UI\WebParts\PropertyGridEditorPart.cs (1)
313WebControl[] editorControls = (WebControl[])EditorControls.ToArray(typeof(WebControl));
UI\WebParts\RowToParametersTransformer.cs (2)
348_owner.ConsumerFieldNames = (string[])consumerFieldNames.ToArray(typeof(string)); 349_owner.ProviderFieldNames = (string[])providerFieldNames.ToArray(typeof(string));
UI\WebParts\WebPartManager.cs (3)
1503WebPartConnection[] connectionsToActivateArray = (WebPartConnection[])connectionsToActivate.ToArray(typeof(WebPartConnection)); 1528connectionsToActivateArray = (WebPartConnection[])connectionsToActivate.ToArray(typeof(WebPartConnection)); 1591return (WebPartConnection[])finalConnectionsToActivate.ToArray(typeof(WebPartConnection));
System.Web.DataVisualization (2)
Common\General\Selection.cs (2)
2493result.Markers = new ReadOnlyCollection<PointF>((PointF[])list.ToArray(typeof(PointF))); 2735return (HotRegion[])result.ToArray(typeof(HotRegion));
System.Web.Extensions (1)
Script\Serialization\ObjectConverter.cs (1)
446convertedList = newList.ToArray(elementType);
System.Web.Mobile (2)
UI\MobileControls\ObjectList.cs (1)
507_tableFieldIndices = (int[])tableFieldIndexList.ToArray(typeof(int));
UI\MobileControls\SelectionList.cs (1)
416SelectedIndicesInternal.ToArray(typeof(int)),
System.Web.Services (27)
System\Web\Services\Configuration\WebServicesSection.cs (2)
459ProtocolImporterTypes = (Type[])importers.ToArray(typeof(Type)); 460ProtocolReflectorTypes = (Type[])reflectors.ToArray(typeof(Type));
System\Web\Services\Description\HttpProtocolImporter.cs (2)
375importers[i].GenerateCode((MimeReturn[])importedReturns[i].ToArray(typeof(MimeReturn)), 376(MimeParameterCollection[])importedParameters[i].ToArray(typeof(MimeParameterCollection)));
System\Web\Services\Description\ServiceDescription.cs (2)
1489return (object[])list.ToArray(type); 1520return (XmlElement[])list.ToArray(typeof(XmlElement));
System\Web\Services\Description\SoapProtocolImporter.cs (2)
510(string[])propertyNames.ToArray(typeof(string)), 511(CodeExpression[])propertyValues.ToArray(typeof(CodeExpression)));
System\Web\Services\Protocols\LogicalMethodInfo.cs (1)
318attrForType = (object[])all.ToArray(type);
System\Web\Services\Protocols\PatternMatcher.cs (3)
51matchType.fields = (MatchMember[])list.ToArray(typeof(MatchMember)); 95return matches.ToArray(typeof(string)); 129return matches.ToArray(matchType.Type);
System\Web\Services\Protocols\SoapClientProtocol.cs (5)
49XmlMapping[] xmlMappings = (XmlMapping[])mappings.ToArray(typeof(XmlMapping)); 68HighPriExtensions = (SoapReflectedExtension[]) highPri.ToArray(typeof(SoapReflectedExtension)); 69LowPriExtensions = (SoapReflectedExtension[]) lowPri.ToArray(typeof(SoapReflectedExtension)); 106clientMethod.inHeaderMappings = (SoapHeaderMapping[])inHeaders.ToArray(typeof(SoapHeaderMapping)); 108clientMethod.outHeaderMappings = (SoapHeaderMapping[])outHeaders.ToArray(typeof(SoapHeaderMapping));
System\Web\Services\Protocols\SoapHeader.cs (1)
406MemberHelper.SetValue(mapping.memberInfo, target, list.ToArray(mapping.headerType));
System\Web\Services\Protocols\SoapReflector.cs (2)
515soapMethod.inHeaderMappings = ImportMembersMapping(xmlImporter, soapImporter, serviceDefaultIsEncoded, false, soapMethod.use, SoapParameterStyle.Bare, requestElementName + "InHeaders", defaultNs, true, (XmlReflectionMember[]) inHeaders.ToArray(typeof(XmlReflectionMember)), false, true, methodId + ":InHeaders", client); 517soapMethod.outHeaderMappings = ImportMembersMapping(xmlImporter, soapImporter, serviceDefaultIsEncoded, false, soapMethod.use, SoapParameterStyle.Bare, responseElementName + "OutHeaders", defaultNs, true, (XmlReflectionMember[]) outHeaders.ToArray(typeof(XmlReflectionMember)), false, true, methodId + ":OutHeaders", !client);
System\Web\Services\Protocols\SoapServerProtocol.cs (5)
95HighPriExtensions = (SoapReflectedExtension[]) highPri.ToArray(typeof(SoapReflectedExtension)); 96LowPriExtensions = (SoapReflectedExtension[]) lowPri.ToArray(typeof(SoapReflectedExtension)); 112XmlMapping[] xmlMappings = (XmlMapping[])mappings.ToArray(typeof(XmlMapping)); 162serverMethod.inHeaderMappings = (SoapHeaderMapping[])inHeaders.ToArray(typeof(SoapHeaderMapping)); 164serverMethod.outHeaderMappings = (SoapHeaderMapping[])outHeaders.ToArray(typeof(SoapHeaderMapping));
System\Web\Services\Protocols\XmlReturnReader.cs (1)
45XmlMapping[] xmlMappings = (XmlMapping[])mappings.ToArray(typeof(XmlMapping));
System\Web\Services\WebMethodAttribute.cs (1)
319return LogicalMethodInfo.Create((MethodInfo[])list.ToArray(typeof(MethodInfo)), LogicalMethodTypes.Async | LogicalMethodTypes.Sync, methodInfos);
System.Windows.Forms (4)
winforms\Managed\System\WinForms\KeysConverter.cs (1)
323return (Enum[])terms.ToArray(typeof(Enum));
winforms\Managed\System\WinForms\ListView.cs (2)
2220ListViewItem[] items = (ListViewItem[])newItems.ToArray(typeof(ListViewItem)); 4318listViewItemsToAdd = (ListViewItem[])listItemsArray.ToArray(typeof(ListViewItem));
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
712return(string[]) list.ToArray(typeof(string));
System.Windows.Forms.DataVisualization (2)
Common\General\Selection.cs (2)
2493result.Markers = new ReadOnlyCollection<PointF>((PointF[])list.ToArray(typeof(PointF))); 2735return (HotRegion[])result.ToArray(typeof(HotRegion));
System.Workflow.Activities (6)
Common\BasePropertyDescriptor.cs (2)
207return new AttributeCollection((Attribute[])attributes.ToArray(typeof(Attribute))); 467return new AttributeCollection((Attribute[])attributes.ToArray(typeof(Attribute)));
Common\CompModHelpers.cs (3)
203return (Activity[])nestedActivities.ToArray(typeof(Activity)); 260return (Activity[])nestedActivities.ToArray(typeof(Activity)); 858referenceKey.SetValue(TypeProviderAssemblyRegValueName, ((string[])references.ToArray(typeof(string))));
LocalService\CorrelationTokenTypeConvertor.cs (1)
98return new PropertyDescriptorCollection((PropertyDescriptor[])props.ToArray(typeof(PropertyDescriptor)));
System.Workflow.ComponentModel (36)
AuthoringOM\Activity.cs (1)
2415activity.Name = DesignerHelpers.GenerateUniqueIdentifier(((IComponent)this).Site, Helpers.GetBaseIdentifier(activity), (string[])identifiers.ToArray(typeof(string)));
AuthoringOM\Compiler\CompileXomlTask.cs (2)
228this.xomlFiles = xomlFilesOnly.ToArray(typeof(ITaskItem)) as ITaskItem[]; 372this.outputFiles = oFiles.ToArray(typeof(ITaskItem)) as ITaskItem[];
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
459return (MemberInfo[])members.ToArray(typeof(MemberInfo)); 559return (Type[])types.ToArray(typeof(Type));
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
65return accessorList.ToArray(typeof(MethodInfo)) as MethodInfo[];
AuthoringOM\Compiler\XomlCompiler.cs (3)
974string[] options = optionsList.ToArray(typeof(string)) as string[]; 1001userCodeFiles.AddRange(XomlCompilerHelper.GenerateFiles(codeDomProvider, clonedParams, (CodeCompileUnit[])ccus.ToArray(typeof(CodeCompileUnit)))); 1004CompilerResults results2 = codeDomProvider.CompileAssemblyFromFile(clonedParams, (string[])userCodeFiles.ToArray(typeof(string)));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (2)
238sourceFilePaths.AddRange(XomlCompilerHelper.GenerateFiles(codeDomProvider, parameters, (CodeCompileUnit[])ccus.ToArray(typeof(CodeCompileUnit)))); 241CompilerResults results2 = codeDomProvider.CompileAssemblyFromFile(parameters, (string[])sourceFilePaths.ToArray(typeof(string)));
AuthoringOM\Design\CommandSet.cs (1)
409if (compositeActivityDesigner != null && !compositeActivityDesigner.CanRemoveActivities(new List<Activity>((Activity[])((ArrayList)entry.Value).ToArray(typeof(Activity))).AsReadOnly()))
AuthoringOM\Design\ComponentSerializationService.cs (1)
542return properties.ToArray(typeof(PropertyInfo)) as PropertyInfo[];
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
631return (Activity[])new ArrayList(activities).ToArray(typeof(Activity)); 671return (Activity[])new ArrayList(activities).ToArray(typeof(Activity));
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
852return ((DesignerTheme[])designerThemes.ToArray(typeof(DesignerTheme)));
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
1090arrayRanks = (int[])arrayRankList.ToArray(typeof(int)); 1116parameterDataArray = (ParameterData[])parameterDataList.ToArray(typeof(ParameterData));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
744Activity[] activitiesToMove = (Activity[])((ArrayList)entry.Value).ToArray(typeof(Activity));
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
222selectionService.SetSelectedComponents((object[])selectableComponents.ToArray(typeof(object)), SelectionTypes.Replace);
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
268if (compositeActivityDesigner != null && !compositeActivityDesigner.CanRemoveActivities(new List<Activity>((Activity[])((ArrayList)entry.Value).ToArray(typeof(Activity))).AsReadOnly()))
AuthoringOM\Design\PropertyDescriptors.cs (5)
816AttributeCollection newCollection = new AttributeCollection((Attribute[])collection.ToArray(typeof(Attribute))); 834return new PropertyDescriptorCollection((PropertyDescriptor[])readonlyProperties.ToArray(typeof(PropertyDescriptor))); 851return new EventDescriptorCollection((EventDescriptor[])readonlyEvents.ToArray(typeof(EventDescriptor))); 886AttributeCollection newCollection = new AttributeCollection((Attribute[])collection.ToArray(typeof(Attribute))); 979AttributeCollection newCollection = new AttributeCollection((Attribute[])collection.ToArray(typeof(Attribute)));
AuthoringOM\Design\Themes.cs (1)
3160return ((string[])fontNames.ToArray(typeof(string)));
AuthoringOM\Design\TypeConverters.cs (2)
115return new StandardValuesCollection((ActivityCondition[])conditionDeclList.ToArray(typeof(ActivityCondition))); 292return new PropertyDescriptorCollection((PropertyDescriptor[])properties.ToArray(typeof(PropertyDescriptor)));
AuthoringOM\Serializer\CompositeActivityTypeDescriptor.cs (1)
42return new PropertyDescriptorCollection((PropertyDescriptor[])readonlyProperties.ToArray(typeof(PropertyDescriptor)));
AuthoringOM\Serializer\XamlInterfaces.cs (1)
303retArray = arrayElementList.ToArray(this.arrayType);
Shared\BasePropertyDescriptor.cs (2)
206return new AttributeCollection((Attribute[])attributes.ToArray(typeof(Attribute))); 466return new AttributeCollection((Attribute[])attributes.ToArray(typeof(Attribute)));
Shared\CompModHelpers.cs (3)
201return (Activity[])nestedActivities.ToArray(typeof(Activity)); 258return (Activity[])nestedActivities.ToArray(typeof(Activity)); 856referenceKey.SetValue(TypeProviderAssemblyRegValueName, ((string[])references.ToArray(typeof(string))));
System.WorkflowServices (3)
System\Workflow\Activities\ChannelTokenTypeConverter.cs (1)
75return new PropertyDescriptorCollection((PropertyDescriptor[]) props.ToArray(typeof(PropertyDescriptor)));
System\Workflow\Activities\ContextTokenTypeConverter.cs (1)
75return new PropertyDescriptorCollection((PropertyDescriptor[]) props.ToArray(typeof(PropertyDescriptor)));
System\Workflow\Activities\ContractType.cs (1)
372return (MemberInfo[])members.ToArray(typeof(MemberInfo));
System.Xml (33)
System\Xml\Schema\ContentValidator.cs (1)
1379return (int[][])transitionTable.ToArray(typeof(int[]));
System\Xml\Schema\DataTypeImplementation.cs (2)
1012array = values.ToArray(typeof(XmlAtomicValue)); 1022array = values.ToArray(itemType.ValueType);
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
541mainUnion.SetBaseMemberTypes(memberTypeDefinitions.ToArray(typeof(XmlSchemaSimpleType)) as XmlSchemaSimpleType[]);
System\Xml\Schema\SchemaSetCompiler.cs (1)
608mainUnion.SetBaseMemberTypes(memberTypeDefinitions.ToArray(typeof(XmlSchemaSimpleType)) as XmlSchemaSimpleType[]);
System\Xml\Schema\XmlSchemaValidator.cs (3)
848return expected.ToArray(typeof(XmlSchemaParticle)) as XmlSchemaParticle[]; 854return expected.ToArray(typeof(XmlSchemaParticle)) as XmlSchemaParticle[]; 874return attList.ToArray(typeof(XmlSchemaAttribute)) as XmlSchemaAttribute[];
System\Xml\Schema\XsdBuilder.cs (1)
769this.xso.SetUnhandledAttributes((XmlAttribute[])this.unhandledAttributes.ToArray(typeof(System.Xml.XmlAttribute)));
System\Xml\Serialization\Models.cs (1)
357constants = (ConstantModel[])list.ToArray(typeof(ConstantModel));
System\Xml\Serialization\SoapReflectionImporter.cs (2)
395mapping.Members = (MemberMapping[])members.ToArray(typeof(MemberMapping)); 547mapping.Constants = (ConstantMapping[])constants.ToArray(typeof(ConstantMapping));
System\Xml\Serialization\Types.cs (2)
932return (MemberMapping[])list.ToArray(typeof(MemberMapping)); 953return (MemberMapping[])list.ToArray(typeof(MemberMapping));
System\Xml\Serialization\XmlReflectionImporter.cs (3)
807mapping.Members = (MemberMapping[])members.ToArray(typeof(MemberMapping)); 1067mapping.Constants = (ConstantMapping[])constants.ToArray(typeof(ConstantMapping)); 1715accessor.Elements = (ElementAccessor[])elementList.ToArray(typeof(ElementAccessor));
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1029return (XmlSchemaElement[])equivalentElements.ToArray(typeof(XmlSchemaElement));
System\Xml\Serialization\XmlSerializationReader.cs (7)
1853XmlNode[] childNodes = (XmlNode[])xmlNodeList.ToArray(typeof(XmlNode)); 2415Member[] members = (Member[]) membersList.ToArray(typeof(Member)); 2416Member[] textOrArrayMembers = (Member[]) textOrArrayMembersList.ToArray(typeof(Member)); 2423Member[] attributeMembers = (Member[]) attributeMembersList.ToArray(typeof(Member)); 3149Member[] arraysToDeclare = (Member[]) arraysToDeclareList.ToArray(typeof(Member)); 3150Member[] arraysToSet = (Member[]) arraysToSetList.ToArray(typeof(Member)); 3151Member[] allMembers = (Member[]) allMembersList.ToArray(typeof(Member));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
506Member[] members = (Member[])membersList.ToArray(typeof(Member)); 507Member[] textOrArrayMembers = (Member[])textOrArrayMembersList.ToArray(typeof(Member)); 525Member[] attributeMembers = (Member[])attributeMembersList.ToArray(typeof(Member)); 1623Member[] arraysToDeclare = (Member[])arraysToDeclareList.ToArray(typeof(Member)); 1624Member[] arraysToSet = (Member[])arraysToSetList.ToArray(typeof(Member)); 1625Member[] allMembers = (Member[])allMembersList.ToArray(typeof(Member));
System\Xml\Serialization\XmlSerializationWriter.cs (1)
84XmlQualifiedName[] qnames = (XmlQualifiedName[])value.ToArray(typeof(XmlQualifiedName));
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
76return (XmlQualifiedName[])NamespaceList.ToArray(typeof(XmlQualifiedName));
UIAutomationClient (6)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
266return (IRawElementProviderSimple[])embeddedRoots.ToArray(typeof(IRawElementProviderSimple));
System\Windows\Automation\AutomationElement.cs (1)
909return (AutomationPattern[])interfaces.ToArray(typeof(AutomationPattern));
System\Windows\Automation\CacheRequest.cs (4)
166AutomationProperty[] propertyArray = (AutomationProperty[])_properties.ToArray(typeof(AutomationProperty)); 167AutomationPattern[] patternArray = (AutomationPattern[])_patterns.ToArray(typeof(AutomationPattern)); 439AutomationProperty[] propertiesArray = (AutomationProperty[])_properties.ToArray(typeof(AutomationProperty)); 440AutomationPattern[] patternsArray = (AutomationPattern[])_patterns.ToArray(typeof(AutomationPattern));
WindowsBase (2)
Base\System\IO\Packaging\CompoundFile\StorageInfo.cs (2)
561return (StreamInfo[])streamArray.ToArray(typeof(StreamInfo)); 591return (StorageInfo[])storageArray.ToArray(typeof(StorageInfo));
WsatUI (2)
MMCUI\WsatSecurityModel.cs (2)
142current.KerberosGlobalAcl = (string[])allowed.ToArray(typeof(string)); 187current.KerberosGlobalAcl = (string[])kerb.ToArray(typeof(string));