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