27 references to ReflectionAugments
System.Private.CoreLib (27)
Internal\Reflection\Extensions\NonPortable\CustomAttributeInheritanceRules.cs (3)
174return ReflectionAugments.GetImplicitlyOverriddenBaseClassMethod(e); 192return ReflectionAugments.GetImplicitlyOverriddenBaseClassProperty(e); 211return ReflectionAugments.GetImplicitlyOverriddenBaseClassEvent(e);
Internal\Runtime\CompilerHelpers\InteropHelpers.cs (1)
302Assembly callingAssembly = ReflectionAugments.GetAssemblyForHandle(new RuntimeTypeHandle(pCell->CallingAssemblyType));
Internal\Runtime\CompilerHelpers\ReflectionHelpers.cs (1)
33return ReflectionAugments.GetAssemblyForHandle(typeHandle);
System\Activator.NativeAot.cs (2)
112=> ReflectionAugments.ActivatorCreateInstance(type, nonPublic); 117=> ReflectionAugments.ActivatorCreateInstance(type, bindingAttr, binder, args, culture, activationAttributes);
System\Delegate.cs (7)
248DynamicInvokeInfo dynamicInvokeInfo = ReflectionAugments.GetDelegateDynamicInvokeInfo(GetType()); 274return ReflectionAugments.GetDelegateMethod(this); 298MethodInfo mi = ReflectionAugments.GetDelegateMethod(this); 362public static Delegate CreateDelegate(Type type, object? firstArgument, MethodInfo method, bool throwOnBindFailure) => ReflectionAugments.CreateDelegate(type, firstArgument, method, throwOnBindFailure); 365public static Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure) => ReflectionAugments.CreateDelegate(type, method, throwOnBindFailure); 369public static Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure) => ReflectionAugments.CreateDelegate(type, target, method, ignoreCase, throwOnBindFailure); 372public static Delegate CreateDelegate(Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.AllMethods)] Type target, string method, bool ignoreCase, bool throwOnBindFailure) => ReflectionAugments.CreateDelegate(type, target, method, ignoreCase, throwOnBindFailure);
System\Diagnostics\StackFrame.NativeAot.cs (1)
86_method = ReflectionAugments.GetMethodBaseFromStartAddressIfAvailable(methodStartAddress);
System\Enum.NativeAot.cs (1)
51return (EnumInfo<TStorage>)ReflectionAugments.GetEnumInfo(enumType,
System\Reflection\Assembly.NativeAot.cs (1)
27public static Assembly Load(AssemblyName assemblyRef) => ReflectionAugments.Load(assemblyRef, throwOnFileNotFound: true);
System\Reflection\FieldInfo.NativeAot.cs (2)
10public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle) => ReflectionAugments.GetFieldFromHandle(handle); 11public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType) => ReflectionAugments.GetFieldFromHandle(handle, declaringType);
System\Reflection\MethodBase.NativeAot.cs (2)
12public static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle) => ReflectionAugments.GetMethodFromHandle(handle); 13public static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle, RuntimeTypeHandle declaringType) => ReflectionAugments.GetMethodFromHandle(handle, declaringType);
System\Reflection\RuntimeAssembly.cs (1)
24Assembly? retAssembly = ReflectionAugments.Load(an, throwOnFileNotFound);
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (1)
37ReflectionAugments.RunClassConstructor(type);
System\Runtime\Loader\AssemblyLoadContext.NativeAot.cs (1)
14internal static Assembly[] GetLoadedAssemblies() => ReflectionAugments.GetLoadedAssemblies();
System\RuntimeMethodHandle.cs (1)
103return ReflectionAugments.GetFunctionPointer(this, ToMethodHandleInfo()->DeclaringType);
System\RuntimeType.NativeAot.cs (1)
686protected override TypeCode GetTypeCodeImpl() => ReflectionAugments.GetRuntimeTypeCode(this);
System\TypedReference.cs (1)
33ReflectionAugments.MakeTypedReference(target, flds, out type, out offset);