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)
92RuntimeTypeInfo 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(); 433return GetRuntimeTypeInfo().IsTypeDefinition; 444return GetRuntimeTypeInfo().IsGenericType; 455return GetRuntimeTypeInfo().IsGenericTypeDefinition; 466return GetRuntimeTypeInfo().IsConstructedGenericType; 479return GetRuntimeTypeInfo().GetGenericTypeDefinition(); 502return GetRuntimeTypeInfo().GenericTypeArguments; 521return GetRuntimeTypeInfo().IsGenericParameter; 531return GetRuntimeTypeInfo().IsGenericTypeParameter; 541return GetRuntimeTypeInfo().IsGenericMethodParameter; 552return GetRuntimeTypeInfo().ContainsGenericParameters; 561return GetRuntimeTypeInfo().IsPrimitive; 571return GetRuntimeTypeInfo().IsSZArray; 582return GetRuntimeTypeInfo().IsVariableBoundArray; 593return GetRuntimeTypeInfo().IsByRefLike; 604return GetRuntimeTypeInfo().IsFunctionPointer; 615return GetRuntimeTypeInfo().IsUnmanagedFunctionPointer; 641return GetRuntimeTypeInfo().GetFunctionPointerParameterTypes(); 655return GetRuntimeTypeInfo().GetFunctionPointerReturnType(); 684return GetRuntimeTypeInfo().IsAssignableFrom(fromRuntimeType); 703return GetRuntimeTypeInfo().ToString(); 721public override MemberTypes MemberType => GetRuntimeTypeInfo().MemberType; 723public override int MetadataToken => GetRuntimeTypeInfo().MetadataToken; 725public override Type? DeclaringType => GetRuntimeTypeInfo().DeclaringType; 728public override MethodBase? DeclaringMethod => GetRuntimeTypeInfo().DeclaringMethod; 730public override StructLayoutAttribute StructLayoutAttribute => GetRuntimeTypeInfo().StructLayoutAttribute; 736protected override TypeAttributes GetAttributeFlagsImpl() => GetRuntimeTypeInfo().Attributes; 739=> GetRuntimeTypeInfo().GenericTypeParameters; 742=> GetRuntimeTypeInfo().GenericParameterPosition; 744=> GetRuntimeTypeInfo().GenericParameterAttributes; 746=> GetRuntimeTypeInfo().GetGenericParameterConstraints(); 759=> GetRuntimeTypeInfo().GetConstructorImpl(bindingAttr, binder, callConvention, types, modifiers); 763=> GetRuntimeTypeInfo().GetConstructors(bindingAttr); 767=> GetRuntimeTypeInfo().GetEvent(name, bindingAttr); 771=> GetRuntimeTypeInfo().GetEvents(bindingAttr); 775=> GetRuntimeTypeInfo().GetField(name, bindingAttr); 779=> GetRuntimeTypeInfo().GetFields(bindingAttr); 783=> GetRuntimeTypeInfo().GetMethodImpl(name, RuntimeTypeInfo.GenericParameterCountAny, bindingAttr, binder, callConvention, types, modifiers); 787=> GetRuntimeTypeInfo().GetMethodImpl(name, genericParameterCount, bindingAttr, binder, callConvention, types, modifiers); 791=> GetRuntimeTypeInfo().GetMethods(bindingAttr); 795=> GetRuntimeTypeInfo().GetNestedType(name, bindingAttr); 799=> GetRuntimeTypeInfo().GetNestedTypes(bindingAttr); 803=> GetRuntimeTypeInfo().GetPropertyImpl(name, bindingAttr, binder, returnType, types, modifiers); 807=> GetRuntimeTypeInfo().GetProperties(bindingAttr); 811=> GetRuntimeTypeInfo().GetMember(name, bindingAttr); 815=> GetRuntimeTypeInfo().GetMember(name, type, bindingAttr); 819=> GetRuntimeTypeInfo().GetMembers(bindingAttr); 822=> GetRuntimeTypeInfo().GetMemberWithSameMetadataDefinitionAs(member); 826=> GetRuntimeTypeInfo().InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters); 831=> GetRuntimeTypeInfo().GetInterface(name, ignoreCase); 834=> GetRuntimeTypeInfo().GetInterfaceMap(interfaceType); 844=> GetRuntimeTypeInfo().GetDefaultMembers(); 876internal MetadataReader? GetMetadataReader() => GetRuntimeTypeInfo().GetMetadataReader(); 878internal CustomAttributeHandleCollection GetCustomAttributeHandles() => GetRuntimeTypeInfo().GetCustomAttributeHandles(); 884return GetRuntimeTypeInfo().Name; 892return GetRuntimeTypeInfo().Namespace; 896public override string? AssemblyQualifiedName => GetRuntimeTypeInfo().AssemblyQualifiedName; 898public override string? FullName => GetRuntimeTypeInfo().FullName; 904return GetRuntimeTypeInfo().Assembly; 908public override Module Module => GetRuntimeTypeInfo().Module; 910public override Guid GUID => GetRuntimeTypeInfo().GUID; 912public override bool HasSameMetadataDefinitionAs(MemberInfo other) => GetRuntimeTypeInfo().HasSameMetadataDefinitionAs(other); 915=> GetRuntimeTypeInfo().MakePointerType(); 918=> GetRuntimeTypeInfo().MakeByRefType(); 922=> GetRuntimeTypeInfo().MakeArrayType(); 926=> GetRuntimeTypeInfo().MakeArrayType(rank); 929=> GetRuntimeTypeInfo().MakeFunctionPointerType(parameterTypes, isUnmanaged); 934=> GetRuntimeTypeInfo().MakeGenericType(instantiation);