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