5 overrides of ToArray
mscorlib (5)
system\collections\arraylist.cs (5)
1121public override Object[] ToArray() { 1465public override Object[] ToArray() { 1831public override Object[] ToArray() { 2085public override Object[] ToArray() { 2517public override Object[] ToArray() {
50 references to ToArray
mscorlib (6)
system\collections\arraylist.cs (4)
1467return _list.ToArray(); 1832return _list.ToArray(); 2086return _list.ToArray(); 2632return arrayList.ToArray();
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (2)
310return argsToSerialize.ToArray(); 332return argsToSerialize.ToArray();
PresentationCore (1)
Core\CSharp\System\Windows\Input\CursorConverter.cs (1)
78this._standardValues = new TypeConverter.StandardValuesCollection(list1.ToArray());
PresentationFramework (2)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
1945staticResourceValuesList.Add(staticResources.ToArray());
src\Framework\System\Windows\NullableBoolConverter.cs (1)
67_standardValues = new TypeConverter.StandardValuesCollection(list1.ToArray());
System (3)
compmod\system\componentmodel\EnumConverter.cs (1)
294Array arr = (objValues != null) ? objValues.ToArray() : null;
compmod\system\componentmodel\ReferenceConverter.cs (1)
176components = list.ToArray();
net\System\Net\connectionpool.cs (1)
750object[] objectList = m_ObjectList.ToArray();
System.Drawing (2)
commonui\System\Drawing\Advanced\ImageFormatConverter.cs (1)
148values = new StandardValuesCollection(list.ToArray());
commonui\System\Drawing\ColorConverter.cs (1)
389values = new StandardValuesCollection(arrayValues.ToArray());
System.Web (1)
UI\WebParts\BlobPersonalizationState.cs (1)
1080object[] state = items.ToArray();
System.Web.Mobile (11)
UI\MobileControls\Design\Converters\ChoiceConverter.cs (2)
96return returnArray.ToArray(); 120return returnArray.ToArray();
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
200names = list.ToArray();
UI\MobileControls\Design\Converters\DefaultCommandConverter.cs (1)
41return commandList.ToArray();
UI\MobileControls\Design\Converters\StyleConverter.cs (1)
55return _styleArray.ToArray();
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (3)
105return styleArray.ToArray(); 123return styleArray.ToArray(); 142return styleArray.ToArray();
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (1)
123return controlArray.ToArray();
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
1215comboBox.Items.AddRange(_cachedComboBox.ToArray());
UI\MobileControls\Design\Util\UnsettableComboBox.cs (1)
134base.AddItemsCore(items.ToArray());
System.Windows.Forms (5)
winforms\Managed\System\WinForms\CursorConverter.cs (1)
175values = new StandardValuesCollection(list.ToArray());
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
880dataGridViewCell.Items.AddRangeInternal(this.Items.InnerArray.ToArray()); 1552comboBox.Items.AddRange(this.Items.InnerArray.ToArray());
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (1)
527object[] items = ((DataGridViewComboBoxCell)this.CellTemplate).Items.InnerArray.ToArray();
winforms\Managed\System\WinForms\KeysConverter.cs (1)
351values = new StandardValuesCollection(list.ToArray());
System.Workflow.Activities (1)
Executors\WorkflowWebService.cs (1)
127return ((ArrayList)response.OutArgs).ToArray();
System.Workflow.ComponentModel (15)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
122Attribute attribute = (Attribute)Activator.CreateInstance(attributeType, constructorArguments.ToArray());
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
253return attributeList.ToArray();
AuthoringOM\ComponentFactoryHelpers.cs (5)
76AddComponents(components, supportsSynchronizationComponents.ToArray()); 77AddComponents(components, supportsTransactionComponents.ToArray()); 78AddComponents(components, supportsCompensationHandlerComponents.ToArray()); 79AddComponents(components, supportsCancelHandlerComponents.ToArray()); 128return new ArrayList(components.Values).ToArray();
AuthoringOM\Design\TypeConverters.cs (1)
308return new StandardValuesCollection(valuesList.ToArray());
AuthoringOM\Serializer\DependencyStoreSurrogate.cs (2)
37info.AddValue("keys", properties.ToArray()); 38info.AddValue("values", values.ToArray());
AuthoringOM\Serializer\DictionarySurrogate.cs (2)
42info.AddValue("keys", keys.ToArray()); 43info.AddValue("values", values.ToArray());
AuthoringOM\Serializer\GenericQueueSurrogate.cs (1)
29info.AddValue("items", items.ToArray());
AuthoringOM\Serializer\ListSurrogate.cs (1)
29info.AddValue("items", items.ToArray());
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2590obj = Activator.CreateInstance(type, positionalArgs.ToArray());
System.WorkflowServices (2)
System\ServiceModel\Activation\WorkflowServiceBuildProvider.cs (1)
29this.virtualPathDependencies = dependencies.ToArray();
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
228return attributeList.ToArray();
WindowsBase (1)
Base\MS\Internal\AvTrace.cs (1)
351arrayList.ToArray() );