1 write to _genericTypeDefinition
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (1)
26
_genericTypeDefinition
= genericTypeDefinition;
24 references to _genericTypeDefinition
System.Reflection.MetadataLoadContext (24)
System\Reflection\TypeLoading\Types\RoConstructedGenericType.cs (24)
61
internal sealed override RoModule GetRoModule() =>
_genericTypeDefinition
.GetRoModule();
63
protected sealed override string ComputeName() =>
_genericTypeDefinition
.Name;
64
protected sealed override string? ComputeNamespace() =>
_genericTypeDefinition
.Namespace;
72
fullName.Append(
_genericTypeDefinition
.FullName);
91
sb.Append(
_genericTypeDefinition
.ToString());
104
protected sealed override RoType? ComputeDeclaringType() =>
_genericTypeDefinition
.GetRoDeclaringType();
106
internal sealed override RoType? ComputeBaseTypeWithoutDesktopQuirk() =>
_genericTypeDefinition
.SpecializeBaseType(Instantiation);
107
internal sealed override IEnumerable<RoType> ComputeDirectlyImplementedInterfaces() =>
_genericTypeDefinition
.SpecializeInterfaces(Instantiation);
109
public sealed override IEnumerable<CustomAttributeData> CustomAttributes =>
_genericTypeDefinition
.CustomAttributes;
110
internal sealed override bool IsCustomAttributeDefined(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) =>
_genericTypeDefinition
.IsCustomAttributeDefined(ns, name);
111
internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) =>
_genericTypeDefinition
.TryFindCustomAttribute(ns, name);
113
protected sealed override TypeAttributes ComputeAttributeFlags() =>
_genericTypeDefinition
.Attributes;
114
protected sealed override TypeCode GetTypeCodeImpl() => Type.GetTypeCode(
_genericTypeDefinition
);
116
public sealed override int MetadataToken =>
_genericTypeDefinition
.MetadataToken;
120
public sealed override Type GetGenericTypeDefinition() =>
_genericTypeDefinition
;
128
public sealed override Guid GUID =>
_genericTypeDefinition
.GUID;
129
public sealed override StructLayoutAttribute? StructLayoutAttribute =>
_genericTypeDefinition
.StructLayoutAttribute;
130
protected internal sealed override RoType ComputeEnumUnderlyingType() =>
_genericTypeDefinition
.ComputeEnumUnderlyingType(); // Easy to forget that generic enums do exist!
139
internal sealed override IEnumerable<ConstructorInfo> GetConstructorsCore(NameFilter? filter) =>
_genericTypeDefinition
.SpecializeConstructors(filter, this);
140
internal sealed override IEnumerable<MethodInfo> GetMethodsCore(NameFilter? filter, Type reflectedType) =>
_genericTypeDefinition
.SpecializeMethods(filter, reflectedType, this);
141
internal sealed override IEnumerable<EventInfo> GetEventsCore(NameFilter? filter, Type reflectedType) =>
_genericTypeDefinition
.SpecializeEvents(filter, reflectedType, this);
142
internal sealed override IEnumerable<FieldInfo> GetFieldsCore(NameFilter? filter, Type reflectedType) =>
_genericTypeDefinition
.SpecializeFields(filter, reflectedType, this);
143
internal sealed override IEnumerable<PropertyInfo> GetPropertiesCore(NameFilter? filter, Type reflectedType) =>
_genericTypeDefinition
.SpecializeProperties(filter, reflectedType, this);
144
internal sealed override IEnumerable<RoType> GetNestedTypesCore(NameFilter? filter) =>
_genericTypeDefinition
.GetNestedTypesCore(filter);