38 references to HasElementType
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\TypeImpl.cs (1)
404return this.Type.HasElementType;
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\NullabilityInfoContext\NullabilityInfoContext.cs (1)
568if (underlyingType.HasElementType)
Microsoft.ML.Data (1)
EntryPoints\EntryPointNode.cs (1)
650if (valueType == null || !valueType.HasElementType)
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeMetadataGenerator.cs (2)
451if (!arrayTypeInfo.DataType.HasElementType) 723if (!arrayTypeInfo.DataType.HasElementType
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
271if (rtOwner.HasElementType || rtOwner.ContainsGenericParameters
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeNameBuilder.cs (2)
251if (!type.HasElementType) 270while (rootType.HasElementType)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedHasElementType.cs (1)
19Debug.Assert(unmodifiedType.HasElementType);
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (2)
36else if (unmodifiedType.HasElementType) 193protected override bool HasElementTypeImpl() => _unmodifiedType.HasElementType;
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (1)
588if (underlyingType.HasElementType)
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
161protected override bool HasElementTypeImpl() => typeImpl.HasElementType;
src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (3)
46if (HasElementType) 70while (rootElementType.HasElementType) 88if (HasElementType)
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
253return m_typeBuilder.HasElementType;
src\System\Reflection\Emit\SignatureHelper.cs (4)
282if (t.HasElementType) 304if (t.HasElementType) 745if (t.HasElementType) 768if (t.HasElementType)
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContract.cs (1)
2142if (t.HasElementType)
System.Private.Windows.Core (1)
System\TypeExtensions.cs (1)
28while (attributedType.HasElementType)
System.Reflection.Context (3)
System\Reflection\Context\CollectionServices.cs (1)
41if (arrayType.HasElementType || arrayType.IsValueType || arrayType.ContainsGenericParameters)
System\Reflection\Context\CustomReflectionContext.cs (1)
111if (type.IsInterface || type.IsGenericParameter || type.HasElementType)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
413return _typeInfo.HasElementType;
System.Reflection.Emit (7)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeNameBuilder.cs (2)
251if (!type.HasElementType) 270while (rootType.HasElementType)
System\Reflection\Emit\EnumBuilderImpl.cs (1)
92protected override bool HasElementTypeImpl() => _typeBuilder.HasElementType;
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
695if (type.HasElementType || type.IsGenericParameter || 1110if (type.HasElementType)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
742if (argType.HasElementType || paramType.HasElementType)
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
40Debug.Assert(!HasElementType);
System\Reflection\TypeLoading\Types\RoModifiedHasElementType.cs (1)
18Debug.Assert(unmodifiedType.HasElementType);
System\Reflection\TypeLoading\Types\RoModifiedType.cs (1)
46else if (unmodifiedType.HasElementType)
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\FormatterServices.cs (1)
319while (attributedType.HasElementType)
System.Xaml (1)
System\Xaml\Schema\TypeReflector.cs (1)
150else if (type.HasElementType)