38 references to CreateInstance
mscorlib (1)
system\array.cs (1)
235
return
CreateInstance
(elementType, length);
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (1)
213
Array newArray = Array.
CreateInstance
(elementType, ((Array)_value).Length);
Core\CSharp\System\Windows\DataObject.cs (2)
4110
datalist = (DataStoreEntry[])Array.
CreateInstance
(typeof(DataStoreEntry), 1);
4116
newlist = (DataStoreEntry[])Array.
CreateInstance
(typeof(DataStoreEntry), datalist.Length + 1);
System (3)
misc\SecurityUtils.cs (1)
249
return Array.
CreateInstance
(type, length);
net\System\Net\cookiecontainer.cs (2)
432
cookies = Array.
CreateInstance
(typeof(CookieCollection), pathList.Count);
433
stamps = Array.
CreateInstance
(typeof(DateTime), pathList.Count);
System.Core (1)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (1)
1309
return Array.
CreateInstance
(objType, 0);
System.Data (2)
fx\src\data\System\Data\DataTable.cs (2)
3212
EmptyDataRowArray = (DataRow[]) Array.
CreateInstance
(GetRowType(), 0);
3216
return (DataRow[]) Array.
CreateInstance
(GetRowType(), size);
System.Data.Linq (2)
DataContext.cs (1)
558
Array items = Array.
CreateInstance
(entity.GetType(), 1);
parent\parent\misc\SecurityUtils.cs (1)
249
return Array.
CreateInstance
(type, length);
System.Runtime.Serialization (1)
System\Runtime\Serialization\SurrogateDataContract.cs (1)
86
object obj = objType.IsArray ? Array.
CreateInstance
(objType.GetElementType(), 0) : GetUninitializedObject(objType);
System.ServiceModel (5)
System\ServiceModel\ComIntegration\DispatchProxy.cs (3)
327
Array arrDest = Array.
CreateInstance
(typeof(object), arr.Length);
432
Array arr = Array.
CreateInstance
(type.GetElementType(), objects.Length);
516
Array arrDest = Array.
CreateInstance
(typeof(object), arr.Length);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
447
Array tArray = Array.
CreateInstance
(headerDescription.Type, messageHeaderOfTArray.Length);
507
object[] messageHeaderOfTArray = (object[])Array.
CreateInstance
(TypedHeaderManager.GetMessageHeaderType(headerDescription.Type), messageHeaderOfTAttributes.Count);
System.Web (5)
ModelBinding\ValueProviderResult.cs (2)
115
IList converted = Array.
CreateInstance
(destinationElementType, valueAsArray.Length);
124
IList converted = Array.
CreateInstance
(destinationElementType, 1);
parent\parent\parent\Misc\SecurityUtils.cs (1)
249
return Array.
CreateInstance
(type, length);
UI\ObjectStateFormatter.cs (2)
589
Array list = Array.
CreateInstance
(elementType, count);
626
Array list = Array.
CreateInstance
(elementType, count);
System.Web.Services (1)
System\Web\Services\Protocols\ValueCollectionParameterReader.cs (1)
54
Array array = Array.
CreateInstance
(arrayType, arrayValues.Length);
System.Windows.Forms (2)
misc\SecurityUtils.cs (1)
249
return Array.
CreateInstance
(type, length);
winforms\Managed\System\WinForms\TabControl.cs (1)
1226
object[] result = (object[]) Array.
CreateInstance
(baseType, tabPageCount);
System.Workflow.Activities (2)
Rules\Expressions.cs (2)
3098
Array paramsArray = Array.
CreateInstance
(elementType, actualArgCount - i);
3420
Array result = Array.
CreateInstance
(elementType, size);
System.Xml (8)
System\Xml\Schema\XmlValueConverter.cs (1)
322
this.clrTypeDefault = Array.
CreateInstance
(converterAtomic.DefaultClrType, 0).GetType();
System\Xml\Serialization\CodeIdentifiers.cs (1)
166
Array array = Array.
CreateInstance
(type, list.Count);
System\Xml\Serialization\NameTable.cs (1)
76
Array a = Array.
CreateInstance
(type, table.Count);
System\Xml\Serialization\XmlSerializationReader.cs (5)
1312
if (a == null) return Array.
CreateInstance
(elementType, 32);
1314
Array b = Array.
CreateInstance
(elementType, a.Length * 2);
1323
return Array.
CreateInstance
(elementType, 0);
1326
Array b = Array.
CreateInstance
(elementType, length);
1579
return Array.
CreateInstance
(elementType, 0);
UIAutomationClient (2)
MS\Internal\Automation\Misc.cs (2)
97
Array combined = Array.
CreateInstance
(t, totalLength);
143
Array a2 = Array.
CreateInstance
(t, newLength);