95 references to GetRuntimeTypeInfo
System.Private.CoreLib (95)
Internal\Reflection\Augments\ReflectionAugments.cs (4)
254RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 280RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 310RuntimeTypeInfo runtimeDelegateTypeInfo = runtimeDelegateType.GetRuntimeTypeInfo(); 315RuntimeMethodInfo runtimeMethodInfo = LookupMethodForCreateDelegate(runtimeDelegateTypeInfo, runtimeContainingType.GetRuntimeTypeInfo(), method, isStatic: true, ignoreCase: ignoreCase);
System\Enum.NativeAot.cs (2)
28var runtimeTypeInfo = enumType.GetRuntimeTypeInfo(); 45var runtimeTypeInfo = enumType.GetRuntimeTypeInfo();
System\Reflection\Runtime\General\Helpers.cs (1)
57return runtimeType.GetRuntimeTypeInfo();
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
130genericTypeArguments[i] = typeArgumentAsRuntimeType.GetRuntimeTypeInfo();
System\Reflection\Runtime\TypeInfos\RuntimeFunctionPointerTypeInfo.cs (1)
59return other is RuntimeType runtimeType && runtimeType.GetRuntimeTypeInfo() is IRuntimeMemberInfoWithNoMetadataDefinition;
System\Reflection\Runtime\TypeInfos\RuntimeHasElementTypeInfo.cs (1)
74return other is RuntimeType runtimeType && runtimeType.GetRuntimeTypeInfo() is IRuntimeMemberInfoWithNoMetadataDefinition;
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
446runtimeParameterTypes[i] = rtType.GetRuntimeTypeInfo(); 483runtimeTypeArguments[i] = typeArgumentAsRuntimeType.GetRuntimeTypeInfo();
System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (1)
91RuntimeTypeInfo attributeTypeInfo = attributeType.GetRuntimeTypeInfo();
System\RuntimeType.NativeAot.cs (82)
136return GetRuntimeTypeInfo().GetNullableUnderlyingType(); 234return GetRuntimeTypeInfo().TypeHandle; 245return GetRuntimeTypeInfo().IsInterface; 254return GetRuntimeTypeInfo().IsValueType; 264return GetRuntimeTypeInfo().IsActualValueType; 275return GetRuntimeTypeInfo().IsEnum; 286return GetRuntimeTypeInfo().IsActualEnum; 295return GetRuntimeTypeInfo().IsArray; 303return GetRuntimeTypeInfo().IsByRef; 311return GetRuntimeTypeInfo().IsPointer; 319return GetRuntimeTypeInfo().HasElementType; 327return GetRuntimeTypeInfo().GetElementType(); 335return GetRuntimeTypeInfo().GetArrayRank(); 362return GetRuntimeTypeInfo().BaseType; 384return GetRuntimeTypeInfo().GetInterfaces(); 394return GetRuntimeTypeInfo().IsTypeDefinition; 405return GetRuntimeTypeInfo().IsGenericType; 416return GetRuntimeTypeInfo().IsGenericTypeDefinition; 427return GetRuntimeTypeInfo().IsConstructedGenericType; 440return GetRuntimeTypeInfo().GetGenericTypeDefinition(); 463return GetRuntimeTypeInfo().GenericTypeArguments; 482return GetRuntimeTypeInfo().IsGenericParameter; 492return GetRuntimeTypeInfo().IsGenericTypeParameter; 502return GetRuntimeTypeInfo().IsGenericMethodParameter; 513return GetRuntimeTypeInfo().ContainsGenericParameters; 522return GetRuntimeTypeInfo().IsPrimitive; 532return GetRuntimeTypeInfo().IsSZArray; 543return GetRuntimeTypeInfo().IsVariableBoundArray; 554return GetRuntimeTypeInfo().IsByRefLike; 565return GetRuntimeTypeInfo().IsFunctionPointer; 576return GetRuntimeTypeInfo().IsUnmanagedFunctionPointer; 602return GetRuntimeTypeInfo().GetFunctionPointerParameterTypes(); 616return GetRuntimeTypeInfo().GetFunctionPointerReturnType(); 645return GetRuntimeTypeInfo().IsAssignableFrom(fromRuntimeType); 664return GetRuntimeTypeInfo().ToString(); 682public override MemberTypes MemberType => GetRuntimeTypeInfo().MemberType; 684public override int MetadataToken => GetRuntimeTypeInfo().MetadataToken; 686public override Type? DeclaringType => GetRuntimeTypeInfo().DeclaringType; 689public override MethodBase? DeclaringMethod => GetRuntimeTypeInfo().DeclaringMethod; 691public override StructLayoutAttribute StructLayoutAttribute => GetRuntimeTypeInfo().StructLayoutAttribute; 697protected override TypeAttributes GetAttributeFlagsImpl() => GetRuntimeTypeInfo().Attributes; 700=> GetRuntimeTypeInfo().GenericTypeParameters; 703=> GetRuntimeTypeInfo().GenericParameterPosition; 705=> GetRuntimeTypeInfo().GenericParameterAttributes; 707=> GetRuntimeTypeInfo().GetGenericParameterConstraints(); 720=> GetRuntimeTypeInfo().GetConstructorImpl(bindingAttr, binder, callConvention, types, modifiers); 724=> GetRuntimeTypeInfo().GetConstructors(bindingAttr); 728=> GetRuntimeTypeInfo().GetEvent(name, bindingAttr); 732=> GetRuntimeTypeInfo().GetEvents(bindingAttr); 736=> GetRuntimeTypeInfo().GetField(name, bindingAttr); 740=> GetRuntimeTypeInfo().GetFields(bindingAttr); 744=> GetRuntimeTypeInfo().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers); 748=> GetRuntimeTypeInfo().GetMethodImpl(name, genericParameterCount, bindingAttr, binder, callConvention, types, modifiers); 752=> GetRuntimeTypeInfo().GetMethods(bindingAttr); 756=> GetRuntimeTypeInfo().GetNestedType(name, bindingAttr); 760=> GetRuntimeTypeInfo().GetNestedTypes(bindingAttr); 764=> GetRuntimeTypeInfo().GetPropertyImpl(name, bindingAttr, binder, returnType, types, modifiers); 768=> GetRuntimeTypeInfo().GetProperties(bindingAttr); 772=> GetRuntimeTypeInfo().GetMember(name, bindingAttr); 776=> GetRuntimeTypeInfo().GetMember(name, type, bindingAttr); 780=> GetRuntimeTypeInfo().GetMembers(bindingAttr); 783=> GetRuntimeTypeInfo().GetMemberWithSameMetadataDefinitionAs(member); 787=> GetRuntimeTypeInfo().InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters); 792=> GetRuntimeTypeInfo().GetInterface(name, ignoreCase); 795=> GetRuntimeTypeInfo().GetInterfaceMap(interfaceType); 805=> GetRuntimeTypeInfo().GetDefaultMembers(); 837internal MetadataReader? GetMetadataReader() => GetRuntimeTypeInfo().GetMetadataReader(); 839internal CustomAttributeHandleCollection GetCustomAttributeHandles() => GetRuntimeTypeInfo().GetCustomAttributeHandles(); 845return GetRuntimeTypeInfo().Name; 853return GetRuntimeTypeInfo().Namespace; 857public override string? AssemblyQualifiedName => GetRuntimeTypeInfo().AssemblyQualifiedName; 859public override string? FullName => GetRuntimeTypeInfo().FullName; 865return GetRuntimeTypeInfo().Assembly; 869public override Module Module => GetRuntimeTypeInfo().Module; 871public override Guid GUID => GetRuntimeTypeInfo().GUID; 873public override bool HasSameMetadataDefinitionAs(MemberInfo other) => GetRuntimeTypeInfo().HasSameMetadataDefinitionAs(other); 876=> GetRuntimeTypeInfo().MakePointerType(); 879=> GetRuntimeTypeInfo().MakeByRefType(); 883=> GetRuntimeTypeInfo().MakeArrayType(); 887=> GetRuntimeTypeInfo().MakeArrayType(rank); 890=> GetRuntimeTypeInfo().MakeFunctionPointerType(parameterTypes, isUnmanaged); 895=> GetRuntimeTypeInfo().MakeGenericType(instantiation);