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)
229
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)
72
public 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)
951
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();
112 references to UnderlyingSystemType
illink (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
185
/// <see cref="System.Type.
UnderlyingSystemType
"/>
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)
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)
124
Type genericType = type.GetGenericTypeDefinition().
UnderlyingSystemType
;
163
castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].
UnderlyingSystemType
, null);
172
castFunction = ExportServices.CreateStronglyTypedLazyFactory(arguments[0].
UnderlyingSystemType
, arguments[1].
UnderlyingSystemType
);
183
castFunction = new ExportFactoryCreator(genericType).CreateStronglyTypedExportFactoryFactory(arguments[0].
UnderlyingSystemType
, null);
191
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 (50)
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)
550
realTypes[i] = types[i].
UnderlyingSystemType
;
590
if (type.
UnderlyingSystemType
is not RuntimeType rtType ||
591
!CanChangePrimitive(rtType, pCls.
UnderlyingSystemType
))
677
if (indexes[j].
UnderlyingSystemType
is not RuntimeType rtType ||
678
!CanChangePrimitive(rtType, pCls.
UnderlyingSystemType
))
695
if (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);
269
if (owner?.
UnderlyingSystemType
is RuntimeType rtOwner)
350
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureModifiedType.cs (1)
16
baseType = baseType.
UnderlyingSystemType
;
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)
214
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
288
if (c.
UnderlyingSystemType
is RuntimeType fromType)
src\libraries\System.Private.CoreLib\src\System\Type.cs (4)
549
Type systemType =
UnderlyingSystemType
;
842
Type systemType =
UnderlyingSystemType
;
847
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
;
375
Type toType = this.
UnderlyingSystemType
;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
990
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
1003
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
src\System\Reflection\Emit\SignatureHelper.cs (2)
120
retType = retType.
UnderlyingSystemType
;
126
paramTypes[i] = paramTypes[i].
UnderlyingSystemType
;
src\System\Reflection\RuntimeAssembly.cs (2)
325
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
335
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)
183
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
193
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)
463
if (attributeType.
UnderlyingSystemType
is not RuntimeType attributeRuntimeType)
479
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.Emit (6)
System\Reflection\Emit\ILGeneratorImpl.cs (2)
648
if (methodInfo.ReturnType.
UnderlyingSystemType
!= voidType)
745
if (returnType?.
UnderlyingSystemType
!= voidType)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
694
type = type.
UnderlyingSystemType
;
System\Reflection\Emit\SignatureHelper.cs (3)
263
returnTypeToWrite = returnTypeToWrite.
UnderlyingSystemType
;
278
paramTypeToWrite = paramTypeToWrite.
UnderlyingSystemType
;
291
type = type.
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)
48
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)
256
c = c.
UnderlyingSystemType
;
System.Text.Json (4)
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (4)
130
Debug.Assert(genericArgs[0].
UnderlyingSystemType
== typeof(string));
132
genericArgs[1].
UnderlyingSystemType
== JsonTypeInfo.ObjectType ||
133
genericArgs[1].
UnderlyingSystemType
== typeof(JsonElement) ||
134
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)
1253
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
);