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)
230public 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)
71public sealed 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)
957public 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();
103 references to UnderlyingSystemType
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
183/// <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)
132Type genericType = type.GetGenericTypeDefinition().UnderlyingSystemType; 171castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].UnderlyingSystemType, null); 180castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].UnderlyingSystemType, arguments[1].UnderlyingSystemType); 191castFunction = new ExportFactoryCreator(genericType).CreateStronglyTypedExportFactoryFactory(arguments[0].UnderlyingSystemType, null); 199castFunction = 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 (47)
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)
548realTypes[i] = types[i].UnderlyingSystemType; 588if (type.UnderlyingSystemType is not RuntimeType rtType || 589!CanChangePrimitive(rtType, pCls.UnderlyingSystemType)) 675if (indexes[j].UnderlyingSystemType is not RuntimeType rtType || 676!CanChangePrimitive(rtType, pCls.UnderlyingSystemType)) 693if (returnType.UnderlyingSystemType is not RuntimeType rtType || 694!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\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) 195if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 269if (c.UnderlyingSystemType is RuntimeType fromType)
src\libraries\System.Private.CoreLib\src\System\Type.cs (4)
549Type systemType = UnderlyingSystemType; 695Type systemType = UnderlyingSystemType; 700public 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; 347Type toType = this.UnderlyingSystemType;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
996if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 1009if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeAssembly.cs (2)
333if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 343if (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)
181if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 191if (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)
467if (attributeType.UnderlyingSystemType is not RuntimeType attributeRuntimeType) 483if (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.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)
52copy[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)
260c = c.UnderlyingSystemType;
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (4)
122Debug.Assert(genericArgs[0].UnderlyingSystemType == typeof(string)); 124genericArgs[1].UnderlyingSystemType == JsonTypeInfo.ObjectType || 125genericArgs[1].UnderlyingSystemType == typeof(JsonElement) || 126genericArgs[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)
1260Type 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);