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)
131genericTypeArguments[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)
54RuntimeTypeInfo attributeTypeInfo = attributeType.GetRuntimeTypeInfo();
System\RuntimeType.NativeAot.cs (82)
136return GetRuntimeTypeInfo().GetNullableUnderlyingType(); 226return GetRuntimeTypeInfo().TypeHandle; 237return GetRuntimeTypeInfo().IsInterface; 246return GetRuntimeTypeInfo().IsValueType; 256return GetRuntimeTypeInfo().IsActualValueType; 267return GetRuntimeTypeInfo().IsEnum; 278return GetRuntimeTypeInfo().IsActualEnum; 287return GetRuntimeTypeInfo().IsArray; 295return GetRuntimeTypeInfo().IsByRef; 303return GetRuntimeTypeInfo().IsPointer; 311return GetRuntimeTypeInfo().HasElementType; 319return GetRuntimeTypeInfo().GetElementType(); 327return GetRuntimeTypeInfo().GetArrayRank(); 354return GetRuntimeTypeInfo().BaseType; 376return GetRuntimeTypeInfo().GetInterfaces(); 386return GetRuntimeTypeInfo().IsTypeDefinition; 397return GetRuntimeTypeInfo().IsGenericType; 408return GetRuntimeTypeInfo().IsGenericTypeDefinition; 419return GetRuntimeTypeInfo().IsConstructedGenericType; 432return GetRuntimeTypeInfo().GetGenericTypeDefinition(); 455return GetRuntimeTypeInfo().GenericTypeArguments; 474return GetRuntimeTypeInfo().IsGenericParameter; 484return GetRuntimeTypeInfo().IsGenericTypeParameter; 494return GetRuntimeTypeInfo().IsGenericMethodParameter; 505return GetRuntimeTypeInfo().ContainsGenericParameters; 514return GetRuntimeTypeInfo().IsPrimitive; 524return GetRuntimeTypeInfo().IsSZArray; 535return GetRuntimeTypeInfo().IsVariableBoundArray; 546return GetRuntimeTypeInfo().IsByRefLike; 557return GetRuntimeTypeInfo().IsFunctionPointer; 568return GetRuntimeTypeInfo().IsUnmanagedFunctionPointer; 594return GetRuntimeTypeInfo().GetFunctionPointerParameterTypes(); 608return GetRuntimeTypeInfo().GetFunctionPointerReturnType(); 637return GetRuntimeTypeInfo().IsAssignableFrom(fromRuntimeType); 656return GetRuntimeTypeInfo().ToString(); 674public override MemberTypes MemberType => GetRuntimeTypeInfo().MemberType; 676public override int MetadataToken => GetRuntimeTypeInfo().MetadataToken; 678public override Type? DeclaringType => GetRuntimeTypeInfo().DeclaringType; 681public override MethodBase? DeclaringMethod => GetRuntimeTypeInfo().DeclaringMethod; 683public override StructLayoutAttribute StructLayoutAttribute => GetRuntimeTypeInfo().StructLayoutAttribute; 689protected override TypeAttributes GetAttributeFlagsImpl() => GetRuntimeTypeInfo().Attributes; 692=> GetRuntimeTypeInfo().GenericTypeParameters; 695=> GetRuntimeTypeInfo().GenericParameterPosition; 697=> GetRuntimeTypeInfo().GenericParameterAttributes; 699=> GetRuntimeTypeInfo().GetGenericParameterConstraints(); 712=> GetRuntimeTypeInfo().GetConstructorImpl(bindingAttr, binder, callConvention, types, modifiers); 716=> GetRuntimeTypeInfo().GetConstructors(bindingAttr); 720=> GetRuntimeTypeInfo().GetEvent(name, bindingAttr); 724=> GetRuntimeTypeInfo().GetEvents(bindingAttr); 728=> GetRuntimeTypeInfo().GetField(name, bindingAttr); 732=> GetRuntimeTypeInfo().GetFields(bindingAttr); 736=> GetRuntimeTypeInfo().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers); 740=> GetRuntimeTypeInfo().GetMethodImpl(name, genericParameterCount, bindingAttr, binder, callConvention, types, modifiers); 744=> GetRuntimeTypeInfo().GetMethods(bindingAttr); 748=> GetRuntimeTypeInfo().GetNestedType(name, bindingAttr); 752=> GetRuntimeTypeInfo().GetNestedTypes(bindingAttr); 756=> GetRuntimeTypeInfo().GetPropertyImpl(name, bindingAttr, binder, returnType, types, modifiers); 760=> GetRuntimeTypeInfo().GetProperties(bindingAttr); 764=> GetRuntimeTypeInfo().GetMember(name, bindingAttr); 768=> GetRuntimeTypeInfo().GetMember(name, type, bindingAttr); 772=> GetRuntimeTypeInfo().GetMembers(bindingAttr); 775=> GetRuntimeTypeInfo().GetMemberWithSameMetadataDefinitionAs(member); 779=> GetRuntimeTypeInfo().InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters); 784=> GetRuntimeTypeInfo().GetInterface(name, ignoreCase); 787=> GetRuntimeTypeInfo().GetInterfaceMap(interfaceType); 797=> GetRuntimeTypeInfo().GetDefaultMembers(); 829internal MetadataReader? GetMetadataReader() => GetRuntimeTypeInfo().GetMetadataReader(); 831internal CustomAttributeHandleCollection GetCustomAttributeHandles() => GetRuntimeTypeInfo().GetCustomAttributeHandles(); 837return GetRuntimeTypeInfo().Name; 845return GetRuntimeTypeInfo().Namespace; 849public override string? AssemblyQualifiedName => GetRuntimeTypeInfo().AssemblyQualifiedName; 851public override string? FullName => GetRuntimeTypeInfo().FullName; 857return GetRuntimeTypeInfo().Assembly; 861public override Module Module => GetRuntimeTypeInfo().Module; 863public override Guid GUID => GetRuntimeTypeInfo().GUID; 865public override bool HasSameMetadataDefinitionAs(MemberInfo other) => GetRuntimeTypeInfo().HasSameMetadataDefinitionAs(other); 868=> GetRuntimeTypeInfo().MakePointerType(); 871=> GetRuntimeTypeInfo().MakeByRefType(); 875=> GetRuntimeTypeInfo().MakeArrayType(); 879=> GetRuntimeTypeInfo().MakeArrayType(rank); 882=> GetRuntimeTypeInfo().MakeFunctionPointerType(parameterTypes, isUnmanaged); 887=> GetRuntimeTypeInfo().MakeGenericType(instantiation);