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)
538
public override Type
UnderlyingSystemType
=> this;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
230
public override Type
UnderlyingSystemType
=> this;
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
75
public override Type
UnderlyingSystemType
=> _unmodifiedType;
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
71
public sealed override Type
UnderlyingSystemType
=> this; // Equals(Type) depends on this.
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
165
public override Type
UnderlyingSystemType
=> typeImpl.UnderlyingSystemType;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
33
public override Type
UnderlyingSystemType
=> this;
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
262
public override Type
UnderlyingSystemType
=> GetEnumUnderlyingType();
src\System\Reflection\Emit\RuntimeGenericTypeParameterBuilder.cs (1)
176
public override Type
UnderlyingSystemType
=> this;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
957
public override Type
UnderlyingSystemType
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
155
public override Type
UnderlyingSystemType
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
538
public override Type
UnderlyingSystemType
=> this;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
21
public override Type
UnderlyingSystemType
=> this;
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
785
public override Type
UnderlyingSystemType
=> throw new NotImplementedException();
103 references to UnderlyingSystemType
illink (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
183
/// <see cref="System.Type.
UnderlyingSystemType
"/>
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)
108
get { return (TypeImpl)Type.
UnderlyingSystemType
; }
System.ComponentModel.Composition (19)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (1)
17
var underlyingItemType = itemType.
UnderlyingSystemType
;
Microsoft\Internal\Collections\CollectionServices.cs (2)
24
Type genericType = type.GetGenericTypeDefinition().
UnderlyingSystemType
;
36
if (type.
UnderlyingSystemType
== StringType || !IEnumerableType.IsAssignableFrom(type))
Microsoft\Internal\ContractServices.cs (1)
29
result = exportedDelegate.CreateDelegate(contractType.
UnderlyingSystemType
);
Microsoft\Internal\ReflectionServices.cs (6)
95
instanceType.
UnderlyingSystemType
.GetGenericTypeDefinition() == targetOpenInterfaceType.
UnderlyingSystemType
)
109
targetInterface.
UnderlyingSystemType
.GetGenericTypeDefinition() == targetOpenInterfaceType.
UnderlyingSystemType
)
135
if (baseType.
UnderlyingSystemType
!= typeof(object))
159
if (baseType.
UnderlyingSystemType
!= typeof(object))
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (2)
389
while (currentType != null && currentType.
UnderlyingSystemType
!= CompositionServices.ObjectType)
461
while (baseType != null && baseType.
UnderlyingSystemType
!= CompositionServices.ObjectType)
System\ComponentModel\Composition\ReflectionModel\ImportType.cs (7)
132
Type genericType = type.GetGenericTypeDefinition().
UnderlyingSystemType
;
171
castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].
UnderlyingSystemType
, null);
180
castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].
UnderlyingSystemType
, arguments[1].
UnderlyingSystemType
);
191
castFunction = new ExportFactoryCreator(genericType).CreateStronglyTypedExportFactoryFactory(arguments[0].
UnderlyingSystemType
, null);
199
castFunction = new ExportFactoryCreator(genericType).CreateStronglyTypedExportFactoryFactory(arguments[0].
UnderlyingSystemType
, arguments[1].
UnderlyingSystemType
);
System.ComponentModel.Composition.Registration (6)
System\ComponentModel\Composition\Registration\ExportBuilder.cs (1)
87
object value = (item.Item2 != null) ? item.Item2(type.
UnderlyingSystemType
) : null;
System\ComponentModel\Composition\Registration\PartBuilder.cs (2)
308
Type underlyingType = iface.
UnderlyingSystemType
;
424
PropertyInfo declaredPi = pi.DeclaringType.
UnderlyingSystemType
.GetProperty(pi.Name, pi.PropertyType);
System\ComponentModel\Composition\Registration\RegistrationBuilder.cs (3)
97
foreach (PartBuilder builder in _conventions.Where(c => c.SelectType(type.
UnderlyingSystemType
)))
127
MemberInfo underlyingMemberType = ((Type)member).
UnderlyingSystemType
;
228
if (!_memberInfos.TryGetValue(member.DeclaringType.
UnderlyingSystemType
, out cachedAttributes))
System.ComponentModel.TypeConverter (2)
System\ComponentModel\AttributeCollection.cs (1)
269
ConstructorInfo? ci = reflect.
UnderlyingSystemType
.GetConstructor(Type.EmptyTypes);
System\ComponentModel\TypeDescriptionProvider.cs (1)
241
return reflectionType.
UnderlyingSystemType
;
System.Private.CoreLib (47)
src\libraries\System.Private.CoreLib\src\System\Activator.RuntimeType.cs (2)
36
if (type.
UnderlyingSystemType
is not RuntimeType rt)
97
if (type.
UnderlyingSystemType
is not RuntimeType rt)
src\libraries\System.Private.CoreLib\src\System\Array.cs (5)
79
RuntimeType? t = elementType.
UnderlyingSystemType
as RuntimeType;
94
RuntimeType? t = elementType.
UnderlyingSystemType
as RuntimeType;
111
RuntimeType? t = elementType.
UnderlyingSystemType
as RuntimeType;
128
RuntimeType? t = elementType.
UnderlyingSystemType
as RuntimeType;
156
RuntimeType? t = elementType.
UnderlyingSystemType
as RuntimeType;
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (7)
548
realTypes[i] = types[i].
UnderlyingSystemType
;
588
if (type.
UnderlyingSystemType
is not RuntimeType rtType ||
589
!CanChangePrimitive(rtType, pCls.
UnderlyingSystemType
))
675
if (indexes[j].
UnderlyingSystemType
is not RuntimeType rtType ||
676
!CanChangePrimitive(rtType, pCls.
UnderlyingSystemType
))
693
if (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);
269
if (owner?.
UnderlyingSystemType
is RuntimeType rtOwner)
350
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
165
public override Type UnderlyingSystemType => typeImpl.
UnderlyingSystemType
;
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (3)
62
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
195
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
269
if (c.
UnderlyingSystemType
is RuntimeType fromType)
src\libraries\System.Private.CoreLib\src\System\Type.cs (4)
549
Type systemType =
UnderlyingSystemType
;
695
Type systemType =
UnderlyingSystemType
;
700
public virtual bool Equals(Type? o) => o != null && ReferenceEquals(this.
UnderlyingSystemType
, o.
UnderlyingSystemType
);
src\libraries\System.Private.CoreLib\src\System\Type.Helpers.cs (2)
21
Type? underlyingType =
UnderlyingSystemType
;
347
Type toType = this.
UnderlyingSystemType
;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
996
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
1009
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeAssembly.cs (2)
333
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
343
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (2)
138
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
148
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeEventInfo.cs (2)
98
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
108
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeFieldInfo.cs (2)
69
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
79
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (2)
181
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
191
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeModule.cs (3)
36
Type? typeArg = genericArguments[i]?.
UnderlyingSystemType
;
362
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
372
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimeParameterInfo.cs (2)
467
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
483
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\RuntimePropertyInfo.cs (2)
146
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
156
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
157
get { return _typeInfo.
UnderlyingSystemType
; }
System.Reflection.MetadataLoadContext (14)
System\Reflection\DefaultBinder.cs (10)
55
realTypes[i] = types[i].
UnderlyingSystemType
;
95
if (!(IsImplementedByMetadataLoadContext(type.
UnderlyingSystemType
)) ||
96
!CanChangePrimitive(type.
UnderlyingSystemType
, pCls.
UnderlyingSystemType
))
190
if (!(IsImplementedByMetadataLoadContext(indexes[j].
UnderlyingSystemType
)) ||
191
!CanChangePrimitive(indexes[j].
UnderlyingSystemType
, pCls.
UnderlyingSystemType
))
208
if (!(IsImplementedByMetadataLoadContext(returnType.
UnderlyingSystemType
)) ||
209
!CanChangePrimitive(returnType.
UnderlyingSystemType
, candidates[i].PropertyType.
UnderlyingSystemType
))
System\Reflection\TypeLoading\General\Helpers.cs (1)
52
copy[i] = original[i].
UnderlyingSystemType
;
System\Reflection\TypeLoading\Parameters\RoMethodParameter.cs (1)
25
_parameterType = parameterType.
UnderlyingSystemType
;
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
49
public sealed override Type GetFunctionPointerReturnType() => _returnType.
UnderlyingSystemType
;
System\Reflection\TypeLoading\Types\RoType.cs (1)
260
c = c.
UnderlyingSystemType
;
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (4)
122
Debug.Assert(genericArgs[0].
UnderlyingSystemType
== typeof(string));
124
genericArgs[1].
UnderlyingSystemType
== JsonTypeInfo.ObjectType ||
125
genericArgs[1].
UnderlyingSystemType
== typeof(JsonElement) ||
126
genericArgs[1].
UnderlyingSystemType
== typeof(Nodes.JsonNode));
System.Windows.Forms.Design (4)
System\ComponentModel\Design\CollectionEditor.cs (1)
111
if (itemType.
UnderlyingSystemType
== typeof(string))
System\ComponentModel\Design\DesignerHost.cs (1)
1260
Type IReflect.UnderlyingSystemType => typeof(IDesignerHost).
UnderlyingSystemType
;
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
1571
if (rhs is Type rhsType && rhsType.
UnderlyingSystemType
is not null)
1573
rhs = 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)
234
Type type = _xamlType.UnderlyingType.
UnderlyingSystemType
;
308
Type underlyingType = type._xamlType.UnderlyingType.
UnderlyingSystemType
;
System.Xaml.Tests (1)
Common\CustomType.cs (1)
69
public override Type UnderlyingSystemType => UnderlyingSystemTypeResult.Or(typeImpl.
UnderlyingSystemType
);