85 [
RequiresUnreferencedCode(
"MakeGenericType cannot be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.")]
106 return left.
Equals(right);
111 return right.
Equals(left);
116 return !left.
Equals(right);
121 return !right.
Equals(left);
221 for (
int i = 0; i <
inHandles.Length; i++)
237 for (
int i = 0; i <
inHandles.Length; i++)
274 void*
ptr =
default(
void*);
467 if (
string.IsNullOrEmpty(name))
488 if (
string.IsNullOrEmpty(name))
static void KeepAlive(object? obj)
override int GetHashCode()
static int ReadInt32(object ptr, int ofs)
static ? AssemblyLoadContext CurrentContextualReflectionContext
static string Arg_TypeLoadNullStr
static string Arg_InvalidHandle
static string Arg_NotGenericParameter
virtual Type MakeGenericType(params Type[] typeArguments)
DynamicallyAccessedMemberTypes
static readonly IntPtr Zero
IntroducedMethodEnumerator(RuntimeType type)
RuntimeMethodHandleInternal _handle
RuntimeMethodHandleInternal Current
IntroducedMethodEnumerator GetEnumerator()
static bool IsPrimitive(RuntimeType type)
static IntPtr[] CopyRuntimeTypeHandles(Type[] inHandles, out int length)
static void VerifyInterfaceIsImplemented(QCallTypeHandle handle, QCallTypeHandle interfaceHandle)
static void GetConstraints(QCallTypeHandle handle, ObjectHandleOnStack types)
static IntPtr GetGCHandle(QCallTypeHandle handle, GCHandleType type)
Type[] GetInstantiationPublic()
static unsafe Type GetTypeHelper(Type typeStart, Type[] genericArgs, IntPtr pModifiers, int cModifiers)
static void MakePointer(QCallTypeHandle handle, ObjectHandleOnStack type)
static bool IsValueType(RuntimeType type)
static IntPtr[] CopyRuntimeTypeHandles(RuntimeTypeHandle[] inHandles, out int length)
static RuntimeType GetDeclaringType(RuntimeType type)
static bool IsComObject(RuntimeType type, bool isGenericCOM)
static bool IsPointer(RuntimeType type)
static TypeAttributes GetAttributes(RuntimeType type)
static unsafe bool GetFields(RuntimeType type, IntPtr *result, int *count)
RuntimeType MakePointer()
static void GetTypeByName(string name, bool throwOnError, bool ignoreCase, StackCrawlMarkHandle stackMark, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
static IntroducedMethodEnumerator GetIntroducedMethods(RuntimeType type)
void GetObjectData(SerializationInfo info, StreamingContext context)
static bool IsByRefLike(RuntimeType type)
static IntPtr FreeGCHandle(QCallTypeHandle typeHandle, IntPtr objHandle)
static void MakeSZArray(QCallTypeHandle handle, ObjectHandleOnStack type)
static void GetGenericTypeDefinition(QCallTypeHandle type, ObjectHandleOnStack retType)
static MetadataImport GetMetadataImport(RuntimeType type)
static bool IsInterface(RuntimeType type)
static bool CanCastTo(RuntimeType type, RuntimeType target)
static bool operator!=(RuntimeTypeHandle left, object? right)
static RuntimeMethodHandleInternal GetFirstIntroducedMethod(RuntimeType type)
override int GetHashCode()
static RuntimeModule GetModule(RuntimeType type)
static bool ContainsGenericVariables(RuntimeType handle)
string ConstructName(TypeNameFormatFlags formatFlags)
static void MakeByRef(QCallTypeHandle handle, ObjectHandleOnStack type)
static unsafe bool SatisfiesConstraints(RuntimeType paramType, RuntimeType[] typeContext, RuntimeType[] methodContext, RuntimeType toType)
static Type[] GetInterfaces(RuntimeType type)
static unsafe MdUtf8String GetUtf8Name(RuntimeType type)
unsafe RuntimeType Instantiate(RuntimeType inst)
RuntimeTypeHandle(RuntimeType type)
static int GetToken(RuntimeType type)
static unsafe object CreateInstanceForAnotherGenericParameter([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] RuntimeType type, RuntimeType genericParameter)
ModuleHandle GetModuleHandle()
static bool HasInstantiation(RuntimeType type)
static bool IsByRef(RuntimeType type)
IntPtr GetGCHandle(GCHandleType type)
override bool Equals(object? obj)
static RuntimeMethodHandleInternal GetInterfaceMethodImplementation(QCallTypeHandle handle, QCallTypeHandle interfaceHandle, RuntimeMethodHandleInternal interfaceMethodHandle)
static bool IsVisible(RuntimeType type)
static bool IsGenericTypeDefinition(RuntimeType type)
static bool IsSZArray(RuntimeType type)
static int GetNumVirtualsAndStaticVirtuals(RuntimeType type)
static RuntimeType GetTypeByName(string name, bool throwOnError, bool ignoreCase, ref StackCrawlMark stackMark)
static RuntimeType GetGenericTypeDefinition(RuntimeType type)
static RuntimeAssembly GetAssembly(RuntimeType type)
RuntimeType[] GetInstantiationInternal()
static RuntimeType GetElementType(RuntimeType type)
static RuntimeType GetTypeByName(string name, bool throwOnError, bool ignoreCase, ref StackCrawlMark stackMark, AssemblyLoadContext assemblyLoadContext)
static unsafe void GetActivationInfo(RuntimeType rt, out delegate *< void *, object > pfnAllocator, out void *vAllocatorFirstArg, out delegate *< object, void > pfnCtor, out bool ctorIsPublic)
static void GetNextIntroducedMethod(ref RuntimeMethodHandleInternal method)
static void MakeArray(QCallTypeHandle handle, int rank, ObjectHandleOnStack type)
bool ContainsGenericVariables()
static Interop.BOOL IsCollectible(QCallTypeHandle handle)
static bool IsGenericVariable(RuntimeType type)
static RuntimeMethodHandleInternal GetMethodAt(RuntimeType type, int slot)
static IntPtr GetValueInternal(RuntimeTypeHandle handle)
static void GetInstantiation(QCallTypeHandle type, ObjectHandleOnStack types, Interop.BOOL fAsRuntimeTypeArray)
RuntimeType GetTypeChecked()
RuntimeType MakeArray(int rank)
static void ConstructName(QCallTypeHandle handle, TypeNameFormatFlags formatFlags, StringHandleOnStack retString)
unsafe RuntimeType Instantiate(Type[] inst)
IntPtr FreeGCHandle(IntPtr objHandle)
RuntimeType MakeSZArray()
static bool IsEquivalentTo(RuntimeType rtType1, RuntimeType rtType2)
static unsafe void Instantiate(QCallTypeHandle handle, IntPtr *pInst, int numGenericArgs, ObjectHandleOnStack type)
static bool HasElementType(RuntimeType type)
static unsafe object AllocateComObject(void *pClassFactory)
static int GetGenericVariableIndex(RuntimeType type)
static bool IsArray(RuntimeType type)
static unsafe bool SatisfiesConstraints(RuntimeType paramType, IntPtr *pTypeContext, int typeContextLength, IntPtr *pMethodContext, int methodContextLength, RuntimeType toType)
RuntimeTypeHandle GetNativeHandle()
static CorElementType GetCorElementType(RuntimeType type)
RuntimeType GetRuntimeType()
static unsafe object CreateInstanceForAnotherGenericParameter([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] RuntimeType type, RuntimeType genericParameter1, RuntimeType genericParameter2)
static bool operator==(RuntimeTypeHandle left, object? right)
static unsafe void CreateInstanceForAnotherGenericParameter(QCallTypeHandle baseType, IntPtr *pTypeHandles, int cTypeHandles, ObjectHandleOnStack instantiatedObject)
static bool CompareCanonicalHandles(RuntimeType left, RuntimeType right)
int GetGenericVariableIndex()
RuntimeMethodHandleInternal GetInterfaceMethodImplementation(RuntimeTypeHandle interfaceHandle, RuntimeMethodHandleInternal interfaceMethodHandle)
static void GetTypeByNameUsingCARules(string name, QCallModule scope, ObjectHandleOnStack type)
static bool _IsVisible(QCallTypeHandle typeHandle)
static unsafe void * _GetUtf8Name(RuntimeType type)
static unsafe void GetActivationInfo(ObjectHandleOnStack pRuntimeType, delegate *< void *, object > *ppfnAllocator, void **pvAllocatorFirstArg, delegate *< object, void > *ppfnCtor, Interop.BOOL *pfCtorIsPublic)
static IntPtr _GetMetadataImport(RuntimeType type)
static IRuntimeMethodInfo GetDeclaringMethod(RuntimeType type)
bool Equals(RuntimeTypeHandle handle)
void VerifyInterfaceIsImplemented(RuntimeTypeHandle interfaceHandle)
static RuntimeType GetBaseType(RuntimeType type)
static bool IsInstanceOfType(RuntimeType type, [NotNullWhen(true)] object o)
static int GetNumVirtuals(RuntimeType type)
static int GetArrayRank(RuntimeType type)
static RuntimeType GetTypeByNameUsingCARules(string name, RuntimeModule scope)
static bool IsTypeDefinition(RuntimeType type)