Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsKeyValuePair()

static bool System.Text.Json.Reflection.ReflectionExtensions.IsKeyValuePair ( this Type type,
Type keyValuePairType = null )
inlinestatic

Definition at line 177 of file ReflectionExtensions.cs.

178 {
179 if (!type.IsGenericType)
180 {
181 return false;
182 }
183 if ((object)keyValuePairType == null)
184 {
186 }
187 Type genericTypeDefinition = type.GetGenericTypeDefinition();
189 }

References System.Text.Json.Dictionary, and System.type.