Implemented interface member:
property
UnderlyingSystemType
System.Reflection.IReflect.UnderlyingSystemType
13 overrides of UnderlyingSystemType
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
538public override Type UnderlyingSystemType => this;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
229public override Type UnderlyingSystemType => this;
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
75public override Type UnderlyingSystemType => _unmodifiedType;
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
72public override Type UnderlyingSystemType => this; // Equals(Type) depends on this.
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
165public override Type UnderlyingSystemType => typeImpl.UnderlyingSystemType;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
33public override Type UnderlyingSystemType => this;
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
262public override Type UnderlyingSystemType => GetEnumUnderlyingType();
src\System\Reflection\Emit\RuntimeGenericTypeParameterBuilder.cs (1)
176public override Type UnderlyingSystemType => this;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
951public override Type UnderlyingSystemType
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
155public override Type UnderlyingSystemType
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
538public override Type UnderlyingSystemType => this;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
21public override Type UnderlyingSystemType => this;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
785public override Type UnderlyingSystemType => throw new NotImplementedException();
112 references to UnderlyingSystemType
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
185/// <see cref="System.Type.UnderlyingSystemType"/>
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\TypeImpl.cs (1)
108get { return (TypeImpl)Type.UnderlyingSystemType; }
System.ComponentModel.Composition (19)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (1)
17var underlyingItemType = itemType.UnderlyingSystemType;
Microsoft\Internal\Collections\CollectionServices.cs (2)
24Type genericType = type.GetGenericTypeDefinition().UnderlyingSystemType; 36if (type.UnderlyingSystemType == StringType || !IEnumerableType.IsAssignableFrom(type))
Microsoft\Internal\ContractServices.cs (1)
29result = exportedDelegate.CreateDelegate(contractType.UnderlyingSystemType);
Microsoft\Internal\ReflectionServices.cs (6)
95instanceType.UnderlyingSystemType.GetGenericTypeDefinition() == targetOpenInterfaceType.UnderlyingSystemType) 109targetInterface.UnderlyingSystemType.GetGenericTypeDefinition() == targetOpenInterfaceType.UnderlyingSystemType) 135if (baseType.UnderlyingSystemType != typeof(object)) 159if (baseType.UnderlyingSystemType != typeof(object))
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (2)
389while (currentType != null && currentType.UnderlyingSystemType != CompositionServices.ObjectType) 461while (baseType != null && baseType.UnderlyingSystemType != CompositionServices.ObjectType)
System\ComponentModel\Composition\ReflectionModel\ImportType.cs (7)
124Type genericType = type.GetGenericTypeDefinition().UnderlyingSystemType; 163castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].UnderlyingSystemType, null); 172castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].UnderlyingSystemType, arguments[1].UnderlyingSystemType); 183castFunction = new ExportFactoryCreator(genericType).CreateStronglyTypedExportFactoryFactory(arguments[0].UnderlyingSystemType, null); 191castFunction = new ExportFactoryCreator(genericType).CreateStronglyTypedExportFactoryFactory(arguments[0].UnderlyingSystemType, arguments[1].UnderlyingSystemType);
System.ComponentModel.Composition.Registration (6)
System\ComponentModel\Composition\Registration\ExportBuilder.cs (1)
87object value = (item.Item2 != null) ? item.Item2(type.UnderlyingSystemType) : null;
System\ComponentModel\Composition\Registration\PartBuilder.cs (2)
308Type underlyingType = iface.UnderlyingSystemType; 424PropertyInfo declaredPi = pi.DeclaringType.UnderlyingSystemType.GetProperty(pi.Name, pi.PropertyType);
System\ComponentModel\Composition\Registration\RegistrationBuilder.cs (3)
97foreach (PartBuilder builder in _conventions.Where(c => c.SelectType(type.UnderlyingSystemType))) 127MemberInfo underlyingMemberType = ((Type)member).UnderlyingSystemType; 228if (!_memberInfos.TryGetValue(member.DeclaringType.UnderlyingSystemType, out cachedAttributes))
System.ComponentModel.TypeConverter (2)
System\ComponentModel\AttributeCollection.cs (1)
269ConstructorInfo? ci = reflect.UnderlyingSystemType.GetConstructor(Type.EmptyTypes);
System\ComponentModel\TypeDescriptionProvider.cs (1)
241return reflectionType.UnderlyingSystemType;
System.Private.CoreLib (50)
src\libraries\System.Private.CoreLib\src\System\Activator.RuntimeType.cs (2)
36if (type.UnderlyingSystemType is not RuntimeType rt) 97if (type.UnderlyingSystemType is not RuntimeType rt)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
79RuntimeType? t = elementType.UnderlyingSystemType as RuntimeType; 94RuntimeType? t = elementType.UnderlyingSystemType as RuntimeType; 111RuntimeType? t = elementType.UnderlyingSystemType as RuntimeType; 128RuntimeType? t = elementType.UnderlyingSystemType as RuntimeType; 156RuntimeType? t = elementType.UnderlyingSystemType as RuntimeType;
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (7)
550realTypes[i] = types[i].UnderlyingSystemType; 590if (type.UnderlyingSystemType is not RuntimeType rtType || 591!CanChangePrimitive(rtType, pCls.UnderlyingSystemType)) 677if (indexes[j].UnderlyingSystemType is not RuntimeType rtType || 678!CanChangePrimitive(rtType, pCls.UnderlyingSystemType)) 695if (returnType.UnderlyingSystemType is not RuntimeType rtType || 696!CanChangePrimitive(rtType, candidates[i].PropertyType.UnderlyingSystemType))
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (4)
238_parameterTypes[i] = (signature[i].UnderlyingSystemType as RuntimeType)!; 251(returnType.UnderlyingSystemType as RuntimeType) ?? throw new NotSupportedException(SR.Arg_InvalidTypeInRetType); 269if (owner?.UnderlyingSystemType is RuntimeType rtOwner) 350if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureModifiedType.cs (1)
16baseType = baseType.UnderlyingSystemType;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
165public override Type UnderlyingSystemType => typeImpl.UnderlyingSystemType;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (3)
62if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 214if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 288if (c.UnderlyingSystemType is RuntimeType fromType)
src\libraries\System.Private.CoreLib\src\System\Type.cs (4)
549Type systemType = UnderlyingSystemType; 842Type systemType = UnderlyingSystemType; 847public virtual bool Equals(Type? o) => o != null && ReferenceEquals(this.UnderlyingSystemType, o.UnderlyingSystemType);
src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (2)
21Type? underlyingType = UnderlyingSystemType; 375Type toType = this.UnderlyingSystemType;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
990if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 1003if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\Emit\SignatureHelper.cs (2)
120retType = retType.UnderlyingSystemType; 126paramTypes[i] = paramTypes[i].UnderlyingSystemType;
src\System\Reflection\RuntimeAssembly.cs (2)
325if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 335if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (2)
138if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 148if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeEventInfo.cs (2)
98if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 108if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeFieldInfo.cs (2)
69if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 79if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (2)
183if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 193if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeModule.cs (3)
36Type? typeArg = genericArguments[i]?.UnderlyingSystemType; 362if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 372if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeParameterInfo.cs (2)
463if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 479if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimePropertyInfo.cs (2)
146if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 156if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
157get { return _typeInfo.UnderlyingSystemType; }
System.Reflection.Emit (6)
System\Reflection\Emit\ILGeneratorImpl.cs (2)
648if (methodInfo.ReturnType.UnderlyingSystemType != voidType) 745if (returnType?.UnderlyingSystemType != voidType)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
694type = type.UnderlyingSystemType;
System\Reflection\Emit\SignatureHelper.cs (3)
263returnTypeToWrite = returnTypeToWrite.UnderlyingSystemType; 278paramTypeToWrite = paramTypeToWrite.UnderlyingSystemType; 291type = type.UnderlyingSystemType;
System.Reflection.MetadataLoadContext (14)
System\Reflection\DefaultBinder.cs (10)
55realTypes[i] = types[i].UnderlyingSystemType; 95if (!(IsImplementedByMetadataLoadContext(type.UnderlyingSystemType)) || 96!CanChangePrimitive(type.UnderlyingSystemType, pCls.UnderlyingSystemType)) 190if (!(IsImplementedByMetadataLoadContext(indexes[j].UnderlyingSystemType)) || 191!CanChangePrimitive(indexes[j].UnderlyingSystemType, pCls.UnderlyingSystemType)) 208if (!(IsImplementedByMetadataLoadContext(returnType.UnderlyingSystemType)) || 209!CanChangePrimitive(returnType.UnderlyingSystemType, candidates[i].PropertyType.UnderlyingSystemType))
System\Reflection\TypeLoading\General\Helpers.cs (1)
48copy[i] = original[i].UnderlyingSystemType;
System\Reflection\TypeLoading\Parameters\RoMethodParameter.cs (1)
25_parameterType = parameterType.UnderlyingSystemType;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
49public sealed override Type GetFunctionPointerReturnType() => _returnType.UnderlyingSystemType;
System\Reflection\TypeLoading\Types\RoType.cs (1)
256c = c.UnderlyingSystemType;
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (4)
130Debug.Assert(genericArgs[0].UnderlyingSystemType == typeof(string)); 132genericArgs[1].UnderlyingSystemType == JsonTypeInfo.ObjectType || 133genericArgs[1].UnderlyingSystemType == typeof(JsonElement) || 134genericArgs[1].UnderlyingSystemType == typeof(Nodes.JsonNode));
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.cs (1)
111if (itemType.UnderlyingSystemType == typeof(string))
System\ComponentModel\Design\DesignerHost.cs (1)
1253Type IReflect.UnderlyingSystemType => typeof(IDesignerHost).UnderlyingSystemType;
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
1571if (rhs is Type rhsType && rhsType.UnderlyingSystemType is not null) 1573rhs = rhsType.UnderlyingSystemType; // unwrap this "type" that came because it was not actually a real bcl type.
System.Xaml (2)
System\Xaml\Schema\XamlTypeInvoker.cs (2)
234Type type = _xamlType.UnderlyingType.UnderlyingSystemType; 308Type underlyingType = type._xamlType.UnderlyingType.UnderlyingSystemType;
System.Xaml.Tests (1)
Common\CustomType.cs (1)
69public override Type UnderlyingSystemType => UnderlyingSystemTypeResult.Or(typeImpl.UnderlyingSystemType);