MCPcopy Create free account
hub / github.com/Tencent/xLua / IsGenericTypeDefinition

Method IsGenericTypeDefinition

Assets/XLua/Src/TypeExtensions.cs:91–98  ·  view source on GitHub ↗
(this Type type)

Source from the content-addressed store, hash-verified

89 }
90
91 public static bool IsGenericTypeDefinition(this Type type)
92 {
93#if !UNITY_WSA || UNITY_EDITOR
94 return type.IsGenericTypeDefinition;
95#else
96 return type.GetTypeInfo().IsGenericTypeDefinition;
97#endif
98 }
99
100#if UNITY_WSA && !UNITY_EDITOR
101 public static bool IsSubclassOf(this Type type, Type c)

Callers 4

TryDelayWrapLoaderMethod · 0.80
GetAllTypesMethod · 0.80
MakePrivateAccessibleMethod · 0.80
ImportGenericTypeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected