Implemented interface member:
property
IsArray
System.Runtime.InteropServices._Type.IsArray
221 references to IsArray
mscorlib (43)
system\attribute.cs (2)
872if (thisValue.GetType().IsArray) 928if (fieldValue != null && !fieldValue.GetType().IsArray)
system\defaultbinder.cs (3)
152if (!par[j].ParameterType.IsArray) 168if (!par[lastArgPos].ParameterType.IsArray) 185if (par[lastArgPos].ParameterType.IsArray
system\diagnostics\eventing\eventsource.cs (2)
6227if ((type.IsArray || type.IsPointer) && type.GetElementType() == typeof(byte)) 6766else if ((type.IsArray || type.IsPointer) && type.GetElementType() == typeof(byte))
System\Diagnostics\Eventing\TraceLogging\Statics.cs (1)
598else if (dataType.IsArray)
system\reflection\ConstructorInfo.cs (1)
183if (DeclaringType.IsArray && IsPublic && !IsStatic)
system\reflection\customattribute.cs (2)
235if (type.IsArray) 933else if (ArgumentType.IsArray)
system\reflection\emit\aqnbuilder.cs (1)
146else if (elementType.IsArray)
system\reflection\emit\customattributebuilder.cs (3)
94if (t.IsArray) 349else if (type.IsArray) 440else if (type.IsArray)
system\reflection\emit\dynamicilgenerator.cs (2)
109if (declaringType != null && (declaringType.IsGenericType || declaringType.IsArray)) 163if (declaringType != null && (declaringType.IsGenericType || declaringType.IsArray))
system\reflection\emit\modulebuilder.cs (4)
545else if ( (rtCon = con as RuntimeConstructorInfo) != null && con.ReflectedType.IsArray == false) 1714type.IsArray || 1871if (declaringType.IsArray == true) 2058if (arrayClass.IsArray == false)
system\reflection\emit\signaturehelper.cs (1)
446else if (clsArgument.IsArray)
system\reflection\emit\symboltype.cs (1)
328if (!IsArray)
system\reflection\methodinfo.cs (1)
149if (m_declaringType.IsArray && IsPublic && !IsStatic)
system\reflection\module.cs (2)
725if (declaringType.IsGenericType || declaringType.IsArray) 812if (declaringType.IsGenericType || declaringType.IsArray)
system\reflection\typedelegator.cs (1)
192return typeImpl.IsArray;
system\rttype.cs (4)
1049if (template.IsArray) 2026if (reflectedType.IsArray) 2606if (!lastParameter.ParameterType.IsArray) 4703if (selFld.FieldType.IsArray || Object.ReferenceEquals(selFld.FieldType, typeof(System.Array)))
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (3)
298if (type.IsArray) 371Contract.Requires(obj.GetType().IsArray); 376Contract.Assert(obj.Rank == 1 && obj.GetLowerBound(0) == 0 && !type.IsArray);
system\runtime\serialization\formatter.cs (1)
170if (varType.IsArray) {
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (3)
131if (objectType.IsArray) 202if (objectType.IsArray) 578if (objectType.IsArray)
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
751arrayElemTypeNameInfo.NIisArray = arrayElemTypeNameInfo.NItype.IsArray;
system\runtime\serialization\formatterservices.cs (1)
495if (type.IsArray) {
system\stubhelpers.cs (1)
1248if (pManagedHome.GetType().IsArray)
system\type.cs (1)
1620else if (IsArray || IsPointer)
system\unityserializationholder.cs (1)
53else if (type.IsArray)
PresentationBuildTasks (1)
Framework\System\Windows\Markup\BamlRecords.cs (1)
490if (propertyType.IsArray)
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (3)
65if (type1.IsArray && type2.IsArray) 204else if (type.IsArray)
PresentationFramework (7)
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (2)
418if (argType.IsArray) 698|| type.IsArray
src\Framework\System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
486if (UnderlyingType.IsArray)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
3024if (!holder.PropertyType.IsArray)
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
490if (propertyType.IsArray)
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1024else if (property.PropertyType.IsArray)
src\Framework\System\Windows\TemplateContent.cs (1)
1100if (property.PropertyType.IsArray)
System (2)
compmod\system\codedom\CodeTypeReference.cs (1)
62if (type.IsArray) {
compmod\system\componentmodel\ArrayConverter.cs (1)
53if (value.GetType().IsArray) {
System.Activities (6)
System\Activities\DynamicUpdate\ArgumentInfo.cs (2)
234else if (type.IsArray) 254Fx.Assert(type.IsArray, "This type must be an array type.");
System\Activities\Expressions\ExpressionServices.cs (3)
197if (declaringType.IsArray && calledMethod.Name == "Get") 438if (!leftType.IsArray) 794if (!leftType.IsArray)
System\Activities\Expressions\NewArray.cs (1)
43if (!typeof(TResult).IsArray)
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
240|| (typeof(IEnumerable).IsAssignableFrom(type)) || typeof(IDictionary).IsAssignableFrom(type) || type.IsArray
System.Activities.Presentation (2)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (1)
31if (!type.IsGenericType && !type.IsArray)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1085protected override bool IsArrayImpl() { return _baseReflectionType.IsArray; }
System.Core (11)
Microsoft\Scripting\Ast\BinaryExpression.cs (1)
2646if (!arrayType.IsArray) {
Microsoft\Scripting\Ast\IndexExpression.cs (2)
51Debug.Assert(instance != null && instance.Type.IsArray); 185if (!arrayType.IsArray) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (1)
1030if (!arrayType.IsArray) {
Microsoft\Scripting\Ast\UnaryExpression.cs (1)
774if (!array.Type.IsArray || !typeof(Array).IsAssignableFrom(array.Type)) {
Microsoft\Scripting\Compiler\ILGen.cs (3)
628} else if (typeFrom.IsArray && typeTo.IsArray) { 935if (!arrayType.IsArray) throw Error.ArrayTypeMustBeArray();
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (1)
170node.Object.Type.IsArray &&
System\Linq\SequenceQuery.cs (2)
255if (!type.IsAssignableFrom(expr.Type) && type.IsArray && expr.NodeType == ExpressionType.NewArrayInit) { 376bool isArray = type.IsArray;
System.Data (7)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (1)
31if (!type.IsGenericType && !type.IsArray)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1085protected override bool IsArrayImpl() { return _baseReflectionType.IsArray; }
fx\src\data\System\Data\Common\DataColumnMapping.cs (2)
118if ((null == dataType) || (dataType.IsArray == dataColumn.DataType.IsArray)) {
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
190else if(dataType.IsArray) {
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
869if (!valueType.IsArray) {
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
813if (schemaRow.IsUnique && !schemaRow.IsKey && !fieldType.IsArray) {
System.Data.DataSetExtensions (2)
System\Data\DataRowComparer.cs (2)
39return (a.Equals(b) || (a.GetType().IsArray && CompareArray((Array)a, b as Array))); 214if (valueType.IsArray)
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (1)
205if (requestedType.IsArray)
System\Data\Objects\ELinq\TypeSystem.cs (1)
156if (seqType.IsArray)
System.Data.Linq (5)
SqlClient\Common\TypeSystem.cs (1)
25if (seqType.IsArray)
SqlClient\Reader\ObjectReaderCompiler.cs (3)
864if (!ca.ClrType.IsArray) { 1743else if (expectedType.IsArray && expectedType.GetArrayRank() == 1 && 1744!actualType.IsArray && seqType.IsAssignableFrom(actualType) &&
SqlClient\SqlTypeSystemProvider.cs (1)
1383else if (clrType.IsArray) {
System.Data.Services (1)
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
410if (!type.IsVisible || type.IsArray || type.IsPointer || type.IsCOMObject || type.IsInterface ||
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\Evaluator.cs (1)
176if (constantValue != null && constantType.IsArray && constantType.GetElementType() == constantValue.GetType().GetElementType())
System\Data\Services\Client\ALinq\TypeSystem.cs (1)
197if (seqType.IsArray)
System\Data\Services\Client\ClientType.cs (1)
142(ptype.IsArray && (typeof(byte[]) != ptype) && typeof(char[]) != ptype) ||
System.Management (3)
Instrumentation\SchemaMapping.cs (1)
253 if(t2.IsArray)
property.cs (1)
628 isArray = val.GetType().IsArray;
propertyset.cs (1)
454 if ((null != propertyValue) && propertyValue.GetType().IsArray)
System.Runtime.Remoting (5)
metadata\wsdlwriter.cs (5)
248if (!type.IsArray) 408if (!type.IsArray && !type.IsByRef) 2244while (elementType.IsArray) 2292if (type.IsArray) 2303if (clrType.IsArray)
System.Runtime.Serialization (23)
System\Runtime\Serialization\ClassDataContract.cs (1)
361if (type.IsArray)
System\Runtime\Serialization\CodeGenerator.cs (2)
352if (GetVariableType(forState.End).IsArray) 1796if (type.IsArray)
System\Runtime\Serialization\CollectionDataContract.cs (2)
860if (type.IsArray && DataContract.GetBuiltInDataContract(type) == null) 878if (type.IsArray)
System\Runtime\Serialization\DataContract.cs (6)
579if (type.IsArray) 1306while (itemType.IsArray) 1520else if (type.IsArray) 1603while (itemType.IsArray) 1646if (type.IsArray) 1810if (type.IsArray)
System\Runtime\Serialization\DataContractSerializer.cs (1)
419else if (declaredType.IsArray)//Array covariance is not supported in XSD
System\Runtime\Serialization\Json\XmlJsonWriter.cs (1)
1651else if (value.GetType().IsArray)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
266else if (declaredType.IsArray) // If declared type is array do not write __serverType. Instead write__serverType for each item 332&& !declaredType.IsArray)//Array covariance is not supported in XSD. If declared type is array do not write xsi:type. Instead write xsi:type for each item
System\Runtime\Serialization\NetDataContractSerializer.cs (1)
499else if (type.IsArray)
System\Runtime\Serialization\SurrogateDataContract.cs (1)
86object obj = objType.IsArray ? Array.CreateInstance(objType.GetElementType(), 0) : GetUninitializedObject(objType);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (2)
176if (declaredType != null && declaredType.IsArray) 344while (memberType.IsArray)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
174else if (!declaredType.IsArray) //Array covariance is not supported in XSD. If declared type is array do not write xsi:type. Instead write xsi:type for each item 203else if (declaredType.IsArray)//Array covariance is not supported in XSD. If declared type is array do not write xsi:type. Instead write xsi:type for each item
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
296while (memberType.IsArray)
System\Xml\XmlBaseWriter.cs (1)
1099else if (value.GetType().IsArray)
System.ServiceModel (9)
System\ServiceModel\ComIntegration\DispatchProxy.cs (3)
250if (!mInfo.paramList[index].type.IsArray) 322if (!result.GetType().IsArray) 511if (!val.GetType().IsArray)
System\ServiceModel\Description\ServiceReflector.cs (1)
62else if (t.IsArray)
System\ServiceModel\Description\TypeLoader.cs (1)
1420if (!headerParameterType.IsArray || headerParameterType.GetArrayRank() != 1)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
1014bool isArray = member.MemberType.IsArray;
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (3)
274if (type.IsArray && type != typeof(byte[])) 360if (type.IsArray && type.GetArrayRank() == 1 && IsArrayTypeSupported(type.GetElementType())) 681if (description.Type.IsArray)
System.Web (5)
Compilation\CodeDOMUtility.cs (1)
65else if (valueType.IsArray) {
Compilation\DelayLoadType.cs (1)
157return Type.IsArray;
ModelBinding\ArrayModelBinderProvider.cs (1)
9if (!bindingContext.ModelMetadata.IsReadOnly && bindingContext.ModelType.IsArray &&
ModelBinding\MutableObjectModelBinder.cs (1)
59if (propertyType.IsArray) {
ModelBinding\ValueProviderResult.cs (1)
111if (destinationType.IsArray) {
System.Web.Extensions (5)
Script\Serialization\ObjectConverter.cs (2)
522return type.IsArray || type == typeof(ArrayList) || type == typeof(IEnumerable) || type == typeof(IList) || type == typeof(ICollection); 529if (t == null || t.IsAbstract || t.IsInterface || t.IsArray)
Script\Services\ServicesUtilities.cs (1)
90if (type.IsArray || typeof(IEnumerable).IsAssignableFrom(type)) {
Script\Services\WebServiceData.cs (1)
401else if (t.IsArray) {
UI\WebControls\Dynamic.cs (1)
1279if (expr.Type.IsArray) {
System.Web.Mobile (1)
UI\MobileControls\Design\MobileControlPersister.cs (1)
589(propType.IsArray && (persistValue.Length == 0)))
System.Web.Services (12)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
69if (parameterInfo.ParameterType.IsArray) {
System\Web\Services\Diagnostics\TraceUtility.cs (1)
377if (type.IsArray) {
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
242if (parameterType.IsArray) {
System\Web\Services\Protocols\PatternMatcher.cs (4)
82if (fieldType.IsArray) { 116if (fieldType.IsArray) { 194member.maxRepeats = memberType.IsArray ? int.MaxValue : 1; 195if (memberType.IsArray) {
System\Web\Services\Protocols\SoapReflector.cs (2)
462if (soapHeader.headerType.IsArray) { 557if (paramInfo.ParameterType.IsArray && paramInfo.ParameterType.GetArrayRank() > 1)
System\Web\Services\Protocols\UrlEncodedParameterWriter.cs (1)
56if (paramInfo.ParameterType.IsArray) {
System\Web\Services\Protocols\ValueCollectionParameterReader.cs (2)
51if (paramInfo.ParameterType.IsArray) { 90if (type.IsArray)
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
56if (!instance.GetType().IsArray) { 90object[] objs = component.GetType().IsArray ? (object[])component : new object[]{component};
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (3)
1575if (objType == null || !objType.IsArray) 1594if ((props == null || props.Count == 0) && objType != null && objType.IsArray && obj != null) 2566if (type != null && type.IsArray) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
360if (propType != null && (propType.IsArray || propType.IsValueType || propType.IsPrimitive)) { 838treatAsValueType = propType.IsValueType || propType.IsArray;
System.Workflow.Activities (18)
Common\BasePropertyDescriptor.cs (1)
43if (site == null && component.GetType().IsArray && (component as object[]).Length > 0 && (component as object[])[0] is IComponent)
Common\CompModHelpers.cs (1)
697if (typeRight.IsArray && typeLeft.ArrayRank != typeRight.GetArrayRank()) return false;
Common\TypeSystemHelpers.cs (1)
287if (type.IsArray)
LocalService\DataExchangeServiceBinder.cs (1)
61if (!(methodParams[j].ParameterType.IsArray && argsCopy[j] == null))
Rules\CodeDomDecompiler.cs (1)
192if (type.IsArray)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
578else if (isLastParameter && paramType.IsArray)
Rules\Expressions.cs (5)
1589System.Diagnostics.Debug.Assert(arrayType.IsArray); 2540System.Diagnostics.Debug.Assert(arrayType.IsArray); 2691if (!targetType.IsArray) 3095System.Diagnostics.Debug.Assert(arrayType.IsArray); 3244if (resultType.IsArray)
Rules\Parser\Parser.cs (3)
1434if (primaryExprInfo.ExpressionType.IsArray) 2590if (lastParm.ParameterType.IsArray) 2655System.Diagnostics.Debug.Assert(paramType.IsArray, "last parameter in 'params' list must have an array type");
Rules\RuleAction.cs (1)
132while (currentType.IsArray)
Rules\RuleAttributes.cs (1)
132while (currentType.IsArray)
Rules\RuleValidation.cs (2)
2975if (lastParam.ParameterType.IsArray) 3837while (type.IsArray)
System.Workflow.ComponentModel (13)
AuthoringOM\Bind.cs (1)
1170if (memberType.IsArray)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (3)
102if (IsArray) 201if (IsArray) 605if (!IsArray)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
761return this.runtimeType.IsArray;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
497if (propertyType.IsArray) 781while (type.IsArray)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
1083if (type.IsArray == true) 1135while (type.IsArray)
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
166else if (objectType != null && TypeProvider.IsAssignable(typeof(ICollection<String>), objectType) && !objectType.IsArray && serializerType == typeof(CodeDomSerializer))
Shared\BasePropertyDescriptor.cs (1)
42if (site == null && component.GetType().IsArray && (component as object[]).Length > 0 && (component as object[])[0] is IComponent)
Shared\CompModHelpers.cs (1)
695if (typeRight.IsArray && typeLeft.ArrayRank != typeRight.GetArrayRank()) return false;
Shared\TypeSystemHelpers.cs (1)
286if (type.IsArray)
System.Xml (19)
System\Xml\Schema\XmlValueConverter.cs (2)
3153if (destinationType.IsArray) { 3210return type.IsArray;
System\Xml\Serialization\CodeGenerator.cs (1)
313if (varType.IsArray) {
System\Xml\Serialization\CodeIdentifier.cs (1)
190while (t.IsArray) {
System\Xml\Serialization\Compilation.cs (2)
361if (types[0].IsArray) { 465if (types[0].IsArray) {
System\Xml\Serialization\SourceInfo.cs (1)
68if (varType.IsArray) {
System\Xml\Serialization\Types.cs (3)
731else if (type.IsArray) { 882if (t.IsArray) { 913if (type.IsArray)
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1237if (type.IsArray) {
System\Xml\Serialization\XmlSerializationReader.cs (1)
1502if (itemType == null && arraySize == null && (arrayType == null || !arrayType.IsArray))
System\Xml\Serialization\XmlSerializationReaderILGen.cs (2)
2781System.Diagnostics.Debug.Assert(ilg.GetVariableType(ilg.GetVariable(match.Groups["a"].Value)).IsArray); 2855System.Diagnostics.Debug.Assert(varType.IsArray);
System\Xml\Serialization\XmlSerializationWriter.cs (5)
1063while ((elementType.IsArray || typeof(IEnumerable).IsAssignableFrom(elementType)) && GetPrimitiveTypeName(elementType, false) == null) { 1119if (type.IsArray) { 1221if (t.IsArray || typeof(IEnumerable).IsAssignableFrom(t)) { 3260if (type.IsArray) 3366if (type.IsArray)
WindowsBase (1)
Base\System\Windows\Markup\Primitives\MarkupProperty.cs (1)
61propertyType.IsArray);
XamlBuildTask (4)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (2)
197if (!IsSupportedParameterType(paramType.UnderlyingType) || paramType.UnderlyingType.IsArray) 240if (type.IsArray)
Microsoft\Build\Tasks\Xaml\AttributeParameterData.cs (2)
61if (type.UnderlyingType.IsArray) 83if (!type.UnderlyingType.IsArray)