Implemented interface member:
property
UnderlyingSystemType
System.Reflection.IReflect.UnderlyingSystemType
10 overrides of UnderlyingSystemType
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
540public override Type UnderlyingSystemType => this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
229public override Type UnderlyingSystemType => this;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
75public override Type UnderlyingSystemType => _unmodifiedType;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
75public override Type UnderlyingSystemType => this; // Equals(Type) depends on this.
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
166public override Type UnderlyingSystemType => typeImpl.UnderlyingSystemType;
System\RuntimeType.NativeAot.cs (1)
669public override Type UnderlyingSystemType => this;
System.Private.Reflection.Execution (1)
Internal\Reflection\Execution\TypeLoader\ConstraintValidatorSupport.cs (1)
181public override Type UnderlyingSystemType { get { Debug.Assert(false); throw NotImplemented.ByDesign; } }
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
155public override Type UnderlyingSystemType
System.Reflection.Emit (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
540public override Type UnderlyingSystemType => this;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
21public override Type UnderlyingSystemType => this;
87 references to UnderlyingSystemType
ILCompiler.Compiler (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
189/// <see cref="System.Type.UnderlyingSystemType"/>
illink (1)
ILLink.RoslynAnalyzer (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
189/// <see cref="System.Type.UnderlyingSystemType"/>
Microsoft.Extensions.Diagnostics.Testing (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (2)
839Type? temp133 = instance.UnderlyingSystemType; 1020Type? temp173 = instance.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 (24)
src\runtime\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureModifiedType.cs (1)
16baseType = baseType.UnderlyingSystemType;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
166public override Type UnderlyingSystemType => typeImpl.UnderlyingSystemType;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (4)
549Type systemType = UnderlyingSystemType; 854Type systemType = UnderlyingSystemType; 859public virtual bool Equals(Type? o) => o != null && ReferenceEquals(this.UnderlyingSystemType, o.UnderlyingSystemType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (2)
21Type? underlyingType = UnderlyingSystemType; 375Type toType = this.UnderlyingSystemType;
System\ActivatorImplementation.cs (2)
24type = type.UnderlyingSystemType; 65type = type.UnderlyingSystemType;
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
297c = c.UnderlyingSystemType;
System\RuntimeType.NativeAot.cs (1)
618if (c.UnderlyingSystemType is not RuntimeType fromRuntimeType)
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;